diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-01-18 17:30:31 +0100 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-02-03 13:04:01 +0100 |
commit | 36e491f8f6e9bd9460923da48b2e516aafb80bb2 (patch) | |
tree | e4d822836c307e1f0cdb171ba1b624866ae24014 /drivers/gpu/drm/i915/display/intel_dsb.h | |
parent | drm/i915/dsb: Split intel_dsb_wait() from intel_dsb_commit() (diff) | |
download | linux-36e491f8f6e9bd9460923da48b2e516aafb80bb2.tar.xz linux-36e491f8f6e9bd9460923da48b2e516aafb80bb2.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dsb.h')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_dsb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dsb.h b/drivers/gpu/drm/i915/display/intel_dsb.h index 7999199c2464..6b22499e8a5d 100644 --- a/drivers/gpu/drm/i915/display/intel_dsb.h +++ b/drivers/gpu/drm/i915/display/intel_dsb.h @@ -15,6 +15,7 @@ struct intel_dsb; struct intel_dsb *intel_dsb_prepare(struct intel_crtc *crtc, unsigned int max_cmds); +void intel_dsb_finish(struct intel_dsb *dsb); void intel_dsb_cleanup(struct intel_dsb *dsb); void intel_dsb_reg_write(struct intel_dsb *dsb, i915_reg_t reg, u32 val); |