]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: cleanup and simplify amdgpu_vmid_grab_reserved
authorChristian König <christian.koenig@amd.com>
Wed, 31 Jan 2018 10:56:53 +0000 (11:56 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:16 +0000 (14:19 -0500)
commit7700c8f1a45694a4da7b956e3d28e7b3166146eb
treebcebbebc93f0fffb765be9f00f4fd5087dc30cb9
parent7287596cee33022dfa11c30160c962b9b5321537
drm/amdgpu: cleanup and simplify amdgpu_vmid_grab_reserved

Drop the "_locked" from the name, cleanup and simplify the logic a bit.
Add missing comments.

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