summaryrefslogtreecommitdiff
path: root/Documentation/process/kernel-enforcement-statement.rst
diff options
context:
space:
mode:
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>2017-10-12 23:46:26 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-12-05 00:33:11 +0300
commit83f4b1180155f2d65472ce943a1f051215030560 (patch)
tree6e9a6740c8bb3f720ac65a480e5ec347c278d240 /Documentation/process/kernel-enforcement-statement.rst
parent27105db6c63a571b91d01e749d026105a1e63bcf (diff)
downloadlinux-83f4b1180155f2d65472ce943a1f051215030560.tar.xz
drm/amdgpu: Fix deadlock during GPU reset.
Bug: Kfifo is limited at size, during GPU reset it would fill up to limit and the pushing thread (producer) would wait for the scheduler worker to consume the items in the fifo while holding reservation lock on a BO. The gpu reset thread on the other hand blocks the scheduler during reset. Before it unblocks the sceduler it might want to recover VRAM and so will try to reserve the same BO the producer thread is already holding creating a deadlock. Fix: Switch from kfifo to SPSC queue which is unlimited in size. Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'Documentation/process/kernel-enforcement-statement.rst')
0 files changed, 0 insertions, 0 deletions