Skip to content

Commit

Permalink
drm/i915: Confine page flips to BCS on Valleyview
Browse files Browse the repository at this point in the history
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 ffe74d7
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>
  • Loading branch information
Chris Wilson authored and Daniel Vetter committed Sep 6, 2013
1 parent 6644a4e commit 1c5fd08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -7844,7 +7844,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);
Expand Down

0 comments on commit 1c5fd08

Please sign in to comment.