summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/include
diff options
context:
space:
mode:
authorAlvin <Alvin.Lee2@amd.com>2022-05-12 16:49:16 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-06-01 15:56:48 -0400
commitf0ad66f42a3d914ac5f9972731ec5bc97f35002d (patch)
tree12efa3da29300a38b15ba6acf47b17a5e4f1f8ae /drivers/gpu/drm/amd/display/include
parent6ecf9773a5030aa4932096754bacff20e1b944b8 (diff)
downloadlinux-stable-f0ad66f42a3d914ac5f9972731ec5bc97f35002d.tar.gz
linux-stable-f0ad66f42a3d914ac5f9972731ec5bc97f35002d.tar.bz2
linux-stable-f0ad66f42a3d914ac5f9972731ec5bc97f35002d.zip
drm/amd/display: Don't clear ref_dtbclk value
[Description] ref_dtbclk value is assigned in clk_mgr_construct, but the clks struct is cleared in init_clocks. Make sure to restore the value or we will get 0 value for ref_dtbclk in DCN31. Reviewed-by: Chris Park <Chris.Park@amd.com> Acked-by: Jasdeep Dhillon <jdhillon@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/include')
-rw-r--r--drivers/gpu/drm/amd/display/include/ddc_service_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/include/ddc_service_types.h b/drivers/gpu/drm/amd/display/include/ddc_service_types.h
index 73b9e0a87e54..20a3d4e23f66 100644
--- a/drivers/gpu/drm/amd/display/include/ddc_service_types.h
+++ b/drivers/gpu/drm/amd/display/include/ddc_service_types.h
@@ -127,6 +127,8 @@ struct av_sync_data {
static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0};
static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0};
+static const u8 DP_SINK_BRANCH_DEV_NAME_7580[] = "7580\x80u";
+
/*MST Dock*/
static const uint8_t SYNAPTICS_DEVICE_ID[] = "SYNA";