aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2025-04-14 11:29:43 +0000
committerJani Nikula <[email protected]>2025-04-14 18:34:17 +0000
commit2eb0e67ef063835b3fa5a8b8feaf6beae024b060 (patch)
treecc3b73ad453a8b5fb8bb486a09dea95c4c625724
parentdrm/i915/dpio: have chv_data_lane_soft_reset() get/put dpio internally (diff)
downloadkernel-2eb0e67ef063835b3fa5a8b8feaf6beae024b060.tar.gz
kernel-2eb0e67ef063835b3fa5a8b8feaf6beae024b060.zip
drm/i915: use 32-bit access for gen2 irq registers
We've previously switched from 16-bit to 32-bit access for gen2 irq registers, but one was left behind. Fix it. Reviewed-by: Ville Syrjälä <[email protected]> Link: https://lore.kernel.org/r/5a56286c94e08a02435c60ce0fbff13aca6c0d1f.1744630147.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <[email protected]>
-rw-r--r--drivers/gpu/drm/i915/i915_gpu_error.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b/drivers/gpu/drm/i915/i915_gpu_error.c
index 819ab933bb10..df16c2b86b9d 100644
--- a/drivers/gpu/drm/i915/i915_gpu_error.c
+++ b/drivers/gpu/drm/i915/i915_gpu_error.c
@@ -1782,8 +1782,6 @@ static void gt_record_display_regs(struct intel_gt_coredump *gt)
gt->ier = intel_uncore_read(uncore, VLV_IER);
else if (HAS_PCH_SPLIT(i915))
gt->ier = intel_uncore_read(uncore, DEIER);
- else if (GRAPHICS_VER(i915) == 2)
- gt->ier = intel_uncore_read16(uncore, GEN2_IER);
else
gt->ier = intel_uncore_read(uncore, GEN2_IER);
}