From: Leo Liu Date: Wed, 8 May 2019 15:05:11 +0000 (-0400) Subject: drm/amdgpu: add no_user_fence flag to ring funcs X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~4204^2~28^2~104 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=120c212518c87ba8b07360a2f42ecdd372817b74;p=linux.git 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 Reviewed-by: Alex Deucher Reviewed-by: Christian König Signed-off-by: Alex Deucher --- 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;