]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix shifted screen on top of LVDS on IVY laptop
authorTakashi Iwai <tiwai@suse.de>
Tue, 11 Dec 2012 10:46:29 +0000 (11:46 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 11 Dec 2012 11:53:50 +0000 (12:53 +0100)
commit611b43f615d16f28340341d8ec2e32d5aeff7b5d
tree13814c13ad49b68bb1a2d930bad14a30cc5fc241
parent500db284526df82390fac172187f006c7f594312
drm/i915: Fix shifted screen on top of LVDS on IVY laptop

The commit [f9cd4ac47: drm/i915: CPT+ pch transcoder workaround]
caused a regression on some HP laptops with IvyBridge.  The whole
laptop screen is shifted downward for a few pixels constantly.
The problem appears only on LVDS while DP and VGA seem unaffected.
Also, the problem disappears once when go and back from S3.
(S4 resume still shows the same problem.)

This patch revives the minimum part the commit above dropped.
For fixing this regression, only the setup of CHICKEN2 bit in
cpt_init_clock_gating() is needed.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c