]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: set bulk_moveable to false when lru changed v2
authorChunming Zhou <david1.zhou@amd.com>
Thu, 10 Jan 2019 07:49:54 +0000 (15:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:34 +0000 (16:15 -0500)
commitb61857b5e365889d67a6296c413df396032d374d
tree24f4ead4c6a9fa9778856f767b8c33cc65f9b4ca
parentae6d343541bb75958e9535d056adaf4ff6a66d6a
drm/amdgpu: set bulk_moveable to false when lru changed v2

if lru is changed, we cannot do bulk moving.
v2:
root bo isn't in bulk moving, skip its change.

Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h