Module: Mesa
Branch: main
Commit: fa9a8c85e20f2d006bcf4b57fac05cc3565ac70c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa9a8c85e20f2d006bcf4b57fac05cc3565ac70c

Author: Sajeesh Sidharthan <[email protected]>
Date:   Tue Feb 21 16:47:02 2023 +0530

radeonsi/vcn: disable fence for JPEG decoding

5e1bd07a is causing JPEG decoding regression issue.
Therefore, disable fence for JPEG decoding until fence issue is fixed.

Signed-off-by: Sajeesh Sidharthan <[email protected]>
Reviewed-by: Boyuan Zhang <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21442>

---

 src/gallium/drivers/radeonsi/radeon_vcn_dec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/radeonsi/radeon_vcn_dec.c 
b/src/gallium/drivers/radeonsi/radeon_vcn_dec.c
index 83af282485a..41a8643d2f2 100644
--- a/src/gallium/drivers/radeonsi/radeon_vcn_dec.c
+++ b/src/gallium/drivers/radeonsi/radeon_vcn_dec.c
@@ -2928,7 +2928,7 @@ static void radeon_dec_jpeg_end_frame(struct 
pipe_video_codec *decoder, struct p
       return;
 
    dec->send_cmd(dec, target, picture);
-   dec->ws->cs_flush(&dec->jcs[dec->cb_idx], PIPE_FLUSH_ASYNC, picture->fence);
+   dec->ws->cs_flush(&dec->jcs[dec->cb_idx], PIPE_FLUSH_ASYNC, NULL);
    next_buffer(dec);
    dec->cb_idx = (dec->cb_idx+1) % dec->njctx;
 }

Reply via email to