drm/amd/display: add dscclk instance offset check
authorCharlene Liu <Charlene.Liu@amd.com>
Fri, 24 Mar 2023 16:31:07 +0000 (12:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Apr 2023 22:03:35 +0000 (18:03 -0400)
commita2a0bdf1989c38ca2fc356edd23a114172ee09a2
tree7f3ed4e9338a73a0be25bc66590e2bc69907c781
parentd170e938f01fc8c5c41f8a12f0c12491580829ef
drm/amd/display: add dscclk instance offset check

[why]
based on dscclk instance offset check conditiona program dscclk

Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dccg.h
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dccg.c
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_dccg.h