drm/amdgpu: unify VM size handling of Vega10 with older generation
authorChristian König <christian.koenig@amd.com>
Wed, 22 Nov 2017 16:00:35 +0000 (17:00 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:48:29 +0000 (12:48 -0500)
commitb38f41ebb8d0395221e136677387c36bf03fd320
treea51b7f53060aab01f8434bd6612ecca22a239695
parent0410c5e51443ef8ca9ef6db647b07f2f9a46c09a
drm/amdgpu: unify VM size handling of Vega10 with older generation

One function to rule them all.

Signed-off-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/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c