diff options
| author | Lijo Lazar <[email protected]> | 2025-04-25 07:01:19 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-04-30 22:13:44 +0000 |
| commit | 3805e6959ced4c0735a4ae53f0c56324c87c72b2 (patch) | |
| tree | bf21871099dd79710bd3e0090430cfa6d6c42323 /drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | |
| parent | drm/amd/pm: Add board voltage node to hwmon (diff) | |
| download | kernel-3805e6959ced4c0735a4ae53f0c56324c87c72b2.tar.gz kernel-3805e6959ced4c0735a4ae53f0c56324c87c72b2.zip | |
drm/amdgpu: Fix query order of XGMI v6.4.1 status
Keep the register offsets as per link order for querying XGMI v6.4.1
link status.
Signed-off-by: Lijo Lazar <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Tested-by: Mangesh Gadre <[email protected]>
Fixes: 6dee64e765c4 ("drm/amdgpu: Fix xgmi v6.4.1 link status reporting")
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c index 95231de26cb1..f51ef4cf16e0 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c @@ -297,8 +297,8 @@ static const struct amdgpu_pcs_ras_field xgmi3x16_pcs_ras_fields[] = { static u32 xgmi_v6_4_get_link_status(struct amdgpu_device *adev, int global_link_num) { const u32 smn_xgmi_6_4_pcs_state_hist1[2] = { 0x11a00070, 0x11b00070 }; - const u32 smn_xgmi_6_4_1_pcs_state_hist1[2] = { 0x11b00070, - 0x12100070 }; + const u32 smn_xgmi_6_4_1_pcs_state_hist1[2] = { 0x12100070, + 0x11b00070 }; u32 i, n; u64 addr; |
