Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1506157

[PATCH libdrm 2/2] Silence runtime complaints on platform devices

From Eric Anholt <eric@anholt.net>
Newsgroups linux.kernel
Subject [PATCH libdrm 2/2] Silence runtime complaints on platform devices
Date 2016-10-21 19:20 +0200
Message-ID <suLE6-dO-7@gated-at.bofh.it> (permalink)
References <suLE6-dO-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH libdrm 2/2] Silence runtime complaints on platform devices Eric Anholt <eric@anholt.net> - 2016-10-21 19:20 +0200
  Re: [PATCH libdrm 2/2] Silence runtime complaints on platform devices Alex Deucher <alexdeucher@gmail.com> - 2016-10-21 19:40 +0200
  Re: [PATCH libdrm 2/2] Silence runtime complaints on platform devices Emil Velikov <emil.l.velikov@gmail.com> - 2016-10-24 13:20 +0200
    Re: [PATCH libdrm 2/2] Silence runtime complaints on platform devices Eric Anholt <eric@anholt.net> - 2016-10-24 18:40 +0200

csiph-web