aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorShaoyun Liu <[email protected]>2017-04-28 21:18:26 +0000
committerAlex Deucher <[email protected]>2017-05-24 21:40:12 +0000
commitcdf6adb28f79e728389b2e1a5e524504ce710eb6 (patch)
treed484f159d7673b510fed348365593680f3311cd4 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdgpu: bump module verion for reserved vmid (diff)
downloadkernel-cdf6adb28f79e728389b2e1a5e524504ce710eb6.tar.gz
kernel-cdf6adb28f79e728389b2e1a5e524504ce710eb6.zip
drm/amdgpu: Move kiq ring lock out of virt structure
The usage of kiq should not depend on the virtualization. Signed-off-by: Shaoyun Liu <[email protected]> Reviewed-by:Andres Rodriquez <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 3608f165a705..8edc26c3ce64 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -907,6 +907,7 @@ struct amdgpu_mec {
struct amdgpu_kiq {
u64 eop_gpu_addr;
struct amdgpu_bo *eop_obj;
+ struct mutex ring_mutex;
struct amdgpu_ring ring;
struct amdgpu_irq_src irq;
};