summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Bakoulin <Ilya.Bakoulin@amd.com>2026-08-24 16:59:12 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-09-10 12:02:23 -0400
commit1bb5d7034166c5324ba8f045f6dc110d6c727583 (patch)
tree528d6fd8b31ff946c533002fd8e8791526709a56
parent637678d324bc83461f4b687f8779c103c6979102 (diff)
downloadlinux-next-1bb5d7034166c5324ba8f045f6dc110d6c727583.tar.gz
linux-next-1bb5d7034166c5324ba8f045f6dc110d6c727583.zip
drm/amd/display: Fix missing APG regs for DCN60 HDMI
[Why & How] Add missing APG instance for HDMI stream encoder. Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Signed-off-by: Ilya Bakoulin <Ilya.Bakoulin@amd.com> Signed-off-by: Ray Wu <ray.wu@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dc/resource/dcn60/dcn60_resource.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/resource/dcn60/dcn60_resource.c b/drivers/gpu/drm/amd/display/dc/resource/dcn60/dcn60_resource.c
index 5ff5462d5de1..da66c390ca66 100644
--- a/drivers/gpu/drm/amd/display/dc/resource/dcn60/dcn60_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/resource/dcn60/dcn60_resource.c
@@ -289,7 +289,7 @@ static const struct dcn31_vpg_mask vpg_mask = {
#define apg_regs_init(id)\
APG_DCN31_REG_LIST_RI(id)
-static struct dcn31_apg_registers apg_regs[4];
+static struct dcn31_apg_registers apg_regs[5];
static const struct dcn31_apg_shift apg_shift = {
DCN31_APG_MASK_SH_LIST(__SHIFT)
@@ -1393,7 +1393,8 @@ static struct apg *dcn60_apg_create(
apg_regs_init(0),
apg_regs_init(1),
apg_regs_init(2),
- apg_regs_init(3);
+ apg_regs_init(3),
+ apg_regs_init(4);
apg31_construct(apg60, ctx, inst,
&apg_regs[inst],