drm/i915/skl: Report the PDP regs as in gen8
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 3 Apr 2014 15:17:51 +0000 (16:17 +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 1bf6e6938ac65f748548e5cf469749d2f9ad11ed..fe1498099f16f0b8aa840909767958044acc446f 100644 (file)
@@ -924,6 +924,7 @@ static void i915_record_ring_state(struct drm_device *dev,
                ering->vm_info.gfx_mode = I915_READ(RING_MODE_GEN7(ring));
 
                switch (INTEL_INFO(dev)->gen) {
+               case 9:
                case 8:
                        for (i = 0; i < 4; i++) {
                                ering->vm_info.pdp[i] =