]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 12:02:06 +0000 (13:02 +0100)
commit7f74b1f4a9474fa04d56d0f41fa6c89cd8103715
treefb2ed021ca34a3ace60f2f910f3a560ce4951a2c
parent9cfc43c0e6e6a31122b4008d763a2960c206aa2d
drm/i915/color: Extract intel_color_modeset()

[ Upstream commit 84d2d0430f0833cdf52a3d051906add051f20ef0 ]

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>
Stable-dep-of: 30bfc151f0c1 ("drm/xe: Remove double pageflip")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/i915/display/intel_color.c
drivers/gpu/drm/i915/display/intel_color.h
drivers/gpu/drm/i915/display/intel_display.c