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)
commit102374488dd608a9dd3fda962b9bb725848f8c3b
tree7d4a3121e083488bf2f2583556a2465495437a31
parent3a80e92b6eca179aab145ae997df0c424d8851ba
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