drm/amdgpu: fix AGP location with VRAM at 0x0
authorChristian König <christian.koenig@amd.com>
Thu, 4 Oct 2018 08:27:48 +0000 (10:27 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Oct 2018 22:06:58 +0000 (17:06 -0500)
commit2ccecaf661e0b686a99ad0990e5ce14447942718
treeff141ff381dd1c955b32f22b0270ae5ce2296228
parentbdbb4d6e96bc9558e404bf709480ac2f7783c843
drm/amdgpu: fix AGP location with VRAM at 0x0

That also simplifies handling quite a bit.

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