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

We have two copies of the code to generate the "disable this event"
value for the DMC_EVT_CTL registers. Extract to a helper.

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