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)
commit319d9827ebb55d58d1b02d8a4eba48bbb2702376
treec4ff17f265f0619ed03dc6bbf054b18271aab9ec
parent4d6a3e63bce0cb604864e36585ca8983160a421a
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