Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/i915: Confine page flips to BCS on Valleyview

Once again we find that Valleyview is ever so subtlety different from
the rest of its gen7 brethen. In this case, Valleyview has no support
for pageflipping from the RCS ring.

Fixes a regression from

commit ffe74d75502e3a9b0791240b5562bcbecc6ab8dc
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Mon Aug 26 20:58:12 2013 +0100

drm/i915: Use RCS flips on Ivybridge+

Reported-by: "Lee, Chon Ming" <chon.ming.lee@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68968
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

authored by

Chris Wilson and committed by
Daniel Vetter
1c5fd085 6644a4e9

+1 -1
+1 -1
drivers/gpu/drm/i915/intel_display.c
··· 7844 7844 int len, ret; 7845 7845 7846 7846 ring = obj->ring; 7847 - if (ring == NULL || ring->id != RCS) 7847 + if (IS_VALLEYVIEW(dev) || ring == NULL || ring->id != RCS) 7848 7848 ring = &dev_priv->ring[BCS]; 7849 7849 7850 7850 ret = intel_pin_and_fence_fb_obj(dev, obj, ring);