[PATCH 04/28] drm/amd/display: Fix dig register undefined
Rodrigo Siqueira
Rodrigo.Siqueira at amd.com
Thu Sep 14 01:59:57 UTC 2023
From: Duncan Ma <duncan.ma at amd.com>
[Why]
Some of the stream encoder registers have register offset address 0. It
is causing no display in some scenarios due to DIG_FE was not setup
correctly and was not enabled.
[How]
Fix stream encoder register define list.
Reviewed-by: Charlene Liu <charlene.liu at amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo at amd.com>
Signed-off-by: Duncan Ma <duncan.ma at amd.com>
---
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c b/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c
index 957f39e1381b..aa0c27e76e4e 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c
@@ -308,7 +308,7 @@ static const struct dcn31_apg_mask apg_mask = {
};
#define stream_enc_regs_init(id)\
- SE_DCN32_REG_LIST_RI(id)
+ SE_DCN35_REG_LIST_RI(id)
static struct dcn10_stream_enc_registers stream_enc_regs[5];
--
2.40.1
More information about the amd-gfx
mailing list