]> git.baikalelectronics.ru Git - 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)
commite005385cc73c4ea482ef19ae7cfb573c697e3069
treec5f35c761075f1cb293ddf27957cc8bdef19e0ff
parent9e6aa6d5c7ea1788ff6949e949a34bdf86a99a4a
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