[PATCH 02/11] drm/amdgpu: add ring flag for no user submissions
Marek Olšák
maraeo at gmail.com
Mon Mar 17 20:40:26 UTC 2025
On Mon, Mar 17, 2025 at 2:27 PM Alex Deucher <alexdeucher at gmail.com> wrote:
> On Mon, Mar 17, 2025 at 1:23 PM Marek Olšák <maraeo at gmail.com> wrote:
> >
> > Userspace needs a query that a queue IP type is supported.
> "available_rings" is used for that right now, but if that's 0, something
> else must indicate IP support.
> >
> > amd_ip_info::num_queues should be non-zero even when user queues are
> supported. The exact number doesn't matter with user queues.
>
> How will mesa determine whether kernel queues are supported? Can mesa
> look at amd_ip_info::num_queues and if it's 0, check some new INFO
> query to determine if user queues are available? If
> amd_ip_info::num_queues is always non-0, then it would be assumed that
> the kernel supports kernel queues, which it may not.
>
That is to be determined. However, num_queues is also used to indicate
whether the IP is supported, so either the meaning of num_queues has to
change, or the way num_queues is set has to change.
Marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20250317/26d99955/attachment.htm>
More information about the amd-gfx
mailing list