diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2026-05-13 19:13:26 +0300 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2026-05-16 12:19:23 +0300 |
| commit | 56f0919c4324a3d9c07e321b17d9e430094fb35d (patch) | |
| tree | 0cfae350b699053e9bd09edaee070878b44d6684 /include/linux/debugobjects.h | |
| parent | 7b18938135fa9a95d1ec1d0ecb575be1c37b72b2 (diff) | |
| download | linux-56f0919c4324a3d9c07e321b17d9e430094fb35d.tar.xz | |
drm/i915/irq: add display irq funcs, start with intel_display_irq_reset()
Introduce display irq hooks with struct intel_display_irq_funcs, and add
the ->reset hook as the first thing. Call the reset hooks from i915 and
xe core via intel_display_irq_reset().
Relocate the gen8 and gen11 HAS_DISPLAY() check to
intel_display_irq_reset(), as the funcs pointer won't be initialized for
no display.
Note: We're increasingly moving to the territory of not touching display
at all if there's no display or it has been fused off. Which is good,
but care must be taken to not have hardware setup required also for no
display cases in display code. Also note that the line is fuzzy for
older platforms, but there we also don't have fusing.
v2:
- make the structs static const (Sashiko)
- relocate HAS_DISPLAY() (Sashiko)
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/f9d75e8af92b5550a9d07f29491be5313b7c866b.1778688699.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
