<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 2, 2019 at 2:14 PM Eric Anholt <<a href="mailto:eric@anholt.net">eric@anholt.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu" target="_blank">imirkin@alum.mit.edu</a>> writes:<br>
<br>
> Shouldn't this sort of decision be left up to the driver? If the<br>
> driver would like to use CS for blits, fine, but why not let it blit<br>
> in the most optimal way possible and force it to use a compute shader?<br>
<br>
Yeah, commit messages require an explanation of why a change is being<br>
made.<br></blockquote><div><br></div>We plan to create vaapi contexts with PIPE_CONTEXT_COMPUTE_ONLY for better GPU multitasking.</div><div class="gmail_quote"><br></div><div class="gmail_quote">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)<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Marek<br></div></div>