summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorChris Park <chris.park@amd.com>2022-05-26 06:22:11 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-06-07 23:09:57 +0300
commit9d001360b47b792a475250bf7ef2bcfbd17ba09f (patch)
tree79fc99c3185cef56ea6f9a30a1a14180a0f470f7 /drivers
parentd445dd7b39c56a66872386a3ce0c8a862e59be46 (diff)
downloadlinux-9d001360b47b792a475250bf7ef2bcfbd17ba09f.tar.xz
drm/amd/display: Add HDMI member to DTO
[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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h b/drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h
index 025169457cc8..c2d116cce119 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h
@@ -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 {