* [PATCH] Revert "drm/amd/amdgpu: Use RSMU index and data pair in nbio_v6_3_2 get_pcie_index/data_offset()"
@ 2026-11-23 19:16 Jiahao Li
2026-11-23 19:23 ` sashiko-bot
0 siblings, 1 reply; 2+ messages in thread
From: Jiahao Li @ 2026-11-23 19:16 UTC (permalink / raw)
To: amd-gfx, Lijo.Lazar, Felix.Kuehling
Cc: Shravankumar.Gande, Ahmad.Rehman, Davis.Ming, Jiahao Li
This reverts commit e61b299b866e4ff06145a87da304af9a169231f9.
Change get_pcie_index/data functions in nbio_v6_3_2 back to use
PCIe index and data pair because the RSMU pair is dedicated to tools
Signed-off-by: Jiahao Li <Jiahao.Li@amd.com>
---
drivers/gpu/drm/amd/amdgpu/nbio_v6_3_2.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/nbio_v6_3_2.c b/drivers/gpu/drm/amd/amdgpu/nbio_v6_3_2.c
index 9a5ccc976e11..75477951353d 100644
--- a/drivers/gpu/drm/amd/amdgpu/nbio_v6_3_2.c
+++ b/drivers/gpu/drm/amd/amdgpu/nbio_v6_3_2.c
@@ -79,17 +79,17 @@ nbio_v6_3_2_doorbell_layout = {
static u32 nbio_v6_3_2_get_pcie_index_offset(struct amdgpu_device *adev)
{
- return SOC15_REG_OFFSET(NBIO, 0, regBIF_BX_PF0_RSMU_INDEX);
+ return SOC15_REG_OFFSET(NBIO, 0, regBIF_BX0_PCIE_INDEX2);
}
static u32 nbio_v6_3_2_get_pcie_data_offset(struct amdgpu_device *adev)
{
- return SOC15_REG_OFFSET(NBIO, 0, regBIF_BX_PF0_RSMU_DATA);
+ return SOC15_REG_OFFSET(NBIO, 0, regBIF_BX0_PCIE_DATA2);
}
static u32 nbio_v6_3_2_get_pcie_index_hi_offset(struct amdgpu_device *adev)
{
- return SOC15_REG_OFFSET(NBIO, 0, regBIF_BX_PF0_RSMU_INDEX_HI);
+ return SOC15_REG_OFFSET(NBIO, 0, regBIF_BX0_PCIE_INDEX2_HI);
}
static u32 nbio_v6_3_2_get_rev_id(struct amdgpu_device *adev)
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] Revert "drm/amd/amdgpu: Use RSMU index and data pair in nbio_v6_3_2 get_pcie_index/data_offset()"
2026-11-23 19:16 [PATCH] Revert "drm/amd/amdgpu: Use RSMU index and data pair in nbio_v6_3_2 get_pcie_index/data_offset()" Jiahao Li
@ 2026-11-23 19:23 ` sashiko-bot
0 siblings, 0 replies; 2+ messages in thread
From: sashiko-bot @ 2026-11-23 19:23 UTC (permalink / raw)
To: Jiahao Li, amd-gfx
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/amd/amdgpu: missing Fixes trailer for reverted commit
b91d2d56110b
--
commit 8b1dbccdccaec36799bc8a849b8b0419ae82b353
Author: Jiahao Li <Jiahao.Li@amd.com>
> Revert "drm/amd/amdgpu: Use RSMU index and data pair in nbio_v6_3_2 get_pcie_index/data_offset()"
>
> This reverts commit e61b299b866e4ff06145a87da304af9a169231f9.
>
> Change get_pcie_index/data functions in nbio_v6_3_2 back to use
> PCIe index and data pair because the RSMU pair is dedicated to tools
>
> Signed-off-by: Jiahao Li <Jiahao.Li@amd.com>
[Severity: Low]
This revert references pre-apply commit e61b299b866e4ff06145a87da304af9a169231f9
instead of the merged commit b91d2d56110b564d8552e8ac94b6b8729a35377c, and is
missing a Fixes: tag. Should the commit message reference
b91d2d56110b564d8552e8ac94b6b8729a35377c and include:
Fixes: b91d2d56110b ("drm/amd/amdgpu: Use RSMU index and data pair in nbio_v6_3_2 get_pcie_index/data_offset()")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261123191634.765657-1-Jiahao.Li@amd.com?part=1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-23 19:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 19:16 [PATCH] Revert "drm/amd/amdgpu: Use RSMU index and data pair in nbio_v6_3_2 get_pcie_index/data_offset()" Jiahao Li
2026-11-23 19:23 ` sashiko-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox