Skip to content

Commit

Permalink
drm/amdgpu: Fix query order of XGMI v6.4.1 status
Browse files Browse the repository at this point in the history
Keep the register offsets as per link order for querying XGMI v6.4.1
link status.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Mangesh Gadre <Mangesh.Gadre@amd.com>
Fixes: 6dee64e ("drm/amdgpu: Fix xgmi v6.4.1 link status reporting")
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Lijo Lazar authored and Alex Deucher committed Apr 30, 2025
1 parent 96ac487 commit 3805e69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3805e69

Please sign in to comment.