drm/amdgpu: Merge get_reserved_allocation to get_vbios_allocations.
authorYongqiang Sun <yongqiang.sun@amd.com>
Mon, 14 Mar 2022 18:17:08 +0000 (14:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Mar 2022 19:01:12 +0000 (15:01 -0400)
commit3f543552846b9ae47c8442af1c506207bdcc00d2
treee1d8ab9d64c79351eaa464721484ed690fb98214
parent9527b9caf82b040e794fba2667f6d8a85a793bb7
drm/amdgpu: Merge get_reserved_allocation to get_vbios_allocations.

Some ASICs need reserved memory for firmware or other components,
which is not allowed to be used by driver.
amdgpu_gmc_get_reserved_allocation is to handle additional areas.
To avoid any missing calling,
merged amdgpu_gmc_get_reserved_allocation to
amdgpu_gmc_get_vbios_allocations.

Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c