radeonsi/vcn: engage all jpeg engines on gfx940 for mjpeg decode

engage all available jpeg engines to decode mjpeg video frames

Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22388>
This commit is contained in:
Sathishkumar S
2023-03-29 05:58:50 -05:00
committed by Marge Bot
parent 87a44c44b4
commit 8f0da0851f

View File

@@ -3092,6 +3092,8 @@ struct pipe_video_codec *radeon_create_decoder(struct pipe_context *context,
if (sctx->family == CHIP_MI100 || sctx->family == CHIP_MI200)
dec->njctx = 2;
else if (sctx->family == CHIP_GFX940)
dec->njctx = 24;
else
dec->njctx = 1;