]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/i915/dmc: Extract is_event_handler()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 12 May 2025 10:33:57 +0000 (13:33 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 16 May 2025 08:31:11 +0000 (11:31 +0300)
commitd9dd810dd404ecb7bdfd3294bfb8d932e6066e05
tree1e2f5f7ac0a2f744718fc003c950d1b8b4d9707c
parent583710251f6380b973bc594d54bcf4c131c81805
drm/i915/dmc: Extract is_event_handler()

Extract the helper to determine if the mmio reg+data are the
event handler register (DMC_EVT_CTL) for a specific event.
We'll have another use for this for runtime event handler
enable/disable.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250512103358.15724-7-ville.syrjala@linux.intel.com
Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
drivers/gpu/drm/i915/display/intel_dmc.c