Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Michael Chen and committed by
Alex Deucher
370deb69 44e5195f

+1 -1
+1 -1
drivers/gpu/drm/amd/amdgpu/mes_v12_1.c
··· 512 512 rrmt_opt->mode = (xcc_id == rrmt_opt->xcd_die_id) ? 513 513 MES_RRMT_MODE_LOCAL_XCD : MES_RRMT_MODE_REMOTE_XCD; 514 514 } else { 515 - rrmt_opt->mode = MES_RRMT_MODE_LOCAL_REMOTE_AID; 515 + rrmt_opt->mode = MES_RRMT_MODE_REMOTE_MID; 516 516 } 517 517 } 518 518