[Mesa-dev] [PATCH 2/2] st/nine: Remove thread_submit warning

Axel Davy davyaxel0 at gmail.com
Sat Nov 10 16:09:36 UTC 2018


thread_submit can be useful even without DRI_PRIME,
as it can help avoid missed pageflips.

Signed-off-by: Axel Davy <davyaxel0 at gmail.com>
---
 src/gallium/targets/d3dadapter9/drm.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/gallium/targets/d3dadapter9/drm.c b/src/gallium/targets/d3dadapter9/drm.c
index 85b3e10633e..6fb8caf5c2f 100644
--- a/src/gallium/targets/d3dadapter9/drm.c
+++ b/src/gallium/targets/d3dadapter9/drm.c
@@ -279,9 +279,6 @@ drm_create_adapter( int fd,
         DBG("You have set a non standard throttling value in combination with thread_submit."
             "We advise to use a throttling value of -2/0");
     }
-    if (ctx->base.thread_submit && !different_device)
-        DBG("You have set thread_submit but do not use a different device than the server."
-            "You should not expect any benefit.");
 
     if (driCheckOption(&userInitOptions, "override_vendorid", DRI_INT)) {
         override_vendorid = driQueryOptioni(&userInitOptions, "override_vendorid");
-- 
2.19.1



More information about the mesa-dev mailing list