drm/amdgpu: split finding idle VMID into separate function
authorChristian König <christian.koenig@amd.com>
Wed, 31 Jan 2018 10:10:19 +0000 (11:10 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:14 +0000 (14:19 -0500)
commit3a80e92b6eca179aab145ae997df0c424d8851ba
tree76e53043ed1c9594f8dbf6c8d3fff369a344a0f1
parent8fe27f8fa08b30c2c515b06209c9de52b392a116
drm/amdgpu: split finding idle VMID into separate function

No functional change, but makes it easier to maintain the code.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c