diff options
| author | Jani Nikula <[email protected]> | 2025-04-14 11:29:48 +0000 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2025-04-14 18:34:17 +0000 |
| commit | 012aa48a587c3b263f62256a68438ec44fb0225d (patch) | |
| tree | 7bdf0f331e1d17524a0e2308aafaeea05c90b559 /drivers/gpu/drm/i915/i915_gpu_error.c | |
| parent | drm/i915: don't capture DERRMR for VLV/CHV (diff) | |
| download | kernel-012aa48a587c3b263f62256a68438ec44fb0225d.tar.gz kernel-012aa48a587c3b263f62256a68438ec44fb0225d.zip | |
drm/i915: use graphics version instead of PCH split in error capture
Avoid using PCH checks in core i915 code, in preparation for moving PCH
handling to display.
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://lore.kernel.org/r/8d73eb1d56603210003554bc6a875c53ed4c692a.1744630147.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gpu_error.c')
| -rw-r--r-- | drivers/gpu/drm/i915/i915_gpu_error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b/drivers/gpu/drm/i915/i915_gpu_error.c index d8277b51b250..2dcc869c1332 100644 --- a/drivers/gpu/drm/i915/i915_gpu_error.c +++ b/drivers/gpu/drm/i915/i915_gpu_error.c @@ -1792,7 +1792,7 @@ static void gt_record_global_nonguc_regs(struct intel_gt_coredump *gt) gt->gtier[i] = intel_uncore_read(uncore, GEN8_GT_IER(i)); gt->ngtier = 4; - } else if (HAS_PCH_SPLIT(i915)) { + } else if (GRAPHICS_VER(i915) >= 5) { gt->gtier[0] = intel_uncore_read(uncore, GTIER); gt->ngtier = 1; } else { |
