]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/i915: Be sure to turn hsync/vsync back on at crt enable (v2)
authorAdam Jackson <ajax@redhat.com>
Mon, 25 Mar 2013 19:40:05 +0000 (15:40 -0400)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 Mar 2013 21:49:30 +0000 (22:49 +0100)
commit637f44d24f8868ee5a597a99e7874fdd150d4cba
treeb265460369eb9b523ea1665e90e0e67ad1ec181d
parentbd17381372c0740c43a9addf0d80271f647f2b38
drm/i915: Be sure to turn hsync/vsync back on at crt enable (v2)

commit f40ebd6bcbbd0d30591f42dc16be52b5086a366b
Author: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Date:   Tue Mar 5 14:24:48 2013 +0100

    drm/i915: Turn off hsync and vsync on ADPA when disabling crt

properly disabled the hsync/vsync logic at disable time, but neglected
to re-enable them at enable time.

v2: In the enable hook, restore the connector's expected DPMS level
instead of forcing ON.  Do this by stashing a back pointer to the
connector in the crt (suggested by danvet) since otherwise it's awkward
to look up.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Cc: stable@vger.kernel.org
[danvet: Added more verbose commit citation and cc: stable tag. Also,
make it compile. Then self-lart and try to assign the right pointer.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_crt.c