]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d166174779ea3091f1c0435ac0808242a8cc929
treee1d8ab9d64c79351eaa464721484ed690fb98214
parent53d64121dcd02c840a93c39f45915b251ee2e78b
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