diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2025-09-18 15:25:45 +0300 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2025-09-19 10:07:06 +0300 |
| commit | f2c6777dd9f733f76fb6658d62a301ed57f4cd61 (patch) | |
| tree | 0d13a542d6227de7a0f793d07c6474a603b08416 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 96b8ccbe7ffa5bb49caf82167ea54a7755f06f3d (diff) | |
| download | linux-f2c6777dd9f733f76fb6658d62a301ed57f4cd61.tar.gz linux-f2c6777dd9f733f76fb6658d62a301ed57f4cd61.zip | |
drm/i915/irq: use a dedicated IMR cache for gen 5-7
There are three groups of platforms using i915->irq_mask independently:
gen 2-4, VLV/CHV, and gen 5-7.
The gen 5-7 usage is primarily limited to display. Move its irq_mask
usage to struct intel_display as ilk_de_imr_mask for gen 5-7.
ilk_de_imr_mask could be put inside a union with with vlv_imr_mask and
de_irq_mask[], but keep them separate to avoid accidental aliasing of
the values.
With this, we can also drop the irq_mask member from struct xe_device.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://lore.kernel.org/r/adf60e74b890d52dd20ab4673111ae2063d33b49.1758198300.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
