summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_dsb.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2024-06-24 22:10:28 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2024-08-29 14:54:03 +0300
commit06358ccecd75bfcd988f347f79592e23159aaaa2 (patch)
tree56e08d39e07a9b1101c419b6066d8ae98a922ba0 /drivers/gpu/drm/i915/display/intel_dsb.h
parent2039809783d630c1022bb3debe648abced7861c4 (diff)
downloadlwn-06358ccecd75bfcd988f347f79592e23159aaaa2.tar.gz
lwn-06358ccecd75bfcd988f347f79592e23159aaaa2.zip
drm/i915/dsb: Introduce intel_dsb_chain()
In order to handle the DEwake tricks without involving the CPU we need a mechanism by which one DSB can start another one. Add a basic function to do so. We'll extend it later with additional code to actually deal with DEwake. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240624191032.27333-11-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, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dsb.h b/drivers/gpu/drm/i915/display/intel_dsb.h
index d0737cefb393..e59fd7da0fc0 100644
--- a/drivers/gpu/drm/i915/display/intel_dsb.h
+++ b/drivers/gpu/drm/i915/display/intel_dsb.h
@@ -45,6 +45,9 @@ void intel_dsb_wait_scanline_in(struct intel_atomic_state *state,
void intel_dsb_wait_scanline_out(struct intel_atomic_state *state,
struct intel_dsb *dsb,
int lower, int upper);
+void intel_dsb_chain(struct intel_atomic_state *state,
+ struct intel_dsb *dsb,
+ struct intel_dsb *chained_dsb);
void intel_dsb_commit(struct intel_dsb *dsb,
bool wait_for_vblank);