radeonsi/mm: Remove comment about kernel AV1 instance scheduling bug
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

This has already been fixed. We still want to always use new context
with multi instance VCNs to utilize all instances, so the kernel bug
being present or not won't change the decision there.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41796>
This commit is contained in:
David Rosca 2026-05-26 10:08:43 +02:00 committed by Marge Bot
parent 187c723798
commit 70329cf51f

View file

@ -201,11 +201,6 @@ static bool si_vcn_need_context(struct si_context *ctx)
/* Kernel does VCN instance scheduling per context, so when we have
* multiple instances we should use new context to be able to utilize
* all of them.
* Another issue is with AV1, VCN 3 and VCN 4 only support AV1 on
* first instance. Kernel parses IBs and switches to first instance when
* it detects AV1, but this only works for first submitted IB in context.
* The CS would be rejected if we first decode/encode other codecs, kernel
* schedules on second instance (default) and then we try to decode/encode AV1.
*/
return ctx->screen->info.ip[AMD_IP_VCN_ENC].num_instances > 1;
}