summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.h
diff options
context:
space:
mode:
authorTaimur Hassan <syed.hassan@amd.com>2023-08-17 00:13:10 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-10-09 23:50:53 +0300
commit9158920cc87f4352b93ee52862e21c14a9cc953c (patch)
tree6a8561d5f46ba0aed14eaaed3fbb33c6416ac284 /drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.h
parent21eeb0511496c15aada81755bc4a4b4c87767941 (diff)
downloadlinux-9158920cc87f4352b93ee52862e21c14a9cc953c.tar.xz
drm/amd/display: Move stereo timing check to helper
Rework dml2_map_dc_pipes to keep the logic clean. Reviewed-by: Chaitanya Dhere <chaitanya.dhere@amd.com> Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: Qingqing Zhuo <Qingqing.Zhuo@amd.com> Signed-off-by: Taimur Hassan <syed.hassan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.h b/drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.h
index 342d64039f9a..23b9028337d4 100644
--- a/drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.h
+++ b/drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.h
@@ -42,6 +42,7 @@ void dml2_copy_clocks_to_dc_state(struct dml2_dcn_clocks *out_clks, struct dc_st
void dml2_extract_watermark_set(struct dcn_watermarks *watermark, struct display_mode_lib_st *dml_core_ctx);
int dml2_helper_find_dml_pipe_idx_by_stream_id(struct dml2_context *ctx, unsigned int stream_id);
bool is_dtbclk_required(const struct dc *dc, struct dc_state *context);
+bool dml2_is_stereo_timing(struct dc_stream_state *stream);
/*
* dml2_dc_construct_pipes - This function will determine if we need additional pipes based