aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/clock_source.h
diff options
context:
space:
mode:
authorMichael Strauss <michael.strauss@amd.com>2022-06-09 10:45:34 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-07-25 17:16:45 -0400
commit1c5a2fa97b91d37375f4fc8aeb37c9456c93c828 (patch)
tree61fd64e7e004bb9ba3467e79bbb7a3261d5d9431 /drivers/gpu/drm/amd/display/dc/inc/clock_source.h
parentdrm/amd/display: Add pixel rate div calcs and programming (diff)
downloadlinux-dev-1c5a2fa97b91d37375f4fc8aeb37c9456c93c828.tar.xz
linux-dev-1c5a2fa97b91d37375f4fc8aeb37c9456c93c828.zip
drm/amd/display: Use correct DTO_SRC_SEL for 128b/132b encoding
[WHY] DP DTO isn't used for 128b/132b encoding [HOW] Check current link rate to determine whether using 8b/10b or 128/132b encoding Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com> Acked-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Michael Strauss <michael.strauss@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/clock_source.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/clock_source.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/clock_source.h b/drivers/gpu/drm/amd/display/dc/inc/clock_source.h
index e2b3a2c7a927..8f8ac8e29ed0 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/clock_source.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/clock_source.h
@@ -160,8 +160,11 @@ struct calc_pll_clock_source {
struct clock_source_funcs {
bool (*cs_power_down)(
struct clock_source *);
- bool (*program_pix_clk)(struct clock_source *,
- struct pixel_clk_params *, struct pll_settings *);
+ bool (*program_pix_clk)(
+ struct clock_source *,
+ struct pixel_clk_params *,
+ enum dp_link_encoding encoding,
+ struct pll_settings *);
uint32_t (*get_pix_clk_dividers)(
struct clock_source *,
struct pixel_clk_params *,