summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2025-10-10 17:23:33 +0530
committerAlex Deucher <alexander.deucher@amd.com>2025-10-13 14:14:36 -0400
commit071bba962456a46b261fcefe26bd533cbc059ea2 (patch)
treeddb0f9f8ef6a017f3076441363297756d24a0a7e /drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h
parent80e462c5b1963059dd78ee4650a3dfd53de4a10f (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h
index b1eec3af3c4a..4ce04486cc31 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h
@@ -36,6 +36,7 @@ struct amdgpu_discovery_info {
struct ip_discovery_top *ip_top;
uint32_t size;
uint8_t *bin;
+ bool reserve_tmr;
};
void amdgpu_discovery_fini(struct amdgpu_device *adev);