]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: Don't move pinned BOs
authorMichel Dänzer <michel.daenzer@amd.com>
Mon, 28 Mar 2016 03:53:02 +0000 (12:53 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 28 Mar 2016 15:55:38 +0000 (11:55 -0400)
commit104ece975746d94b8276cd7f38d6b5c056d700b5
tree1d53b8183f2510bdd5b36f86d0955291e0a4719e
parente1a575ada8d2a3c3f107fdd12ac9215f983a7c80
drm/amdgpu: Don't move pinned BOs

The purpose of pinning is to prevent a buffer from moving.

Reviewed-by: Christian König <christian.koenig@amd.com>
Tested-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@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