diff options
author | Michael Strauss <michael.strauss@amd.com> | 2022-06-10 16:28:03 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-07-25 17:17:10 -0400 |
commit | 1f5dcb7365e4e0a8a6fca44352218ccc6f41a8b9 (patch) | |
tree | bb920f035c0d1683f72297da6e43f92337bcd333 /drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dccg.c | |
parent | b5e924bd7cce823e604f9b7834fac846a910331c (diff) | |
download | linux-stable-1f5dcb7365e4e0a8a6fca44352218ccc6f41a8b9.tar.gz linux-stable-1f5dcb7365e4e0a8a6fca44352218ccc6f41a8b9.tar.bz2 linux-stable-1f5dcb7365e4e0a8a6fca44352218ccc6f41a8b9.zip |
drm/amd/display: Fix dpstreamclk programming
[WHY]
Currently programming incorrect hpo inst as well as selecting incorrect source
[HOW]
Use hpo inst instead of otg inst to select dpstreamclk inst
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/dcn32/dcn32_dccg.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dccg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dccg.c b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dccg.c index 12fc3afd9acd..a31c64b50410 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dccg.c +++ b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dccg.c @@ -211,7 +211,8 @@ static void dccg32_get_dccg_ref_freq(struct dccg *dccg, void dccg32_set_dpstreamclk( struct dccg *dccg, enum streamclk_source src, - int otg_inst) + int otg_inst, + int dp_hpo_inst) { struct dcn_dccg *dccg_dcn = TO_DCN_DCCG(dccg); |