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:

committed by
Marge Bot

parent
87a44c44b4
commit
8f0da0851f
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user