mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 19:59:34 -04:00
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ä <ville.syrjala@linux.intel.com> Link: https://lore.kernel.org/r/8d73eb1d56603210003554bc6a875c53ed4c692a.1744630147.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user