[Intel-gfx] [PATCH i-g-t 2/2] tests/kms_3d: Use XRGB8888 instead of ARGB8888

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Mon Nov 16 06:47:34 PST 2015


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

We don't allow ARGB8888 anymore on primary planes on most platforms,
so use XRGB8888 instead as the format.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 tests/kms_3d.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_3d.c b/tests/kms_3d.c
index de923ed..4cf765c 100644
--- a/tests/kms_3d.c
+++ b/tests/kms_3d.c
@@ -100,7 +100,7 @@ igt_simple_main
 
 		/* create stereo framebuffer */
 		fb_id = igt_create_stereo_fb(drm_fd, &connector->modes[i],
-					     igt_bpp_depth_to_drm_format(32, 32),
+					     igt_bpp_depth_to_drm_format(32, 24),
 					     LOCAL_DRM_FORMAT_MOD_NONE);
 
 		ret = drmModeSetCrtc(drm_fd, config.crtc->crtc_id, fb_id, 0, 0,
-- 
2.4.10



More information about the Intel-gfx mailing list