diff options
author | Matt Roper <matthew.d.roper@intel.com> | 2022-10-14 16:02:31 -0700 |
---|---|---|
committer | Matt Roper <matthew.d.roper@intel.com> | 2022-10-17 10:13:46 -0700 |
commit | ab1b2d40d626bfb94d10e182a891fd21154234ef (patch) | |
tree | 1d3ae40bb645048ed646186d20f41387de813a0c /drivers/gpu/drm/i915/intel_pm.c | |
parent | 851435ec3686c513b469f8d3d9f8bd405a312412 (diff) |
drm/i915/xehp: Check for faults on primary GAM
On Xe_HP the fault registers are now in a multicast register range.
However as part of the GAM these registers follow special rules and we
need only read from the "primary" GAM's instance to get the information
we need. So a single intel_gt_mcr_read_any() (which will automatically
steer to the primary GAM) is sufficient; we don't need to loop over each
instance of the MCR register.
v2:
- Update more instances of fault registers. (Bala)
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221014230239.1023689-7-matthew.d.roper@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
0 files changed, 0 insertions, 0 deletions