drm/i915/dsb: Skip DSB command buffer setup if we have no LUTs
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 18 Jan 2023 16:30:35 +0000 (18:30 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 20 Feb 2023 21:11:28 +0000 (23:11 +0200)
commitbfa5969e1144c8d0fbbe1a976601dcbc50549757
tree2c97485444885b5966cfa1158a5bba52fe7835df
parente18b19740299285fb18ac1513dcaaf0fa40e140e
drm/i915/dsb: Skip DSB command buffer setup if we have no LUTs

If we have no LUTs to load there is no point in setting up
the DSB command buffer.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230118163040.29808-9-ville.syrjala@linux.intel.com
Reviewed-by: Animesh Manna <animesh.manna@intel.com>
drivers/gpu/drm/i915/display/intel_color.c