drm/i915/display: Wrap IRQ-specific uncore functions
authorGustavo Sousa <gustavo.sousa@intel.com>
Mon, 13 Jan 2025 20:38:57 +0000 (17:38 -0300)
committerGustavo Sousa <gustavo.sousa@intel.com>
Fri, 17 Jan 2025 11:34:49 +0000 (08:34 -0300)
commit6d531e350572163f5e3ec832710d459d1232c3cb
tree1a2881873c3e7406d7401fb1a74ffb3ffba98064
parent58b7cd603db38d16350d380df70dbce468e99101
drm/i915/display: Wrap IRQ-specific uncore functions

The current display IRQ code calls some IRQ-specific helpers that use
intel_uncore_*() MMIO functions instead of the display-specific ones.
Wrap those helpers to ensure that the proper display-specific hooks
(currently only DMC wakelock handling) are called.

v2:
 - Move functions to intel_display_irq.c instead of having them in
   intel_de.h. (Jani)

Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250113204306.112266-3-gustavo.sousa@intel.com
drivers/gpu/drm/i915/display/intel_display_irq.c