OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c8adda
)
modetest: Print extra info if we fail to create a framebuffer
author
Jakob Bornecrantz
<jakob@vmware.com>
Wed, 19 Oct 2011 11:32:26 +0000
(13:32 +0200)
committer
Jakob Bornecrantz
<jakob@vmware.com>
Wed, 19 Oct 2011 11:35:07 +0000
(13:35 +0200)
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
tests/modetest/modetest.c
patch
|
blob
|
history
diff --git
a/tests/modetest/modetest.c
b/tests/modetest/modetest.c
index
35045c8
..
f65a033
100644
(file)
--- a/
tests/modetest/modetest.c
+++ b/
tests/modetest/modetest.c
@@
-568,7
+568,8
@@
set_mode(struct connector *c, int count, int page_flip)
kms_bo_get_prop(bo, KMS_HANDLE, &handle);
ret = drmModeAddFB(fd, width, height, 24, 32, stride, handle, &fb_id);
if (ret) {
- fprintf(stderr, "failed to add fb: %s\n", strerror(errno));
+ fprintf(stderr, "failed to add fb (%ux%u): %s\n",
+ width, height, strerror(errno));
return;
}