drm/amdgpu/gmc8: switch to using amdgpu_gmc_get_vbios_allocations
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Jul 2020 22:29:39 +0000 (18:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Aug 2020 21:29:29 +0000 (17:29 -0400)
commit3853626d2cf3eca3397bc5ffbd4bf2bf0f6eff8c
treef0d31fa3d6f35cc7b95074a6dcad031cd25a3c07
parent71755699b564bf9b03a0d036ca94164c3b5691c0
drm/amdgpu/gmc8: switch to using amdgpu_gmc_get_vbios_allocations

The new helper centralizes the logic in one place.

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c