tests/kms_3d: Use igt_assert_eq()
PATCH 1/2 tests/kms_3d: Use igt_assert_eq()
From: Ville Syrjälä <[email protected]>
Would be nice to see how many stereo modes we managed to extract from the EDID if it doesn't match the expected 13. So use igt_assert_eq() which prints the real count on failure.
Signed-off-by Ville Syrjälä <[email protected]>
--- tests/kms_3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/kms_3d.c +1 -1
@@ -72,7 +72,7 @@ igt_simple_main mode_count++; } -igt_assert (mode_count ==13 ); +igt_assert_eq (mode_count,13 );/* set 3D modes */ igt_info ("Testing:\n" );
Signature · 6 lines
2.4.10 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/2 tests/kms_3d: Use XRGB8888 instead of ARGB8888
From: Ville Syrjälä <[email protected]>
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ä <[email protected]>
--- tests/kms_3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/kms_3d.c +1 -1
@@ -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,
Signature · 6 lines
2.4.10 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx