From: Matthew Stewart <Matthew.Stewart2@amd.com>
To: <amd-gfx@lists.freedesktop.org>
Cc: Harry Wentland <harry.wentland@amd.com>,
Leo Li <sunpeng.li@amd.com>,
Aurabindo Pillai <aurabindo.pillai@amd.com>,
Roman Li <roman.li@amd.com>, Wayne Lin <wayne.lin@amd.com>,
Tom Chung <chiahsuan.chung@amd.com>,
"Fangzhi Zuo" <jerry.zuo@amd.com>, Ray Wu <Ray.Wu@amd.com>,
Dan Wheeler <daniel.wheeler@amd.com>,
Ivan Lipski <ivan.lipski@amd.com>,
Chuanyu Tseng <Chuanyu.Tseng@amd.com>,
Matthew Stewart <Matthew.Stewart2@amd.com>
Subject: [PATCH 1/2] drm/amdgpu: Switch order of GC and Display IP blocks
Date: Thu, 16 Jul 2026 15:07:35 -0400 [thread overview]
Message-ID: <20260716190844.368565-2-Matthew.Stewart2@amd.com> (raw)
In-Reply-To: <20260716190844.368565-1-Matthew.Stewart2@amd.com>
For DCN42B, GC hardware init should occur before display HW init.
Otherwise, the GB_ADDR_CONFIG register accessed in
amdgpu_dm_plane_add_gfx11_modifiers will have a value of 0, causing
plane modifiers to not be set correctly.
Signed-off-by: Matthew Stewart <Matthew.Stewart2@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index 44e7d2e3e6df..76b6efc8768b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@ -3657,11 +3657,11 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
return r;
}
- r = amdgpu_discovery_set_display_ip_blocks(adev);
+ r = amdgpu_discovery_set_gc_ip_blocks(adev);
if (r)
return r;
- r = amdgpu_discovery_set_gc_ip_blocks(adev);
+ r = amdgpu_discovery_set_display_ip_blocks(adev);
if (r)
return r;
--
2.55.0
next prev parent reply other threads:[~2026-07-16 19:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-16 19:07 [PATCH 0/2] DCN42B driver load fixes Matthew Stewart
2026-07-16 19:07 ` Matthew Stewart [this message]
2026-07-16 19:42 ` [PATCH 1/2] drm/amdgpu: Switch order of GC and Display IP blocks Aurabindo Pillai
2026-07-16 19:07 ` [PATCH 2/2] drm/amd/display: add dcn42b specific SMU clock table read Matthew Stewart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260716190844.368565-2-Matthew.Stewart2@amd.com \
--to=matthew.stewart2@amd.com \
--cc=Chuanyu.Tseng@amd.com \
--cc=Ray.Wu@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=aurabindo.pillai@amd.com \
--cc=chiahsuan.chung@amd.com \
--cc=daniel.wheeler@amd.com \
--cc=harry.wentland@amd.com \
--cc=ivan.lipski@amd.com \
--cc=jerry.zuo@amd.com \
--cc=roman.li@amd.com \
--cc=sunpeng.li@amd.com \
--cc=wayne.lin@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox