drm/nouveau: do not forcibly power on lvds panels
commit1a1841d300a1b6cac35b0761755364d6d3e10b2e
authorBen Skeggs <bskeggs@redhat.com>
Mon, 10 Dec 2012 08:53:43 +0000 (10 18:53 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Sun, 13 Jan 2013 08:07:32 +0000 (13 18:07 +1000)
treedc791bacb66771e5d8fa5db60c8c44117a382ca2
parent4459146deb9eeabb0adf10d829bd8019d16bb0f4
drm/nouveau: do not forcibly power on lvds panels

This fix was put in place to fix a bug where the eDP panel on certain
laptops fails to respond over the aux channel after suspend.

It appears that on some systems (Dell M6600, with LVDS panel) there's a
very bad interaction with the eDP init table that causes the SOR to get
very confused and not drive the panel correctly, leading to bleed.

A DPMS off/on cycle is enough to bring it back, but, this will avoid the
problem by not touching the panel GPIOs at times we're not meant to.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_connector.c
drivers/gpu/drm/nouveau/nouveau_display.c