diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-04-19 10:53:12 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-04-19 10:53:12 +0200 |
commit | ab1e1a1ae02269455a3ad71e5d25f9b83eaaa193 (patch) | |
tree | 0b6922ff7293e7b0a48e85c8d638ab7ccdf78e64 /drmtest.c | |
parent | 08307cf9d933f0b5f77b734fd655a01c907c5acd (diff) | |
download | drminfo-ab1e1a1ae02269455a3ad71e5d25f9b83eaaa193.tar.gz |
fixup
Diffstat (limited to 'drmtest.c')
-rw-r--r-- | drmtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -77,7 +77,7 @@ static const struct fbformat fmts[] = { .fourcc = DRM_FORMAT_XRGB8888, .depth = 24, },{ - .name = "rgb32", + .name = "rgb30", .cairo = CAIRO_FORMAT_RGB30, .bpp = 32, .fourcc = DRM_FORMAT_XRGB2101010, @@ -245,7 +245,7 @@ static void drm_init_dumb_fb(const struct fbformat *fmt) &creq.handle, &creq.pitch, &zero, &fb_id, 0); if (rc < 0) { - fprintf(stderr, "drmModeAddFB2() failed for %c%c%c%c\n", + fprintf(stderr, "drmModeAddFB2() failed (fourcc %c%c%c%c)\n", (fmt->fourcc >> 0) & 0xff, (fmt->fourcc >> 8) & 0xff, (fmt->fourcc >> 16) & 0xff, |