drm/amdgpu/gmc7: switch to using amdgpu_gmc_get_vbios_allocations
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Jul 2020 22:29:20 +0000 (18:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Aug 2020 21:29:28 +0000 (17:29 -0400)
commit71755699b564bf9b03a0d036ca94164c3b5691c0
treea958f13bdf704af8744b8b157b518721dcf15358
parent422fe8d27dcf180caf1e3755b9bf7c1b4de5f56a
drm/amdgpu/gmc7: 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_v7_0.c