]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
drm/amdgpu: add no_user_fence flag to ring funcs
authorLeo Liu <leo.liu@amd.com>
Wed, 8 May 2019 15:05:11 +0000 (11:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:51 +0000 (12:20 -0500)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h

index d7fae2676269478b66fb0fd45dfd450ed37de86f..cdddce938bf59dea7909dd56a066b8303e400b3c 100644 (file)
@@ -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;