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