drm/amdgpu: use explicit limit for VRAM_CONTIGUOUS
authorChristian König <christian.koenig@amd.com>
Wed, 24 Aug 2016 12:30:21 +0000 (14:30 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Oct 2016 18:38:14 +0000 (14:38 -0400)
commit56de55a1a8fcabf8b3f6a64eedd3b6079b1f2fc7
tree6b8f1152bc3b5a0a90b84adaa9d0813285fff391
parent03f48dd5d2085b978353a804635b6d34e77a5635
drm/amdgpu: use explicit limit for VRAM_CONTIGUOUS

Split VRAM won't have a valid offset, so just set an explicit limit
when the flag is given to trigger reallocation if necessary.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Tested-by: Mike Lothian <mike@fireburn.co.uk>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c