drm/amdgpu: Add helper function amdgpu_ring_set_preempt_cond_exec
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 8 Oct 2018 06:55:42 +0000 (14:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 14:30:39 +0000 (09:30 -0500)
commitdfc9847956d55cdd1111711e2a3d9901967b4368
tree6caae895189706d94ad86411082d10264dc7722b
parent6f298bd8158971cab2d9c1b7f9297b4ec73fe6ea
drm/amdgpu: Add helper function amdgpu_ring_set_preempt_cond_exec

can preempt the ring by setting cond_exec to false

Acked-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h