drm/amdgpu: cleanup vm_size handling
authorChristian König <christian.koenig@amd.com>
Sat, 4 Nov 2017 15:51:44 +0000 (16:51 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:21 +0000 (12:47 -0500)
commitfdd5faaa08f891153ac4fd8cedace6d95bed0968
treeb342a5442fab53bd1b44366d070932fca7e13f1d
parentc47b41a79ab5e8faec9aea6c4a06c4d1e4d1132f
drm/amdgpu: cleanup vm_size handling

It's pointless to have the same value twice, just always use max_pfn.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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