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>
This commit is contained in:
parent
70739e817b
commit
e13f299842
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user