]> rtime.felk.cvut.cz Git - linux-imx.git/commit
drm/i915: move output commit and crtc disabling into set_mode
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 5 Jul 2012 21:36:17 +0000 (23:36 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Sep 2012 06:04:23 +0000 (08:04 +0200)
commit87f1faa630b2045ccb6ab29f18c62279ddd7ef17
tree1e33115fc84f927bd749435394577ae64b22c2ea
parentba1c28c900f1aeb9a353f230a99c68cd4e550dde
drm/i915: move output commit and crtc disabling into set_mode

It's rather pointless to compute crtc->enabled twice right away ;-)

The only thing we really have to be careful about is that we frob the
dpms state only after a successful modeset and when we've actually
haven't just disabled the crtc.

Hooray for convoluted interfaces ...

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c