summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-03-04 09:31:56 -0800
committerEric Anholt <eric@anholt.net>2010-03-04 10:13:34 -0800
commitd92d42303e5ca9f4208ed97823ad8f691121370f (patch)
tree1065546c44b5a4102f691c47afbd54ae24b7fe2e /src
parentfaecd155c49229499e29815eb6e79662ed33ddd5 (diff)
Remove pre-2.6.29 error message handling since we require KMS.
Diffstat (limited to 'src')
-rw-r--r--src/i830_driver.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index c65de286..33138d73 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -1390,15 +1390,9 @@ static Bool I830EnterVT(int scrnIndex, int flags)
ret = drmSetMaster(intel->drmSubFD);
if (ret) {
- if (errno == EINVAL) {
- xf86DrvMsg(scrn->scrnIndex, X_WARNING,
- "drmSetMaster failed: 2.6.29 or newer kernel required for "
- "multi-server DRI\n");
- } else {
- xf86DrvMsg(scrn->scrnIndex, X_WARNING,
- "drmSetMaster failed: %s\n",
- strerror(errno));
- }
+ xf86DrvMsg(scrn->scrnIndex, X_WARNING,
+ "drmSetMaster failed: %s\n",
+ strerror(errno));
}
if (!i830_reinit_memory(scrn))