]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu: minor cleanup for amdgpu_ttm_bind
authorChristian König <christian.koenig@amd.com>
Mon, 16 Oct 2017 11:47:15 +0000 (13:47 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Oct 2017 03:09:39 +0000 (23:09 -0400)
commitec8c9f8be875c48c391a1355255867a2d70d1ee2
tree230f1220586aac0a0c113a26a944bd441f7e834b
parent4694257e7d4757fedaa8dcd18bb5ff52e76a2765
drm/amdgpu: minor cleanup for amdgpu_ttm_bind

Filter the placement mask before using it. In theory it could be that we
have other flags set here as well.

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