Bug 103442 - [CI] igt@kms_atomic@test_only - fail - Test assertion failure function kmstest_dumb_create
Summary: [CI] igt@kms_atomic@test_only - fail - Test assertion failure function kmste...
Status: CLOSED DUPLICATE of bug 103720
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-25 07:27 UTC by Marta Löfstedt
Modified: 2018-01-04 20:00 UTC (History)
1 user (show)

See Also:
i915 platform: GLK
i915 features: display/Other


Attachments

Description Marta Löfstedt 2017-10-25 07:27:12 UTC
GLK-shards

(kms_cursor_crc:11171) igt-kms-WARNING: connector 76/eDP-1 has no modes
(kms_cursor_crc:11171) igt-kms-CRITICAL: Test assertion failure function kmstest_dumb_create, file igt_kms.c:518:
(kms_cursor_crc:11171) igt-kms-CRITICAL: Failed assertion: igt_ioctl((fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0xB2)) << 0) | ((((sizeof(struct drm_mode_create_dumb)))) << ((0+8)+8)))), (&create)) == 0
(kms_cursor_crc:11171) igt-kms-CRITICAL: Last errno: 22, Invalid argument
(kms_cursor_crc:11171) igt-kms-CRITICAL: error: -1 != 0
Subtest cursor-size-change failed.

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3278/shard-glkb5/igt@kms_cursor_crc@cursor-size-change.html
Comment 1 Marta Löfstedt 2017-10-25 07:36:14 UTC

*** This bug has been marked as a duplicate of bug 103369 ***
Comment 2 Marta Löfstedt 2017-10-25 08:03:08 UTC
I reopen this because, here is basically the same issue, but there is no WARNING on "no modes". 


(kms_atomic:11220) igt-kms-CRITICAL: Test assertion failure function kmstest_dumb_create, file igt_kms.c:518:
(kms_atomic:11220) igt-kms-CRITICAL: Failed assertion: igt_ioctl((fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0xB2)) << 0) | ((((sizeof(struct drm_mode_create_dumb)))) << ((0+8)+8)))), (&create)) == 0
(kms_atomic:11220) igt-kms-CRITICAL: Last errno: 22, Invalid argument
(kms_atomic:11220) igt-kms-CRITICAL: error: -1 != 0
Test kms_atomic failed.


https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3278/shard-glkb5/igt@kms_atomic@test_only.html

Note, for glkb5 on CI_DRM_3278 I filed a lot of no modes test on bug 103369. I suspect that igt@kms_atomic@test_only actually fail for the same reason, but that it isn't checking for available modes and hence we don't see the such warning.
Comment 3 Marta Löfstedt 2017-10-25 13:18:56 UTC
Also, is it really the purpose to go down the kmstest_dumb_create route through:

static int create_bo_for_fb(int fd, int width, int height, uint32_t format,
			    uint64_t tiling, unsigned size, unsigned stride,
			    unsigned *size_ret, unsigned *stride_ret,
			    bool *is_dumb)

or are we dumb:ed there due to: if (tiling || size || stride), because fb is bad.
Comment 4 Marta Löfstedt 2017-11-16 08:49:56 UTC

*** This bug has been marked as a duplicate of bug 103720 ***


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.