aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt2016-10-21 12:09:47 -0500
committerEric Anholt2016-10-21 14:50:56 -0500
commit2d8c01f256011c013edf3a76672d6ce9e2b05d8f (patch)
treeaa1d9189cf9d51380d440bfd3a8212eebc7dbed4 /xf86drm.c
parent677cd97dc4a930af508388713f5016baf664ed18 (diff)
downloadexternal-libgbm-2d8c01f256011c013edf3a76672d6ce9e2b05d8f.tar.gz
external-libgbm-2d8c01f256011c013edf3a76672d6ce9e2b05d8f.tar.xz
external-libgbm-2d8c01f256011c013edf3a76672d6ce9e2b05d8f.zip
Silence runtime complaints on platform devices
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> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'xf86drm.c')
-rw-r--r--xf86drm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xf86drm.c b/xf86drm.c
index 9b52889e..52add5e4 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -3149,7 +3149,6 @@ int drmGetDevice(int fd, drmDevicePtr *device)
3149 3149
3150 break; 3150 break;
3151 default: 3151 default:
3152 fprintf(stderr, "The subsystem type is not supported yet\n");
3153 continue; 3152 continue;
3154 } 3153 }
3155 3154
@@ -3259,7 +3258,6 @@ int drmGetDevices(drmDevicePtr devices[], int max_devices)
3259 3258
3260 break; 3259 break;
3261 default: 3260 default:
3262 fprintf(stderr, "The subsystem type is not supported yet\n");
3263 continue; 3261 continue;
3264 } 3262 }
3265 3263