tests/exynos: use XRGB8888 for framebuffer

This matches the G2D color mode that is used in the entire code.
The previous (incorrect) RGBA8888 would only work since the
Exynos mixer did its configuration based on the bpp, and not
based on the actual pixelformat.

Reviewed-by: Hyungwon Hwang <human.hwang@samsung.com>
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
main
Tobias Jakobi 2015-11-30 12:12:17 +09:00 committed by Emil Velikov
parent 58a39f6ba1
commit 1b32e5da44
1 changed files with 1 additions and 1 deletions

View File

@ -675,7 +675,7 @@ int main(int argc, char **argv)
offsets[0] = 0; offsets[0] = 0;
ret = drmModeAddFB2(dev->fd, screen_width, screen_height, ret = drmModeAddFB2(dev->fd, screen_width, screen_height,
DRM_FORMAT_RGBA8888, handles, DRM_FORMAT_XRGB8888, handles,
pitches, offsets, &fb_id, 0); pitches, offsets, &fb_id, 0);
if (ret < 0) if (ret < 0)
goto err_destroy_buffer; goto err_destroy_buffer;