]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: correct rlc autoload for xcc harvest
authorLikun Gao <Likun.Gao@amd.com>
Thu, 10 Jul 2025 06:25:03 +0000 (14:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Dec 2025 18:29:07 +0000 (13:29 -0500)
commit005b7f7f93b44ffd93f337c216ddb44d8a7c276b
tree6983e6aaf29f15e406b4ea1bee02eff6aa253d4e
parent4d70e12796a9d80b5a2bbaa22811e1b7be1c719b
drm/amdgpu: correct rlc autoload for xcc harvest

If the number instances of firmware is RLC_NUM_INS_CODE0(Only 1 inst),
need to copy it directly for rlcautolad.
For the firmware which instances number bigger than 1, only copy for
enabled XCC to save copy time.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c