From: Eric Anholt <eric@anholt.net>
To: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org, Eric Anholt <eric@anholt.net>
Subject: [PATCH libdrm 2/2] Silence runtime complaints on platform devices
Date: Fri, 21 Oct 2016 10:12:40 -0700 [thread overview]
Message-ID: <20161021171240.6972-2-eric@anholt.net> (raw)
In-Reply-To: <20161021171240.6972-1-eric@anholt.net>
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
next prev parent reply other threads:[~2016-10-21 17:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-21 17:12 [PATCH libdrm 1/2] Return an -ENODEV from drmGetDevice() when no device was found Eric Anholt
2016-10-21 17:12 ` Eric Anholt [this message]
2016-10-21 17:32 ` [PATCH libdrm 2/2] Silence runtime complaints on platform devices Alex Deucher
2016-10-21 17:32 ` Alex Deucher
2016-10-24 11:11 ` Emil Velikov
2016-10-24 11:11 ` Emil Velikov
2016-10-24 16:35 ` Eric Anholt
2016-10-24 16:35 ` Eric Anholt
2016-10-21 17:24 ` [PATCH libdrm 1/2] Return an -ENODEV from drmGetDevice() when no device was found Alex Deucher
2016-10-21 17:24 ` Alex Deucher
2016-10-21 17:31 ` Emil Velikov
2016-10-21 17:31 ` Emil Velikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161021171240.6972-2-eric@anholt.net \
--to=eric@anholt.net \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.