]> 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)
commit69bf32a9acf79a8eb7ba1b3625aabc3c467ff535
treea011a3721d1fd9af8fe42577918571ee8ad26d71
parentdc55c3712e7d893c782108b68e14d5e4c1cd7b61
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