Skip to contentSkip to conversation

Revert "drm/amd/amdgpu: Use RSMU index and data pair in nbio_v6_3_2 get_pcie_index/data_offset()"

PATCH New Jiahao Li 2 participants 2 messages Nov 23

Subsystems (2)
lore
Share & tools
lore

Jiahao Li

author
#0 lore raw

PATCH 1/1 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

---
 drivers/gpu/drm/amd/amdgpu/nbio_v6_3_2.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/nbio_v6_3_2.c +3 -3
index 9a5ccc976e11..75477951353d 100644
@@ -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)
Signature · 1 line
2.43.0
#1 lore raw
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 --

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 <[email protected]>

Quoted 8 lines

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

[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()")
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1