radeonsi: use CP DMA for the null const buffer clear on CIK
authorMarek Olšák <marek.olsak@amd.com>
Fri, 12 Apr 2019 15:12:34 +0000 (11:12 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 22 Apr 2019 20:05:52 +0000 (16:05 -0400)
commitb58e5fb6f317be771326f98d498483e45942beaf
treec41c6d5a3409a80ac781907546e635401d6557bb
parentf280c36c087bdfc2ad5367fa5da2ae4016d7a4c1
radeonsi: use CP DMA for the null const buffer clear on CIK

This is a workaround for a thread deadlock that I have no idea
why it occurs.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108879
Fixes: 9b331e462e5021d994859756d46cd2519d9c9c6e
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/radeonsi/si_clear.c
src/gallium/drivers/radeonsi/si_compute_blit.c
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_test_dma.c