aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Jakobi2015-11-29 21:12:17 -0600
committerEmil Velikov2015-12-18 11:42:54 -0600
commit1b32e5da44f4c1e24a60c6bad1fa8766cf36be39 (patch)
treef4f118e25df4f405e1321622711b74b688787548 /tests/exynos/exynos_fimg2d_test.c
parent58a39f6ba113073432dc0cd0ae702aba332c81b7 (diff)
downloadexternal-libgbm-1b32e5da44f4c1e24a60c6bad1fa8766cf36be39.tar.gz
external-libgbm-1b32e5da44f4c1e24a60c6bad1fa8766cf36be39.tar.xz
external-libgbm-1b32e5da44f4c1e24a60c6bad1fa8766cf36be39.zip
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>
Diffstat (limited to 'tests/exynos/exynos_fimg2d_test.c')
-rw-r--r--tests/exynos/exynos_fimg2d_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c
index 8794dac3..dfb00a0b 100644
--- a/tests/exynos/exynos_fimg2d_test.c
+++ b/tests/exynos/exynos_fimg2d_test.c
@@ -675,7 +675,7 @@ int main(int argc, char **argv)
675 offsets[0] = 0; 675 offsets[0] = 0;
676 676
677 ret = drmModeAddFB2(dev->fd, screen_width, screen_height, 677 ret = drmModeAddFB2(dev->fd, screen_width, screen_height,
678 DRM_FORMAT_RGBA8888, handles, 678 DRM_FORMAT_XRGB8888, handles,
679 pitches, offsets, &fb_id, 0); 679 pitches, offsets, &fb_id, 0);
680 if (ret < 0) 680 if (ret < 0)
681 goto err_destroy_buffer; 681 goto err_destroy_buffer;