]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/amdgpu: fix placement flags in amdgpu_ttm_bind
authorChristian König <christian.koenig@amd.com>
Fri, 1 Sep 2017 07:22:56 +0000 (09:22 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Sep 2017 16:50:45 +0000 (12:50 -0400)
commit70a9c6b9010848e101ff67a886f2e75209b2f0d1
treec5f35c761075f1cb293ddf27957cc8bdef19e0ff
parent481c2e94897eb74abcfb4a3cdb87f5f89499b93f
drm/amdgpu: fix placement flags in amdgpu_ttm_bind

Otherwise we lose the NO_EVICT flag and can try to evict pinned BOs.

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