]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu - optimize rlc spm cntl
authorJane Jian <Jane.Jian@amd.com>
Sat, 11 May 2024 06:39:34 +0000 (14:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 23 May 2024 19:11:31 +0000 (15:11 -0400)
commitf889f9c68bcc2da0286ee22a566ed07d16b509d9
treea7cc487fc5b9fc26c88cd116b3a2a11b67ba0fa8
parent0b6dc64b4e2254a8aa6318116f684ffb440a6e4c
drm/amdgpu - optimize rlc spm cntl

v1
- driver MMIO read the register to check whether write is required
- if write is required, sriov full time to use rlcg, otherwise use KIQ

v2
- include gfx v11 sriov runtime case

Signed-off-by: Jane Jian <Jane.Jian@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c