summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorMichael Chen <michael.chen@amd.com>2026-01-06 15:22:57 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-03-17 10:30:15 -0400
commit370deb69ea618130c396ed4f33f035773c3d7420 (patch)
treed515bd91571a3f21d683094d113b5a69e6958b73 /drivers/gpu
parent44e5195fa3d4f14cfef6fcec0ccc32a08bac1d87 (diff)
downloadlinux-370deb69ea618130c396ed4f33f035773c3d7420.tar.gz
linux-370deb69ea618130c396ed4f33f035773c3d7420.zip
drm/amdgpu: Fix RRMT for gfx v12_1
Correct NORMALIZE_XCC_REG_OFFSET to 0xFFFF because reg offset is in DW. Also set mode 3 temporarily for out of XCD access for MMHUB TLB flush. Will need to figure out how to differentiate between AID and MID access later. Signed-off-by: Michael Chen <michael.chen@amd.com> Reviewed-by: Alex Sierra <alex.sierra@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/mes_v12_1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v12_1.c b/drivers/gpu/drm/amd/amdgpu/mes_v12_1.c
index 2b3dbc3190ce..ca8cacd34573 100644
--- a/drivers/gpu/drm/amd/amdgpu/mes_v12_1.c
+++ b/drivers/gpu/drm/amd/amdgpu/mes_v12_1.c
@@ -512,7 +512,7 @@ static void mes_v12_1_get_rrmt(uint32_t reg, uint32_t xcc_id,
rrmt_opt->mode = (xcc_id == rrmt_opt->xcd_die_id) ?
MES_RRMT_MODE_LOCAL_XCD : MES_RRMT_MODE_REMOTE_XCD;
} else {
- rrmt_opt->mode = MES_RRMT_MODE_LOCAL_REMOTE_AID;
+ rrmt_opt->mode = MES_RRMT_MODE_REMOTE_MID;
}
}