drm/amd/display: Add HDMI member to DTO
authorChris Park <chris.park@amd.com>
Thu, 26 May 2022 03:22:11 +0000 (23:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jun 2022 20:09:57 +0000 (16:09 -0400)
[Why]
For Pixel Rate control, when on HDMI, HDMI DTO
should be selected instead of DP DTO.

[How]
Add HDMI member to dtbclk_dto_params, so it can be used tell apart HDMI
and DP DTO in the future.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Chris Park <chris.park@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h

index 025169457cc863c78d86dc948aaa6ab2c05e4173..c2d116cce119b11608caf9e2e8d1931ecfd83975 100644 (file)
@@ -80,6 +80,7 @@ struct dtbclk_dto_params {
        int req_audio_dtbclk_khz;
        int num_odm_segments;
        int ref_dtbclk_khz;
+       bool is_hdmi;
 };
 
 struct dccg_funcs {