System Environment: -------------------------- (drm-intel-fixes)commit:dabc8ce34938f9fa2929f51d9fab730e78bd2184 eDP port Bug detailed description: ------------------------- Using "testdisplay -f modeline" will cause system hang Reproduce steps: ---------------- 1. with eDP port 2. testdisplay -f modeline(eg. ./testdisplay -f 38.21,800,832,976,1008,600,612,618,631
Jesse, only you can help us now!
I don't see this on regular DP, so I guess it's related to our VBT or mode handling for eDP... checking an eDP system now.
I've reproduced this on my E6510, checking it out now
The last function I see called before the hang is ironlake_crtc_enable (I get a vblank wait timeout in enable plane then see the hang).
Created attachment 48015 [details] [review] load the LUT earlier when modesetting Can you confirm that this patch fixes the problem?
(In reply to comment #5) > Created an attachment (id=48015) [details] > load the LUT earlier when modesetting > > Can you confirm that this patch fixes the problem? Hello Jesse: this patch have fixed the problem. Tested-by: wang bo bo.b.wang@intel.com
(In reply to comment #5) > Created an attachment (id=48015) [details] > load the LUT earlier when modesetting > > Can you confirm that this patch fixes the problem? System (hp 2540p) no longer hangs when patched. I tried all the usual resolutions. But the screen brightness goes low and won't respond until I switch to a text console and back again. It also seemed like initial startup of the X server might have been slower than usual, but I haven't really confirmed this: take this comment with a large block of salt.
drm/i915: load the LUT before pipe enable on ILK+ author Jesse Barnes <jbarnes@virtuousgeek.org> Wed, 15 Jun 2011 21:32:33 +0000 (23:32 +0200) committer Keith Packard <keithp@keithp.com> Fri, 22 Jul 2011 20:37:00 +0000 (13:37 -0700) commit 9c54c0dd948d715ccfd79e97d852f80eeb53254a tree 49f18f67a736684bfee4b6c7f38175cee7e27632 tree | snapshot parent f3234706a77bd6e1592ae71fb3268e04cb030dba commit | diff drm/i915: load the LUT before pipe enable on ILK+ Per the specs and to address https://bugs.freedesktop.org/show_bug.cgi?id=36888. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: stable@kernel.org Signed-off-by: Keith Packard <keithp@keithp.com> from drm-intel-fixes
The commit is on the fixed branch.
Closing old verified+fixed.
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.