drm/i915: Introduce intel_crtc_needs_color_update()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 21 Oct 2022 16:24:42 +0000 (19:24 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Sat, 22 Oct 2022 09:39:39 +0000 (12:39 +0300)
commitf5e674e92e9526430e01ef996bef5b50723f59bc
treefdab975174832cdfcf4318b2ed1e45ad255967be
parent7de5b6b54630c670af6822bebe70ff7b4281dc23
drm/i915: Introduce intel_crtc_needs_color_update()

Add a common helper to answer the question "do we need
to update color management stuff?".

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221021162442.27283-5-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/hsw_ips.c
drivers/gpu/drm/i915/display/intel_crtc.c
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display_types.h