From: Joonas Lahtinen Date: Fri, 28 Apr 2017 07:53:39 +0000 (+0300) Subject: drm/i915: Capture CCID on ILK X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5de92320409c1f33cb3119551c25bdfcd8318186;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/i915: Capture CCID on ILK CCID register existed already on ILK according to the PRM (Chris verified the address to match too). Signed-off-by: Joonas Lahtinen Cc: Chris Wilson Cc: Ville Syrjälä Reviewed-by: Chris Wilson Link: http://patchwork.freedesktop.org/patch/msgid/1493366019-18380-1-git-send-email-joonas.lahtinen@linux.intel.com --- diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b/drivers/gpu/drm/i915/i915_gpu_error.c index fbdd06c43c61..ec526d92f908 100644 --- a/drivers/gpu/drm/i915/i915_gpu_error.c +++ b/drivers/gpu/drm/i915/i915_gpu_error.c @@ -1598,7 +1598,7 @@ static void i915_capture_reg_state(struct drm_i915_private *dev_priv, error->done_reg = I915_READ(DONE_REG); } - if (INTEL_GEN(dev_priv) >= 6) + if (INTEL_GEN(dev_priv) >= 5) error->ccid = I915_READ(CCID); /* 3: Feature specific registers */