]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/i915: page flip support for Ivy Bridge
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 6 Apr 2011 19:28:05 +0000 (12:28 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 14 May 2011 00:10:13 +0000 (17:10 -0700)
Treat Ivy Bridge like previous chips as far as flip submission is
concerned.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_display.c

index b1de6cb7480350a0c39e3a4c93278011cfb368b2..18888a2fefa2b027591369919ce94d36c8c9e5ae 100644 (file)
@@ -6431,6 +6431,7 @@ static int intel_crtc_page_flip(struct drm_crtc *crtc,
                break;
 
        case 6:
+       case 7:
                OUT_RING(MI_DISPLAY_FLIP |
                         MI_DISPLAY_FLIP_PLANE(intel_crtc->plane));
                OUT_RING(fb->pitch | obj->tiling_mode);