Summary: | [CI][SHARDS] igt@kms_plane_scaling@pipe-[abc]-scaler-with-pixel-format - fail - Failed assertion: (__kms_addfb(fb->fd, fb->gem_handle, fb->width,... , fb->modifier, fb->strides, fb->offsets, fb->num_planes, flags, &fb->fb_id)) == 0 | ||
---|---|---|---|
Product: | DRI | Reporter: | Martin Peres <martin.peres> |
Component: | DRM/Intel | Assignee: | Mika Kahola <mika.kahola> |
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Severity: | normal | ||
Priority: | high | CC: | intel-gfx-bugs |
Version: | DRI git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | ReadyForDev | ||
i915 platform: | ICL | i915 features: | display/Other |
Description
Martin Peres
2019-04-09 11:39:26 UTC
The CI Bug Log issue associated to this bug has been updated. ### New filters associated * ICL: igt@kms_plane_scaling@pipe-[abc]-scaler-with-pixel-format - fail - Failed assertion: (__kms_addfb(fb->fd, fb->gem_handle, fb->width, fb->height, ..., fb->modifier, fb->strides, fb->offsets, fb->num_planes, flags, &fb->fb_id)) == 0, Last errno: 22 - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_4933/shard-iclb5/igt@kms_plane_scaling@pipe-c-scaler-with-pixel-format.html - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_4933/shard-iclb5/igt@kms_plane_scaling@pipe-a-scaler-with-pixel-format.html - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_4933/shard-iclb8/igt@kms_plane_scaling@pipe-b-scaler-with-pixel-format.html - https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2823/shard-iclb1/igt@kms_plane_scaling@pipe-a-scaler-with-pixel-format.html - https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2823/shard-iclb2/igt@kms_plane_scaling@pipe-c-scaler-with-pixel-format.html - https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2823/shard-iclb8/igt@kms_plane_scaling@pipe-b-scaler-with-pixel-format.html Assigning Mika to revert his patch and rework his code. Earlier we just skipped the test completely if we bumped up with unsupported format. Now, we do pass the rotation test with additional check that was proposed by the patch, but we are failing with the pixel format test. We just need to add similar check on pixel-format test. ...and the patch is on its way for a CI run and a review https://patchwork.freedesktop.org/series/59225/ The patch is now reviewed and pushed upstream. Let's wait for few CI runs to see if the patch fixes this issue. A CI Bug Log filter associated to this bug has been updated: {- ICL: igt@kms_plane_scaling@pipe-[abc]-scaler-with-pixel-format - fail - Failed assertion: (__kms_addfb(fb->fd, fb->gem_handle, fb->width, fb->height, ..., fb->modifier, fb->strides, fb->offsets, fb->num_planes, flags, &fb->fb_id)) == 0, Last errno: 22 -} {+ ICL: igt@kms_plane_scaling@pipe-[abc]-scaler-with-pixel-format - fail - Failed assertion: (__kms_addfb(fb->fd, fb->gem_handle, fb->width, fb->height, ..., fb->modifier, fb->strides, fb->offsets, fb->num_planes, flags, &fb->fb_id)) == 0 +} No new failures caught with the new filter It seems that by adding igt_plane_has_format_mod() check didn't cure the problem. Earlier I proposed a patch to add kernel supported formats on 90/270 rotation check. Maybe we could reconsider adding this check on igt test? diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c index 3364073c..2d47c14b 100644 --- a/tests/kms_plane_scaling.c +++ b/tests/kms_plane_scaling.c @@ -176,9 +176,25 @@ static const igt_rotation_t rotations[] = { static bool can_rotate(data_t *d, unsigned format) { - if (format == DRM_FORMAT_C8 || - (intel_gen(d->devid) < 11 && format == DRM_FORMAT_RGB565)) + switch (format) { + case DRM_FORMAT_RGB565: + if (intel_gen(d->devid) >= 11) + break; + /* fall through */ + case DRM_FORMAT_C8: + case DRM_FORMAT_XRGB16161616F: + case DRM_FORMAT_XBGR16161616F: + case DRM_FORMAT_ARGB16161616F: + case DRM_FORMAT_ABGR16161616F: + case DRM_FORMAT_Y210: + case DRM_FORMAT_Y212: + case DRM_FORMAT_Y216: + case DRM_FORMAT_XVYU12_16161616: + case DRM_FORMAT_XVYU16161616: return false; + default: + break; + } return true; } -- 2.17.1 There's a patch waiting for comments and a review https://patchwork.freedesktop.org/series/59391/ (In reply to Mika Kahola from comment #8) > There's a patch waiting for comments and a review > > https://patchwork.freedesktop.org/series/59391/ Mika, What is the current status of this review and bug? Is it resolved now? I merged this https://patchwork.freedesktop.org/series/59826/ test change to IGT. We need to wait for couple of CI runs to see, if this change fixes this issue. At least on shards it fixed issues in pre-merge: * igt@kms_plane_scaling@pipe-b-scaler-with-rotation: - shard-iclb: [FAIL][41] ([fdo#109052]) -> [PASS][42] +2 similar issues [41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5971/shard-iclb3/igt@kms_plane_scaling@pipe-b-scaler-with-rotation.html [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2904/shard-iclb6/igt@kms_plane_scaling@pipe-b-scaler-with-rotation.html Should we set this resolved as we just need to wait results author Mika Kahola <mika.kahola@intel.com> 2019-04-23 15:45:27 +0300 committer Mika Kahola <mika.kahola@intel.com> 2019-04-24 12:46:10 +0300 commit c48dba1d65bbe7047b616c13eb4f99c3bdc323a9 (patch) tree fef98880dc077544677cb1a4b90031208fa9d339 parent 7d46f6e4c94bbf8c30c0910880503571f272898c (diff) This issue used to reproduce 100% till IGT_4936_full but not seen later. Current run is 5208. The CI Bug Log issue associated to this bug has been archived. New failures matching the above filters will not be associated to this bug anymore. |
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.