From: Chris Park Date: Thu, 26 May 2022 03:22:11 +0000 (-0400) Subject: drm/amd/display: Add HDMI member to DTO X-Git-Tag: v6.6.17~6802^2~17^2~196 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d001360b47b792a475250bf7ef2bcfbd17ba09f;p=platform%2Fkernel%2Flinux-rpi.git 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 Acked-by: Hamza Mahfooz Signed-off-by: Chris Park Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher --- 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 {