drm/amdgpu: cleanup amdgpu_cs_list_validate
authorChristian König <christian.koenig@amd.com>
Mon, 21 Dec 2015 19:31:35 +0000 (20:31 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Feb 2016 19:16:45 +0000 (14:16 -0500)
commit36409d122cb84fa8f25a42b95a32c6090790e571
treeb1d19edfad8b25d539d79fd9582dab10729e6004
parentf69f90a113f283b33b7b750204d708711a42b396
drm/amdgpu: cleanup amdgpu_cs_list_validate

No need to actually check the current placement. Just use the allowed domains
when the threshold is reached.

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_cs.c