summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Liu2019-05-08 17:05:11 +0200
committerAlex Deucher2019-05-24 19:20:51 +0200
commit120c212518c87ba8b07360a2f42ecdd372817b74 (patch)
treee178877077b630255577cd2b98cbde591033d3c6
parentdrm/amdgpu: sdma handle ras resume (diff)
downloadkernel-qcow2-linux-120c212518c87ba8b07360a2f42ecdd372817b74.tar.gz
kernel-qcow2-linux-120c212518c87ba8b07360a2f42ecdd372817b74.tar.xz
kernel-qcow2-linux-120c212518c87ba8b07360a2f42ecdd372817b74.zip
drm/amdgpu: add no_user_fence flag to ring funcs
So we can generalize the no user fence supported engine Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
index d7fae2676269..cdddce938bf5 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
@@ -114,6 +114,7 @@ struct amdgpu_ring_funcs {
uint32_t align_mask;
u32 nop;
bool support_64bit_ptrs;
+ bool no_user_fence;
unsigned vmhub;
unsigned extra_dw;