summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_dsb.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2023-01-18 18:30:33 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2023-02-20 22:54:51 +0200
commitd5f84973acddbc6140cc82d74ae8f5b3e11c027f (patch)
tree28f194e0995e72304f65888868f950e37ce7afef /drivers/gpu/drm/i915/display/intel_dsb.h
parent1f89b94bcfbf1d9ce7f26bb66d8ee0cd7ca7d6d7 (diff)
downloadlwn-d5f84973acddbc6140cc82d74ae8f5b3e11c027f.tar.gz
lwn-d5f84973acddbc6140cc82d74ae8f5b3e11c027f.zip
drm/i915/dsb: Allow vblank synchronized DSB execution
Allow the caller to ask for the DSB commands to execute during vblank. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230118163040.29808-7-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dsb.h b/drivers/gpu/drm/i915/display/intel_dsb.h
index 6b22499e8a5d..b8148b47022d 100644
--- a/drivers/gpu/drm/i915/display/intel_dsb.h
+++ b/drivers/gpu/drm/i915/display/intel_dsb.h
@@ -19,7 +19,8 @@ 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);
-void intel_dsb_commit(struct intel_dsb *dsb);
+void intel_dsb_commit(struct intel_dsb *dsb,
+ bool wait_for_vblank);
void intel_dsb_wait(struct intel_dsb *dsb);
#endif