AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [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

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