Skip to content

drm/xe: Clean up the GU_MISC irq handling

Ville Syrjala intel-xe sashiko-reviews 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/xe: s/xe_display_irq_enable()/xe_display_gse_irq_handler()/drivers/gpu/drm/xe/display/xe_display.c drivers/gpu/drm/xe/display/xe_display.h drivers/gpu/drm/xe/xe_irq.c+6 -51 reply
2/4drm/xe: Extract xe_gu_misc_irq_{postinstall,reset}()drivers/gpu/drm/xe/xe_irq.c+18 -91 reply
3/4drm/xe: Only enable the GSE interrupt when display needs itdrivers/gpu/drm/xe/display/xe_display.c drivers/gpu/drm/xe/display/xe_display.h drivers/gpu/drm/xe/xe_irq.c+21 -51 reply
4/4drm/xe: Use intel_display_gse_irq_handler()drivers/gpu/drm/xe/display/xe_display.c+1 -15 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchJani Nikula
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] drm/xe: Clean up the GU_MISC irq handling

From: Ville Syrjälä <[email protected]>

Clean up the mess with the GU_MISC interrupt handling in xe, and don't enable the GSE interrupt unless the display needs it.

The whole thing is still rather ugly because the interrupt bits leak into the xe_display.c code, but that matches how all the other irqs are currently structured so leave it be for now.

Ville Syrjälä (4):
drm/xe: s/xe_display_irq_enable()/xe_display_gse_irq_handler()/ drm/xe: Extract xe_gu_misc_irq_{postinstall,reset}() drm/xe: Only enable the GSE interrupt when display needs it drm/xe: Use intel_display_gse_irq_handler()

 drivers/gpu/drm/xe/display/xe_display.c | 21 ++++++++++++++++--
 drivers/gpu/drm/xe/display/xe_display.h |  6 +++--
 drivers/gpu/drm/xe/xe_irq.c             | 29 +++++++++++++++----------
 3 files changed, 41 insertions(+), 15 deletions(-)
Signature · 1 line
2.56.0