[Intel-gfx] [PATCH] drm/i915: Confine page flips to BCS on Valleyview
Chris Wilson
chris at chris-wilson.co.uk
Wed Sep 4 11:54:30 CEST 2013
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 b0135d2b287424cceeebe79ef81fd1e6425509a3
Author: Chris Wilson <chris at 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 at intel.com>
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
---
drivers/gpu/drm/i915/intel_display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 30e5946..c4e4468 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -7863,7 +7863,7 @@ static int intel_gen7_queue_flip(struct drm_device *dev,
int len, ret;
ring = obj->ring;
- if (ring == NULL || ring->id != RCS)
+ if (IS_VALLEYVIEW(dev) || ring == NULL || ring->id != RCS)
ring = &dev_priv->ring[BCS];
ret = intel_pin_and_fence_fb_obj(dev, obj, ring);
--
1.8.4.rc3
More information about the Intel-gfx
mailing list