Mesa (master): st/nine: Remove thread_submit warning

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Nov 21 18:55:40 UTC 2018


Module: Mesa
Branch: master
Commit: 1f1d4d571afd3a0e0f89b4dcf82d4a8d5d97bddf
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f1d4d571afd3a0e0f89b4dcf82d4a8d5d97bddf

Author: Axel Davy <davyaxel0 at gmail.com>
Date:   Sat Nov 10 16:57:31 2018 +0100

st/nine: Remove thread_submit warning

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>
Tested-by: Andre Heider <a.heider 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 85b3e10633..6fb8caf5c2 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");




More information about the mesa-commit mailing list