]> 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)
commit82579b506b2f7664d8153a78dbea6960ff11c2ac
treea5f1e053f250a1dd25bc732ac4f9c24e7965074d
parent6cc6b0003194aa9e768ab085ca6e195688e34f90
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