]> git.baikalelectronics.ru Git - kernel.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)
commit1f61094a1bd6b709be1623fe7c30afbc1b4bc591
tree1e33115fc84f927bd749435394577ae64b22c2ea
parentf9eaab15308528e55b4cc1e647275ba06318851d
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