gallium/pipe: change PIPE_DEFAULT_DECODER_FEEDBACK_TIMEOUT_NS to 1 second
authorSonny Jiang <sonny.jiang@amd.com>
Mon, 3 Apr 2023 15:58:29 +0000 (11:58 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 4 Apr 2023 20:05:26 +0000 (20:05 +0000)
commit7360aa020cf43fe22408e467e038f25d0028aaec
tree36d4a233509bec8b7ea4cc46d35e9c7033da6759
parent3ede37f8a65be46ac1919878529f5a87d083323f
gallium/pipe: change PIPE_DEFAULT_DECODER_FEEDBACK_TIMEOUT_NS to 1 second

Fixes: 5e1bd07a ("radeonsi: vcn: implement the get_decoder_fence vfunc")
The commit [5e1bd07a] puts a timeout on fence_wait which causes a 8k AV1
decoding regression on gfx940. By adding DECODER_FEEDBACK_TIMEOUT to
add fence wait time.

Signed-off-by: Sonny Jiang <sonny.jiang@amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22268>
src/gallium/include/pipe/p_video_state.h