drm/i915/skl: Fence registers on SKL are the same as SNB
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 13 Feb 2013 15:27:25 +0000 (15:27 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Sep 2014 12:33:13 +0000 (14:33 +0200)
v2: Rebased on top of the i915_gpu_error.c extraction.

Reviewed-by: Thomas Wood <thomas.wood@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
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 4ca3a6dcf10bdc7dc30d4e40e074a0fac9c76561..2a38ef27bfcda2f9ac829deb5b2af2b07cc838ed 100644 (file)
@@ -3151,6 +3151,7 @@ static void i915_gem_write_fence(struct drm_device *dev, int reg,
             obj->stride, obj->tiling_mode);
 
        switch (INTEL_INFO(dev)->gen) {
+       case 9:
        case 8:
        case 7:
        case 6:
index 2c87a797213f4e94305be2846bd9a7caa5765d51..68fd7675184f2f3dd1caf9bad01d733bf877507b 100644 (file)
@@ -765,6 +765,7 @@ static void i915_gem_record_fences(struct drm_device *dev,
 
        /* Fences */
        switch (INTEL_INFO(dev)->gen) {
+       case 9:
        case 8:
        case 7:
        case 6: