]> 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>
Thu, 12 Oct 2017 14:34:42 +0000 (10:34 -0400)
commit7c0a0025070af743fe768e04c7313df850f2084e
treea011a3721d1fd9af8fe42577918571ee8ad26d71
parent6ab92142a61a392fe149ce242eb8a52e6b0f9642
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