]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: restructure amdgpu_vmid_grab
authorChristian König <christian.koenig@amd.com>
Wed, 31 Jan 2018 13:24:45 +0000 (14:24 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:17 +0000 (14:19 -0500)
commitf6388681306de2f66bc7336a89699eeff56c1818
treea5f1e053f250a1dd25bc732ac4f9c24e7965074d
parent3b076a7863db84d0d46be472d38930ff9c5bb6b4
drm/amdgpu: restructure amdgpu_vmid_grab

Now that we have the different cases for grabbing a VMID in separate
functions, restructure the top level function to only have one place
where VMIDs are assigned to jobs.

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