Bug 108896 - [CI][DRMTIP][SKL][KBL][ICL] igt@kms_chamelium@hdmi-crc-* - fail - Failed assertion: (__kms_addfb(fb->fd, fb->gem_handle, fb->width, fb->height, fb->drm_format, fb->tiling, fb->strides, fb->offsets, fb->num_planes, flags, &fb->fb_id)) == 0
Summary: [CI][DRMTIP][SKL][KBL][ICL] igt@kms_chamelium@hdmi-crc-* - fail - Failed asse...
Status: ASSIGNED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Maarten Lankhorst
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-29 11:05 UTC by Lakshmi
Modified: 2019-01-17 15:31 UTC (History)
1 user (show)

See Also:
i915 platform: ICL, KBL, SKL
i915 features: display/HDMI


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lakshmi 2018-11-29 11:05:10 UTC
About 32 tests are failed due to the same reason.

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_149/fi-icl-u2/igt@kms_chamelium@hdmi-crc-xrgb1555.html

tarting subtest: hdmi-crc-xrgb1555
(kms_chamelium:2552) igt_fb-CRITICAL: Test assertion failure function igt_create_fb_with_bo_size, file ../lib/igt_fb.c:942:
(kms_chamelium:2552) igt_fb-CRITICAL: Failed assertion: (__kms_addfb(fb->fd, fb->gem_handle, fb->width, fb->height, fb->drm_format, fb->tiling, fb->strides, fb->offsets, fb->num_planes, flags, &fb->fb_id)) == 0
(kms_chamelium:2552) igt_fb-CRITICAL: Last errno: 22, Invalid argument
Subtest hdmi-crc-xrgb1555 failed.
**** DEBUG ****
(kms_chamelium:2552) igt_chamelium-DEBUG: Resetting the chamelium
(kms_chamelium:2552) DEBUG: Waiting for HDMI-A-2 to disconnect...
(kms_chamelium:2552) DEBUG: Reprobing HDMI-A-2...
(kms_chamelium:2552) DEBUG: Test requirement passed: res = drmModeGetResources(data->drm_fd)
(kms_chamelium:2552) igt_chamelium-DEBUG: Plugging HDMI-A-2
(kms_chamelium:2552) DEBUG: Waiting for HDMI-A-2 to connect...
(kms_chamelium:2552) DEBUG: Reprobing HDMI-A-2...
(kms_chamelium:2552) igt_kms-DEBUG: display: HDMI-A-2: set_pipe(A)
(kms_chamelium:2552) igt_kms-DEBUG: display: HDMI-A-2: Selecting pipe A
(kms_chamelium:2552) igt_kms-DEBUG: Test requirement passed: plane_idx >= 0 && plane_idx < pipe->n_planes
(kms_chamelium:2552) igt_fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_chamelium:2552) igt_fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(kms_chamelium:2552) ioctl_wrappers-DEBUG: Test requirement passed: igt_has_fb_modifiers(fd)
(kms_chamelium:2552) igt_fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x35315258, tiling=0x0, size=0)
(kms_chamelium:2552) igt_fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=3840)
(kms_chamelium:2552) ioctl_wrappers-DEBUG: Test requirement passed: igt_has_fb_modifiers(fd)
(kms_chamelium:2552) igt_fb-CRITICAL: Test assertion failure function igt_create_fb_with_bo_size, file ../lib/igt_fb.c:942:
(kms_chamelium:2552) igt_fb-CRITICAL: Failed assertion: (__kms_addfb(fb->fd, fb->gem_handle, fb->width, fb->height, fb->drm_format, fb->tiling, fb->strides, fb->offsets, fb->num_planes, flags, &fb->fb_id)) == 0
(kms_chamelium:2552) igt_fb-CRITICAL: Last errno: 22, Invalid argument
(kms_chamelium:2552) igt_core-INFO: Stack trace:
(kms_chamelium:2552) igt_core-INFO:   #0 ../lib/igt_core.c:1467 __igt_fail_assert()
(kms_chamelium:2552) igt_core-INFO:   #1 ../lib/igt_fb.c:944 igt_create_fb_with_bo_size()
(kms_chamelium:2552) igt_core-INFO:   #2 ../lib/igt_fb.c:969 igt_create_fb()
(kms_chamelium:2552) igt_core-INFO:   #3 ../lib/igt_fb.c:2195 igt_fb_convert()
(kms_chamelium:2552) igt_core-INFO:   #4 ../tests/kms_chamelium.c:540 do_test_display_crc()
(kms_chamelium:2552) igt_core-INFO:   #5 ../tests/kms_chamelium.c:590 test_display_crc_one_mode()
(kms_chamelium:2552) igt_core-INFO:   #6 ../tests/kms_chamelium.c:986 __real_main791()
(kms_chamelium:2552) igt_core-INFO:   #7 ../tests/kms_chamelium.c:791 main()
(kms_chamelium:2552) igt_core-INFO:   #8 ../csu/libc-start.c:344 __libc_start_main()
(kms_chamelium:2552) igt_core-INFO:   #9 [_start+0x2a]
****  END  ****
Subtest hdmi-crc-xrgb1555: FAIL (1.169s)
Comment 1 Maarten Lankhorst 2019-01-17 15:08:11 UTC
We currently don't support the xrgb1555 format, so here's a fix that only tests formats supported by the primary plane:

https://patchwork.freedesktop.org/series/55367/
Comment 2 Ville Syrjala 2019-01-17 15:31:05 UTC
(In reply to Maarten Lankhorst from comment #1)
> We currently don't support the xrgb1555 format, so here's a fix that only
> tests formats supported by the primary plane:
> 
> https://patchwork.freedesktop.org/series/55367/

igt_plane_has_format_mod()


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.