lkml.org 
[lkml]   [2016]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH libdrm 2/2] Silence runtime complaints on platform devices
Date
glxgears was spamming this 12 times at startup because of Mesa's
probing of the DRM device code, which doesn't support platform
devices.

Signed-off-by: Eric Anholt <eric@anholt.net>
---
xf86drm.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/xf86drm.c b/xf86drm.c
index 9b52889e4cef..52add5e441d7 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -3149,7 +3149,6 @@ int drmGetDevice(int fd, drmDevicePtr *device)

break;
default:
- fprintf(stderr, "The subsystem type is not supported yet\n");
continue;
}

@@ -3259,7 +3258,6 @@ int drmGetDevices(drmDevicePtr devices[], int max_devices)

break;
default:
- fprintf(stderr, "The subsystem type is not supported yet\n");
continue;
}

--
2.9.3
\
 
 \ /
  Last update: 2016-10-21 19:12    [W:0.074 / U:4.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site