summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Harrington <bryce@canonical.com>2013-03-19 12:12:46 -0700
committerKeith Packard <keithp@keithp.com>2013-04-08 09:13:18 -0700
commite13f29984251dbbe6076264ed710c2922312eed1 (patch)
tree4f6db97b81cb1aeff0b61e9d011b9e1988227c96
parent70739e817b2d64bc020ea491f23a3574bdb6155e (diff)
xfree86: Be verbose if waiting on opening the drm device
Signed-off-by: Bryce Harrington <bryce@canonical.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--hw/xfree86/os-support/linux/lnx_platform.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/xfree86/os-support/linux/lnx_platform.c b/hw/xfree86/os-support/linux/lnx_platform.c
index 977d59049..444f8f5d5 100644
--- a/hw/xfree86/os-support/linux/lnx_platform.c
+++ b/hw/xfree86/os-support/linux/lnx_platform.c
@@ -43,7 +43,10 @@ get_drm_info(struct OdevAttributes *attribs, char *path)
if (tries > 1)
LogMessage(X_INFO, "setversion 1.4 succeeded on try #%d\n", tries);
break;
- } else if (err != -EACCES) {
+ } if (err == -EACCES) {
+ if (tries % 500 == 0)
+ LogMessage(X_INFO, "waiting on drm device...\n");
+ } else {
break;
}