Commit 5ab31333 authored by Ben Widawsky's avatar Ben Widawsky Committed by Daniel Vetter

drm/i915/bdw: Fences on gen8 look just like gen7

Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarBen Widawsky <ben@bwidawsk.net>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 4d4dead6
...@@ -2954,6 +2954,7 @@ static void i915_gem_write_fence(struct drm_device *dev, int reg, ...@@ -2954,6 +2954,7 @@ static void i915_gem_write_fence(struct drm_device *dev, int reg,
obj->stride, obj->tiling_mode); obj->stride, obj->tiling_mode);
switch (INTEL_INFO(dev)->gen) { switch (INTEL_INFO(dev)->gen) {
case 8:
case 7: case 7:
case 6: case 6:
case 5: case 5:
......
...@@ -624,6 +624,7 @@ static void i915_gem_record_fences(struct drm_device *dev, ...@@ -624,6 +624,7 @@ static void i915_gem_record_fences(struct drm_device *dev,
/* Fences */ /* Fences */
switch (INTEL_INFO(dev)->gen) { switch (INTEL_INFO(dev)->gen) {
case 8:
case 7: case 7:
case 6: case 6:
for (i = 0; i < dev_priv->num_fence_regs; i++) for (i = 0; i < dev_priv->num_fence_regs; i++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment