]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: flip on a no fb -> fb transition if crtc is active v3
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 25 Jun 2013 22:38:19 +0000 (01:38 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 1 Jul 2013 17:38:18 +0000 (19:38 +0200)
commit7fb80b40b91242ee23c777bc1b1a3ea4705fa36c
treec4ff17f265f0619ed03dc6bbf054b18271aab9ec
parent22cc179ecd02210e50235d5f0727325793451808
drm/i915: flip on a no fb -> fb transition if crtc is active v3

If the crtc is active, we can simply flip a new fb onto it, provided the
other mode setting reqs are met.  Otherwise, we'll need to do a full
mode set to re-enable the crtc.

v2: check for crtc active and set mode_changed accordingly
v3: add module parameter, i915.fastboot, to control no fb -> fb flip behavior

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