drm/amdgpu: put GART away from VRAM v2
authorChristian König <christian.koenig@amd.com>
Fri, 24 Aug 2018 08:48:12 +0000 (10:48 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Aug 2018 14:03:37 +0000 (09:03 -0500)
commitec210e3226dc0b481ac1b33082b3b508f89387e3
treea7daa5f0e005183cc288c8018a2ca126f79f0ef4
parentd9997b64c52b70bd98c48f443f068253621d1ffc
drm/amdgpu: put GART away from VRAM v2

Always try to put the GART away from where VRAM is.

v2: correctly handle the 4GB limitation

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