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-05-31 14:41:00 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2024-06-05 12:45:34 +0300
commit81d604f44b1880a278197a4d076bddc83e763af5 (patch)
tree07d737783468fb1ff5c41873114f365904c9e4ed /drivers/gpu/drm/i915/display/intel_dsb.h
parent738f3d86182ed5f6d09205db6f0ba3c498c20d69 (diff)
downloadlwn-81d604f44b1880a278197a4d076bddc83e763af5.tar.gz
lwn-81d604f44b1880a278197a4d076bddc83e763af5.zip
drm/i915/dsb: Pass DSB engine ID to intel_dsb_prepare()
Allow the caller of intel_dsb_prepare() to determine which DSB engine (out of the three possible per pipe) to use. This will let us utilize multiple DSB engines during the same commit. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240531114101.19994-4-ville.syrjala@linux.intel.com Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dsb.h')
-rw-r--r--drivers/gpu/drm/i915/display/intel_dsb.h1
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 5d7561ea65fa..36fdb130af6e 100644
--- a/drivers/gpu/drm/i915/display/intel_dsb.h
+++ b/drivers/gpu/drm/i915/display/intel_dsb.h
@@ -23,6 +23,7 @@ enum intel_dsb_id {
};
struct intel_dsb *intel_dsb_prepare(const struct intel_crtc_state *crtc_state,
+ enum intel_dsb_id dsb_id,
unsigned int max_cmds);
void intel_dsb_finish(struct intel_dsb *dsb);
void intel_dsb_cleanup(struct intel_dsb *dsb);