]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: revise RLCG access path
authorMonk Liu <Monk.Liu@amd.com>
Tue, 10 Mar 2020 12:28:45 +0000 (20:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Mar 2020 20:17:55 +0000 (16:17 -0400)
commiteb8678377067449adb9beb81c1b8ed2f3f76be22
treeb9e9cd5e6583891e88620fec6f9d40794544fe07
parent74adc139e2d252516b96974691c49df88890619e
drm/amdgpu: revise RLCG access path

what changed:
1)provide new implementation interface for the rlcg access path
2)put SQ_CMD/SQ_IND_INDEX to GFX9 RLCG path to let debugfs's reg_op
function can access reg that need RLCG path help

now even debugfs's reg_op can used to dump wave.

tested-by: Monk Liu <monk.liu@amd.com>
tested-by: Zhou pengju <pengju.zhou@amd.com>
Signed-off-by: Zhou pengju <pengju.zhou@amd.com>
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Emily Deng <Emily.Deng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/soc15.h
drivers/gpu/drm/amd/amdgpu/soc15_common.h