drm/i915/skl: report the same INSTDONE registers as gen8
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 3 Apr 2014 15:13:29 +0000 (16:13 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Sep 2014 12:52:00 +0000 (14:52 +0200)
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@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_gpu_error.c

index 68fd7675184f2f3dd1caf9bad01d733bf877507b..1bf6e6938ac65f748548e5cf469749d2f9ad11ed 100644 (file)
@@ -1390,6 +1390,7 @@ void i915_get_extra_instdone(struct drm_device *dev, uint32_t *instdone)
                WARN_ONCE(1, "Unsupported platform\n");
        case 7:
        case 8:
+       case 9:
                instdone[0] = I915_READ(GEN7_INSTDONE_1);
                instdone[1] = I915_READ(GEN7_SC_INSTDONE);
                instdone[2] = I915_READ(GEN7_SAMPLER_INSTDONE);