drm/i915/dsb: Introduce intel_dsb_finish()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 18 Jan 2023 16:30:31 +0000 (18:30 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 3 Feb 2023 12:04:01 +0000 (14:04 +0200)
commit36e491f8f6e9bd9460923da48b2e516aafb80bb2
treee4d822836c307e1f0cdb171ba1b624866ae24014
parent4b284831c6f3656627958bced181215e7b9fd322
drm/i915/dsb: Introduce intel_dsb_finish()

Introduce a function to emits whatever commands we need
at the end of the DSB command buffer. For the moment we
only do the tail cacheline alignment there, but eventually
we might want to eg. emit an interrupt.

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