summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/optc/dcn10
diff options
context:
space:
mode:
authorDmytro <dmytro.laktyushkin@amd.com>2024-10-25 10:31:18 -0400
committerAlex Deucher <alexander.deucher@amd.com>2025-02-12 21:03:01 -0500
commit2739bd123782f9bedc39285b3965ff2b4b3e6411 (patch)
treec1c75bfa915210b903dd90eb69388345e7b9b5b9 /drivers/gpu/drm/amd/display/dc/optc/dcn10
parent503d67484e3a56a31227556c26ad560f9475f621 (diff)
downloadlwn-2739bd123782f9bedc39285b3965ff2b4b3e6411.tar.gz
lwn-2739bd123782f9bedc39285b3965ff2b4b3e6411.zip
drm/amd/display: Allow reuse of of DCN4x code
Remove the static qualifier to make it available for code sharing with other components. Reviewed-by: Charlene Liu <charlene.liu@amd.com> Signed-off-by: Dmytro <dmytro.laktyushkin@amd.com> Signed-off-by: Charlene Liu <Charlene.Liu@amd.com> Signed-off-by: Alex Hung <alex.hung@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/optc/dcn10')
-rw-r--r--drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.h b/drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.h
index 82b91b9bc9c2..a6d4dbe82c13 100644
--- a/drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.h
+++ b/drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.h
@@ -168,13 +168,21 @@ struct dcn_optc_registers {
uint32_t OTG_CRC_CNTL;
uint32_t OTG_CRC_CNTL2;
uint32_t OTG_CRC0_DATA_RG;
+ uint32_t OTG_CRC1_DATA_RG;
+ uint32_t OTG_CRC2_DATA_RG;
+ uint32_t OTG_CRC3_DATA_RG;
uint32_t OTG_CRC0_DATA_B;
uint32_t OTG_CRC1_DATA_B;
uint32_t OTG_CRC2_DATA_B;
uint32_t OTG_CRC3_DATA_B;
- uint32_t OTG_CRC1_DATA_RG;
- uint32_t OTG_CRC2_DATA_RG;
- uint32_t OTG_CRC3_DATA_RG;
+ uint32_t OTG_CRC0_DATA_R;
+ uint32_t OTG_CRC1_DATA_R;
+ uint32_t OTG_CRC2_DATA_R;
+ uint32_t OTG_CRC3_DATA_R;
+ uint32_t OTG_CRC0_DATA_G;
+ uint32_t OTG_CRC1_DATA_G;
+ uint32_t OTG_CRC2_DATA_G;
+ uint32_t OTG_CRC3_DATA_G;
uint32_t OTG_CRC0_WINDOWA_X_CONTROL;
uint32_t OTG_CRC0_WINDOWA_Y_CONTROL;
uint32_t OTG_CRC0_WINDOWB_X_CONTROL;