]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: make VMID owner none atomic v2
authorChristian König <christian.koenig@amd.com>
Wed, 31 Jan 2018 10:17:56 +0000 (11:17 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:15 +0000 (14:19 -0500)
commit02ee97ac6f41d8653af51ec1cf4527114aa1ae11
tree7d4a3121e083488bf2f2583556a2465495437a31
parent6842237341a02d1c07623f73b92554e29a536004
drm/amdgpu: make VMID owner none atomic v2

The variable is protected by the VMID mutex anyway.

v2: grab the mutex while resetting the VMID as well

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
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.h