]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/color: Extract intel_color_modeset()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 16 Sep 2024 15:29:57 +0000 (18:29 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 19 Sep 2024 11:40:19 +0000 (14:40 +0300)
commit84d2d0430f0833cdf52a3d051906add051f20ef0
tree0d30a00864ab440d705fd021163fe89c45d5edd6
parentae5d0397b7e6a563aeb8708b08cad17390755a8f
drm/i915/color: Extract intel_color_modeset()

We always perform the same steps to program color management
stuff during a full modeset. Extract that code to a helper
to avoid duplication.

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