Bug 108146

Summary: [CI][SHARDS] igt@kms_plane_alpha_blend@pipe-[bc]-(alpha|coverage)-7efc - fail - Failed assertion: pipe_crc->crc_fd != -1
Product: DRI Reporter: Martin Peres <martin.peres>
Component: DRM/IntelAssignee: Maarten Lankhorst <bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: high CC: intel-gfx-bugs
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: BXT, CFL, CNL, GLK, ICL, KBL, SKL i915 features: display/Other

Description Martin Peres 2018-10-03 08:45:41 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4914/shard-skl2/igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4914/shard-apl2/igt@kms_plane_alpha_blend@pipe-c-coverage-7efc.html

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4914/shard-kbl4/igt@kms_plane_alpha_blend@pipe-c-alpha-7efc.html

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4914/shard-glk2/igt@kms_plane_alpha_blend@pipe-c-alpha-7efc.html

Starting subtest: pipe-C-alpha-7efc
(kms_plane_alpha_blend:8943) igt_debugfs-CRITICAL: Test assertion failure function igt_pipe_crc_start, file ../lib/igt_debugfs.c:790:
(kms_plane_alpha_blend:8943) igt_debugfs-CRITICAL: Failed assertion: pipe_crc->crc_fd != -1
(kms_plane_alpha_blend:8943) igt_debugfs-CRITICAL: Last errno: 5, Input/output error
Subtest pipe-C-alpha-7efc failed.
Comment 1 Martin Peres 2018-10-09 14:01:16 UTC
Also seen on BXT: https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_121/fi-bxt-dsi/igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html

Starting subtest: pipe-B-coverage-7efc
(kms_plane_alpha_blend:1088) igt_debugfs-CRITICAL: Test assertion failure function igt_pipe_crc_start, file ../lib/igt_debugfs.c:790:
(kms_plane_alpha_blend:1088) igt_debugfs-CRITICAL: Failed assertion: pipe_crc->crc_fd != -1
(kms_plane_alpha_blend:1088) igt_debugfs-CRITICAL: Last errno: 5, Input/output error
Subtest pipe-B-coverage-7efc failed.
Comment 2 Martin Peres 2018-10-09 14:08:53 UTC
Also seen on ICL: https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_121/fi-icl-u/igt@kms_plane_alpha_blend@pipe-c-alpha-7efc.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_121/fi-icl-u/igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html

Starting subtest: pipe-B-coverage-7efc
(kms_plane_alpha_blend:1113) igt_debugfs-CRITICAL: Test assertion failure function igt_pipe_crc_start, file ../lib/igt_debugfs.c:790:
(kms_plane_alpha_blend:1113) igt_debugfs-CRITICAL: Failed assertion: pipe_crc->crc_fd != -1
(kms_plane_alpha_blend:1113) igt_debugfs-CRITICAL: Last errno: 5, Input/output error
Subtest pipe-B-coverage-7efc failed.
Comment 3 Maarten Lankhorst 2018-10-16 16:03:37 UTC
https://patchwork.freedesktop.org/series/50486/
Comment 4 Maarten Lankhorst 2018-10-26 13:20:07 UTC
commit ee9a10aa13cfb3c5b6520643a84b2f12ebc9fca5 (HEAD, origin/master, origin/HEAD)
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Wed Oct 3 10:59:45 2018 +0200

    kms_plane_alpha_blend: Start CRC after enabling display.
    
    This will fix the -EIO from trying to start CRC on a disabled pipe.
Comment 5 Martin Peres 2018-10-30 16:50:41 UTC
(In reply to Maarten Lankhorst from comment #4)
> commit ee9a10aa13cfb3c5b6520643a84b2f12ebc9fca5 (HEAD, origin/master,
> origin/HEAD)
> Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> Date:   Wed Oct 3 10:59:45 2018 +0200
> 
>     kms_plane_alpha_blend: Start CRC after enabling display.
>     
>     This will fix the -EIO from trying to start CRC on a disabled pipe.

Still hapenning all the time:

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_134/fi-icl-u2/igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_134/fi-kbl-r/igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_134/fi-skl-gvtdvm/igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_134/fi-skl-iommu/igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_134/fi-whl-u/igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html

Starting subtest: pipe-B-coverage-7efc
(kms_plane_alpha_blend:1156) igt_debugfs-CRITICAL: Test assertion failure function igt_pipe_crc_start, file ../lib/igt_debugfs.c:817:
(kms_plane_alpha_blend:1156) igt_debugfs-CRITICAL: Failed assertion: pipe_crc->crc_fd != -1
(kms_plane_alpha_blend:1156) igt_debugfs-CRITICAL: Last errno: 5, Input/output error
Subtest pipe-B-coverage-7efc failed.
Comment 6 Martin Peres 2018-10-30 16:54:38 UTC
(In reply to Martin Peres from comment #5)
> (In reply to Maarten Lankhorst from comment #4)
> > commit ee9a10aa13cfb3c5b6520643a84b2f12ebc9fca5 (HEAD, origin/master,
> > origin/HEAD)
> > Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> > Date:   Wed Oct 3 10:59:45 2018 +0200
> > 
> >     kms_plane_alpha_blend: Start CRC after enabling display.
> >     
> >     This will fix the -EIO from trying to start CRC on a disabled pipe.
> 
> Still hapenning all the time:
> 
> https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_134/fi-icl-u2/
> igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html
> 
> https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_134/fi-kbl-r/
> igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html
> 
> https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_134/fi-skl-gvtdvm/
> igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html
> 
> https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_134/fi-skl-iommu/
> igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html
> 
> https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_134/fi-whl-u/
> igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html
> 
> Starting subtest: pipe-B-coverage-7efc
> (kms_plane_alpha_blend:1156) igt_debugfs-CRITICAL: Test assertion failure
> function igt_pipe_crc_start, file ../lib/igt_debugfs.c:817:
> (kms_plane_alpha_blend:1156) igt_debugfs-CRITICAL: Failed assertion:
> pipe_crc->crc_fd != -1
> (kms_plane_alpha_blend:1156) igt_debugfs-CRITICAL: Last errno: 5,
> Input/output error
> Subtest pipe-B-coverage-7efc failed.

Actually, this got fixed by:

ee9a10aa kms_plane_alpha_blend: Start CRC after enabling display.

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.