summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2025-10-10 17:12:52 +0530
committerAlex Deucher <alexander.deucher@amd.com>2025-10-13 14:14:35 -0400
commit9e2096baab9addedde324f406d3ec9166e70d15b (patch)
treec7475f7bf69dcd669b8a73413f625b549c9ab98a /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
parentaa6674f2da055da0629a62eb8debe774515645df (diff)
drm/amdgpu: Add amdgpu_discovery_info
Add amdgpu_discovery_info structure to keep all discovery related information. 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_ttm.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
index 86fc1809681c..a10b2982ca7a 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
@@ -1957,7 +1957,7 @@ int amdgpu_ttm_init(struct amdgpu_device *adev)
* If IP discovery enabled, a block of memory should be
* reserved for IP discovey.
*/
- if (adev->mman.discovery_bin) {
+ if (adev->discovery.bin) {
r = amdgpu_ttm_reserve_tmr(adev);
if (r)
return r;