Summary: | [915GM bisected] Two black flickers when probing inputs with drm-intel-fixes | ||
---|---|---|---|
Product: | DRI | Reporter: | Sitsofe Wheeler <sitsofe> |
Component: | DRM/Intel | Assignee: | Chris Wilson <chris> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | jbarnes |
Version: | XOrg git | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Description
Sitsofe Wheeler
2011-04-02 03:22:03 UTC
Created attachment 45155 [details]
git bisection log
Let's compare the output of intel_reg_dumper with 9db4a9c7b2a3bd5b4952846bc0c2f58daa80ddd7^ and drm-intel-fixes. --- intel_reg_dumper.9db-reverted 2011-04-02 12:12:02.359380868 +0100 +++ intel_reg_dumper.7f5-dirty 2011-04-02 12:29:00.771442065 +0100 @@ -42,7 +42,7 @@ PP_ON_DELAYS: 0x025807d0 PP_OFF_DELAYS: 0x01f407d0 PP_DIVISOR: 0x00251b05 - PFIT_CONTROL: 0x00000000 + PFIT_CONTROL: 0x00000008 PFIT_PGM_RATIOS: 0x00000000 PORT_HOTPLUG_EN: 0x00000000 PORT_HOTPLUG_STAT: 0x00000000 @@ -55,7 +55,7 @@ DSPATILEOFF: 0x00000000 PIPEACONF: 0x80000000 (enabled, single-wide) PIPEASRC: 0x04ff03ff (1280, 1024) - PIPEASTAT: 0x84040203 (status: FIFO_UNDERRUN SVBLANK_INT_ENABLE VSYNC_INT_STATUS VBLANK_INT_STATUS OREG_UPDATE_STATUS) + PIPEASTAT: 0x80000203 (status: FIFO_UNDERRUN VSYNC_INT_STATUS VBLANK_INT_STATUS OREG_UPDATE_STATUS) PIPEA_GMCH_DATA_M: 0x00000000 PIPEA_GMCH_DATA_N: 0x00000000 PIPEA_DP_LINK_M: 0x00000000 @@ -79,7 +79,7 @@ DSPBSTRIDE: 0x00000a00 (2560 bytes) DSPBPOS: 0x00000000 (0, 0) DSPBSIZE: 0x03ff04ff (1280, 1024) - DSPBBASE: 0x00000000 + DSPBBASE: 0x0012c000 DSPBSURF: 0x00000000 DSPBTILEOFF: 0x00000000 PIPEBCONF: 0x80000000 (enabled, single-wide) @@ -195,6 +195,6 @@ FENCE 5: 0x00000000 (disabled) FENCE 6: 0x00000000 (disabled) FENCE 7: 0x00000000 (disabled) - INST_PM: 0x00000000 + INST_PM: 0x00000800 pipe A dot 108000 n 2 m1 14 m2 8 p1 2 p2 10 pipe B dot 50057 n 3 m1 11 m2 6 p1 2 p2 14 Created attachment 45158 [details]
intel_reg_dumper output for 9db reverted
intel_reg_dumper output for a reverted 9db4a9c7b2a3bd5b4952846bc0c2f58daa80ddd7 (so effectively 8d7e3de1e019238211fa06e109437a13cae62004)
Created attachment 45159 [details]
intel_reg_dumper output for 9db
intel_reg_dumper output for 9db4a9c7b2a3bd5b4952846bc0c2f58daa80ddd7 .
Created attachment 45160 [details]
intel_reg_dumper output for intel-fixes + spurious inputs fix
intel_reg_dumper output for 7f58aabc369014fda3a4a33604ba0a1b63b941ac + a fix to detect attached outputs correctly (so that at least the screen resolution used between all the dumps is the same).
Created attachment 45445 [details] [review] drm/i915/tv: Fix modeset flickering introduced in 7f58aabc369014fda3a4a33604ba0a1b63b941ac The tidy ups in 7f58aabc369014fda3a4a33604ba0a1b63b941ac ("drm/i915: cleanup per-pipe reg usage") changed intel_crtc->plane to intel_crtc->pipe in intel_tv_mode_set(). This caused the screen to quickly turn off before returning whenever modesetting/mode probing took place on my 915GM EeePC 900 creating a flickering effect. This patch changes intel_crtc->pipe back to intel_crtc->plane which solves the problem for me. References: https://bugs.freedesktop.org/show_bug.cgi?id=35903 Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com> Thanks Sitosfe! Sitsofe, thanks for the patch: commit ccacfec6cc22157971bd970486fd3fd4972b8e2e Author: Sitsofe Wheeler <sitsofe@yahoo.com> Date: Tue Apr 12 06:51:39 2011 +0100 drm/i915/tv: Fix modeset flickering introduced in 7f58aabc3 The tidy ups in 7f58aabc369014fda3a4a33604ba0a1b63b941ac ("drm/i915: cleanup per-pipe reg usage") changed intel_crtc->plane to intel_crtc->pipe i intel_tv_mode_set(). This caused the screen to quickly turn off before returning whenever modesetting/mode probing took place on my 915GM EeePC 900 creating a flickering effect. This patch changes intel_crtc->pipe back to intel_crtc->plane which solves the problem for me. References: https://bugs.freedesktop.org/show_bug.cgi?id=35903 Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com> Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Humbly-acked-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Keith Packard <keithp@keithp.com> A quick note in case anyone arrives at this bug report via the reference link in the commit - the commit id 7f58aabc369014fda3a4a33604ba0a1b63b941ac is incorrect and is not the clean up commit that introduced the problem! It should have been 9db4a9c7b2a3bd5b4952846bc0c2f58daa80ddd7 ... Sorry! /me mutters the one I had in my tree had the corrected changelogs... |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.