diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2011-10-19 13:32:26 +0200 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2011-10-19 13:35:07 +0200 |
commit | 680b9c4fa3dfb329bd74ec08c17cfc876ea2fc5b (patch) | |
tree | 9ed5ce421bfa4b84da26d1865aa3dd0974474dbf /tests/modetest | |
parent | 3c8adda6e1e6b0471b3d70a63d795622bbeb1580 (diff) |
modetest: Print extra info if we fail to create a framebuffer
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Diffstat (limited to 'tests/modetest')
-rw-r--r-- | tests/modetest/modetest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 35045c87..f65a033b 100644 --- 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; } |