diff options
author | Marek Olšák <[email protected]> | 2018-11-12 15:43:58 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-11-12 16:18:15 -0500 |
commit | e0c7114eb3c19d4c2653f661698a6baa3bc9bedf (patch) | |
tree | c215c7226a609fc4318f7a8627a21fb7f52bf993 /src/mesa/state_tracker | |
parent | c6aaafa3a1745c0c5a3b4cc0e023b74e2eccbaf4 (diff) |
st/mesa: disable L3 thread pinning
This implementation can have massive drawbacks.
Cc: 18.3 <[email protected]>
Reviewed-by: Edmondo Tommasina <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_manager.c | 9 |
1 files changed, 0 insertions, 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 @@ -1072,15 +1072,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); |