<div dir="ltr"><div>Yes, I have a better plan, but I don't know if it will work.</div><div><br></div><div>Marek<br></div><div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 12, 2018 at 4:19 PM Axel Davy <<a href="mailto:davyaxel0@gmail.com" target="_blank">davyaxel0@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there any replacement plan with a new feature ?<br>
<br>
Axel<br>
<br>
On 12/11/2018 21:45, Marek Olšák wrote:<br>
> From: Marek Olšák <<a href="mailto:marek.olsak@amd.com" target="_blank">marek.olsak@amd.com</a>><br>
><br>
> This implementation can have massive drawbacks.<br>
><br>
> Cc: 18.3 <<a href="mailto:mesa-stable@lists.freedesktop.org" target="_blank">mesa-stable@lists.freedesktop.org</a>><br>
> ---<br>
> src/mesa/state_tracker/st_manager.c | 9 ---------<br>
> 1 file changed, 9 deletions(-)<br>
><br>
> diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c<br>
> index 690d5bc2313..076ad42646d 100644<br>
> --- a/src/mesa/state_tracker/st_manager.c<br>
> +++ b/src/mesa/state_tracker/st_manager.c<br>
> @@ -1065,29 +1065,20 @@ st_api_make_current(struct st_api *stapi, struct st_context_iface *stctxi,<br>
> ret = _mesa_make_current(st->ctx, incomplete, incomplete);<br>
> }<br>
> <br>
> st_framebuffer_reference(&stdraw, NULL);<br>
> st_framebuffer_reference(&stread, NULL);<br>
> <br>
> /* Purge the context's winsys_buffers list in case any<br>
> * of the referenced drawables no longer exist.<br>
> */<br>
> st_framebuffers_purge(st);<br>
> -<br>
> - /* Notify the driver that the context thread may have been changed.<br>
> - * This should pin all driver threads to a specific L3 cache for optimal<br>
> - * performance on AMD Zen CPUs.<br>
> - */<br>
> - struct glthread_state *glthread = st->ctx->GLThread;<br>
> - thrd_t *upper_thread = glthread ? &glthread->queue.threads[0] : NULL;<br>
> -<br>
> - util_context_thread_changed(st->pipe, upper_thread);<br>
> }<br>
> else {<br>
> ret = _mesa_make_current(NULL, NULL, NULL);<br>
> }<br>
> <br>
> return ret;<br>
> }<br>
> <br>
> <br>
> static void<br>
<br>
<br>
</blockquote></div></div></div>