diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2026-03-31 18:42:51 +0300 |
|---|---|---|
| committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2026-04-01 17:03:16 +0300 |
| commit | 84b0366809193fc6238e37c9839cd4b24db5e909 (patch) | |
| tree | cf0bc1cdba0eb210d39b76329215aa0f353d3dbf /tools/perf/scripts/python/stackcollapse.py | |
| parent | 03f8a13cc18c95bede16d55c08c0dda39f8e23fd (diff) | |
drm/i915/mchbar: WARN when accessing non-MCHBAR registers via intel_mchbar_read*()
The intel_mchbar_read*() functions should only be used for
accessing MCHBAR registers. Warn if someone tries to use
them for other registers.
I suppose we could even have a dedicated type for MCHBAR
registers. But that is true for many other special register
types as well, and so far we haven't bothered adding any
special types apart from i915_mcr_reg_t.
v2: Print the register offset (Jani)
Mention i915_mcr_reg_t (Jani)
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260331154259.24600-5-ville.syrjala@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
