]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit27462523098e2e43b99bbd635e6a0af7ff9c28ac
tree6caae895189706d94ad86411082d10264dc7722b
parentf8ca1fdbcef35cf635c77c5bc20e221647bd3464
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