Bug 109811

Summary: [CI][DRMTIP] igt@kms_chamelium@hdmi-crc|cmp* - skip - Test requirement: igt_plane_has_format_mod(primary, fourcc, LOCAL_DRM_FORMAT_MOD_NONE), SKIP
Product: DRI Reporter: Lakshmi <lakshminarayana.vudum>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: RESOLVED NOTABUG QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: ICL i915 features: display/HDMI

Description Lakshmi 2019-03-02 09:36:31 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_233/fi-icl-u2/igt@kms_chamelium@hdmi-cmp-yv16.html

	
Test requirement not met in function require_connector_present, file ../tests/kms_chamelium.c:92:
Test requirement: found
No port of type DP was found
Starting subtest: hdmi-cmp-yv16
Test requirement not met in function test_display_one_mode, file ../tests/kms_chamelium.c:621:
Test requirement: igt_plane_has_format_mod(primary, fourcc, LOCAL_DRM_FORMAT_MOD_NONE)
Subtest hdmi-cmp-yv16: SKIP (1.150s)
Test requirement not met in function require_connector_present, file ../tests/kms_chamelium.c:92:
Test requirement: found
No port of type VGA was found
Comment 2 Juha-Pekka Heikkilä 2019-03-04 13:26:28 UTC
Without digging deeper why this test skips this part in kms_chamelium.c looks wrong as it's always true and it takes part into deciding if test should be skipped:

/tests/kms_chamelium.c
@@ -196,8 @@ check_analog_bridge(data_t *data, struct chamelium_port *port)
        drmModeFreePropertyBlob(edid_blob);
        drmModeFreeConnector(connector);
 
	/* Analog bridges provide their own EDID */
	if (edid_vendor[0] != 'I' || edid_vendor[1] != 'G' ||
	    edid_vendor[0] != 'T')
		return true;
Comment 3 Maarten Lankhorst 2019-03-06 11:04:54 UTC
All the tests that are skipping have formats not supported on i915.
Previously they would fail because we tried to create a fb with those formats, without support in the driver.

rgb888 is a 3 byte version of xrgb8888.
nv21 is nv12 with uv swapped etc.
This requires the hw to support those formats, and our hardware doesn't.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.