drm/amdgpu: handle CPU access for split VRAM buffers (v2)
authorChristian König <christian.koenig@amd.com>
Wed, 29 Mar 2017 09:16:05 +0000 (11:16 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Apr 2017 17:26:45 +0000 (13:26 -0400)
commit9bbdcc0fbc392e1fa6b4d1497f9d9454df70466f
tree811bd9a195b384e934005607094158d66c130978
parent89bb5752c054e971fd453456792cb3db3d738f75
drm/amdgpu: handle CPU access for split VRAM buffers (v2)

This avoids merging them together on page fault.

v2: squash in 64-bit division fix

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c