drm/i915/bdw: Fences on gen8 look just like gen7
authorBen Widawsky <benjamin.widawsky@intel.com>
Sun, 3 Nov 2013 04:07:03 +0000 (21:07 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 Nov 2013 17:09:36 +0000 (18:09 +0100)
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gpu_error.c

index e7b39d731db6158a085bd7e786c94a13f239af9a..5be1a154f09e6ff5608d9b5de70135d65aa2da02 100644 (file)
@@ -2954,6 +2954,7 @@ static void i915_gem_write_fence(struct drm_device *dev, int reg,
             obj->stride, obj->tiling_mode);
 
        switch (INTEL_INFO(dev)->gen) {
+       case 8:
        case 7:
        case 6:
        case 5:
index a8bb213da79f3060a9c7dcbf3377777fa0052573..fcfb35c1d8543c7aaab76910f58a8979fb7a35f8 100644 (file)
@@ -624,6 +624,7 @@ static void i915_gem_record_fences(struct drm_device *dev,
 
        /* Fences */
        switch (INTEL_INFO(dev)->gen) {
+       case 8:
        case 7:
        case 6:
                for (i = 0; i < dev_priv->num_fence_regs; i++)