]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Hide the intel_crtc_needs_color_update() inside intel_color_check()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 23 May 2024 18:28:17 +0000 (21:28 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 27 May 2024 11:30:58 +0000 (14:30 +0300)
commit325257f2e9cb753a1581f8ca50e84012010d2718
treebc05f4e8a9d781db2b4bb027e1a0e9ee742e0171
parent5f128aa1052e7d28074ac9b5279d0a09232b699a
drm/i915: Hide the intel_crtc_needs_color_update() inside intel_color_check()

Move the intel_crtc_needs_color_update() into intel_color_check()
so that the caller doesn't have to care about this. This will
also enable us to hide the c8_planes_changed() thing better.

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