OSDN Git Service

drm/i915: Split icl_color_commit_noarm() from skl_color_commit_noarm()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 20 Mar 2023 09:54:33 +0000 (11:54 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 21 Mar 2023 16:01:13 +0000 (18:01 +0200)
commitf161eb01f50ab31f2084975b43bce54b7b671e17
treebf2c18648256fb28168df27deb345c9430ab4178
parent1a324a40b452ae0a57676369c0a0150674728853
drm/i915: Split icl_color_commit_noarm() from skl_color_commit_noarm()

We're going to want different behavior for skl/glk vs. icl
in .color_commit_noarm(), so split the hook into two. Arguably
we already had slightly different behaviour since
csc_enable/gamma_enable are never set on icl+, so the old
code was perhaps a bit confusing as well.

Cc: <stable@vger.kernel.org> #v5.19+
Cc: Manasi Navare <navaremanasi@google.com>
Cc: Drew Davenport <ddavenport@chromium.org>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Jouni Högander <jouni.hogander@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230320095438.17328-2-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/display/intel_color.c