mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-02 13:00:36 +02:00
st/mesa: disable L3 thread pinning
This implementation can have massive drawbacks.
Cc: 18.3 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
(cherry picked from commit e0c7114eb3)
This commit is contained in:
parent
6a706763d0
commit
7ea4e43c55
1 changed files with 0 additions and 9 deletions
|
|
@ -1069,15 +1069,6 @@ st_api_make_current(struct st_api *stapi, struct st_context_iface *stctxi,
|
|||
* 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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue