drm/radeon: use dma_resv_wait_timeout() instead of manually waiting
authorChristian König <christian.koenig@amd.com>
Wed, 27 Oct 2021 11:30:40 +0000 (13:30 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 4 Nov 2021 09:25:06 +0000 (10:25 +0100)
commit89aae41d740f67a7c8b8ee015c44645d218de754
treeed8dbe843579425d3f31ba3a9ee1e13ca81078b2
parentc29d6797228b673c5051d3ed7ef36ae66fe99ac7
drm/radeon: use dma_resv_wait_timeout() instead of manually waiting

Don't touch the exclusive fence manually here, but rather use the
general dma_resv function. We did that for better hw reset handling but
this doesn't necessary work correctly.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deuche <alexander.deucher@amd.com>
Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211028132630.2330-6-christian.koenig@amd.com
drivers/gpu/drm/radeon/radeon_uvd.c