]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Reserve discovery TMR only if needed
authorLijo Lazar <lijo.lazar@amd.com>
Fri, 10 Oct 2025 11:53:33 +0000 (17:23 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Oct 2025 18:14:36 +0000 (14:14 -0400)
commit071bba962456a46b261fcefe26bd533cbc059ea2
treeddb0f9f8ef6a017f3076441363297756d24a0a7e
parent80e462c5b1963059dd78ee4650a3dfd53de4a10f
drm/amdgpu: Reserve discovery TMR only if needed

For legacy SOCs, discovery binary is sideloaded. Instead of checking for
binary blob, use a flag to determine if discovery region needs to be
reserved.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c