From: Joonas Lahtinen Date: Fri, 28 Apr 2017 07:53:39 +0000 (+0300) Subject: drm/i915: Capture CCID on ILK X-Git-Tag: v4.13-rc1~45^2~32^2~150 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5de92320409c1f33cb3119551c25bdfcd8318186;p=platform%2Fkernel%2Flinux-exynos.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 fbdd06c..ec526d9 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 */