[Mesa-dev] [PATCH] mesa gallium: use compute shaders for vaapi blit

Marek Olšák maraeo at gmail.com
Wed Apr 3 12:37:48 UTC 2019


On Tue, Apr 2, 2019 at 2:14 PM Eric Anholt <eric at anholt.net> wrote:

> Ilia Mirkin <imirkin at alum.mit.edu> writes:
>
> > Shouldn't this sort of decision be left up to the driver? If the
> > driver would like to use CS for blits, fine, but why not let it blit
> > in the most optimal way possible and force it to use a compute shader?
>
> Yeah, commit messages require an explanation of why a change is being
> made.
>

We plan to create vaapi contexts with PIPE_CONTEXT_COMPUTE_ONLY for better
GPU multitasking.

RadeonSI uses async compute queues if PIPE_CONTEXT_COMPUTE_ONLY is set, so
it can't do any graphics stuff, not even blit. (pipe_context::blit is NULL)

Marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190403/72d39941/attachment.html>


More information about the mesa-dev mailing list