drm/i915/dsb: Split intel_dsb_wait() from intel_dsb_commit()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 18 Jan 2023 16:30:30 +0000 (18:30 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 3 Feb 2023 11:57:30 +0000 (13:57 +0200)
commit4b284831c6f3656627958bced181215e7b9fd322
treeb83e2c27390949f89eaae3d495c2f685c07cc69e
parent7206b517665e8b59d7e18877d9741da193cd3325
drm/i915/dsb: Split intel_dsb_wait() from intel_dsb_commit()

Starting the DSB execution vs. waiting for it stop are two
totally different things. Split intel_dsb_wait() from
intel_dsb_commit() so that we can eventually allow the DSB
to execute asynchronously.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230118163040.29808-4-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