Bug 107719

Summary: [CI][DRMTIP] igt@kms_frontbuffer_tracking@* - fail - PSR still disabled
Product: DRI Reporter: Martin Peres <martin.peres>
Component: DRM/IntelAssignee: Jose Roberto de Souza <jose.souza>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs, jose.souza
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: BDW, ICL i915 features: display/PSR

Description Martin Peres 2018-08-28 13:48:28 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_95/fi-icl-u/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-fullscreen.html

(kms_frontbuffer_tracking:2905) CRITICAL: Test assertion failure function do_status_assertions, file ../tests/kms_frontbuffer_tracking.c:1638:
(kms_frontbuffer_tracking:2905) CRITICAL: Failed assertion: psr_wait_entry(drm.fd)
(kms_frontbuffer_tracking:2905) CRITICAL: PSR still disabled
Comment 1 Martin Peres 2018-08-29 16:56:33 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_93/fi-bdw-samus/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-onoff.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_93/fi-bdw-samus/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-move.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_93/fi-bdw-samus/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-blt.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_93/fi-bdw-samus/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-gtt.html

(kms_frontbuffer_tracking:1237) CRITICAL: Test assertion failure function do_status_assertions, file ../tests/kms_frontbuffer_tracking.c:1638:
(kms_frontbuffer_tracking:1237) CRITICAL: Failed assertion: psr_wait_entry(drm.fd)
(kms_frontbuffer_tracking:1237) CRITICAL: PSR still disabled
Subtest psr-1p-primscrn-spr-indfb-draw-mmap-gtt failed.(km
Comment 2 James Ausmus 2018-08-30 04:50:47 UTC
PSR is disabled by default, so lowering to medium
Comment 3 Jose Roberto de Souza 2018-09-18 22:44:15 UTC
This one should be fixed by https://patchwork.freedesktop.org/series/49876/
Comment 4 Jose Roberto de Souza 2018-10-12 22:02:46 UTC
b4ca1cc2802e674953f19a15ac06938bbf58ffe3 - tests/kms_frontbuffer_tracking: Pass the debugfs fd to psr_wait_entry() was merged fixing this
Comment 5 Lakshmi 2018-10-22 18:58:30 UTC
Jose, This issue still happening with drm-tip 130 round.
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_130/fi-icl-u2/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-shrfb-pgflip-blt.html
Comment 6 Jose Roberto de Souza 2018-10-22 21:19:14 UTC
Hi Lakshmi

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_130/fi-icl-u2/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-shrfb-pgflip-blt.html
It other issue, this one(107719) is about PSR not being enabled because we were using the wrong file descriptor and in the one that you reported we are writing to the right file descriptor but by some reason PSR is not being enabled.
Here the difference:

(kms_frontbuffer_tracking:1237) CRITICAL: Failed assertion: psr_wait_entry(drm.fd)


(kms_frontbuffer_tracking:1035) CRITICAL: Failed assertion: psr_wait_entry(drm.debugfs)


I will take a look at https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_130/fi-icl-u2/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-shrfb-pgflip-blt.html but it should be another bug.
Comment 7 Martin Peres 2018-11-13 16:24:50 UTC
(In reply to Jose Roberto de Souza from comment #6)
> Hi Lakshmi
> 
> https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_130/fi-icl-u2/
> igt@kms_frontbuffer_tracking@psr-2p-scndscrn-shrfb-pgflip-blt.html
> It other issue, this one(107719) is about PSR not being enabled because we
> were using the wrong file descriptor and in the one that you reported we are
> writing to the right file descriptor but by some reason PSR is not being
> enabled.
> Here the difference:
> 
> (kms_frontbuffer_tracking:1237) CRITICAL: Failed assertion:
> psr_wait_entry(drm.fd)
> 
> 
> (kms_frontbuffer_tracking:1035) CRITICAL: Failed assertion:
> psr_wait_entry(drm.debugfs)
> 
> 
> I will take a look at
> https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_130/fi-icl-u2/
> igt@kms_frontbuffer_tracking@psr-2p-scndscrn-shrfb-pgflip-blt.html but it
> should be another bug.

Thanks, here it is https://bugs.freedesktop.org/show_bug.cgi?id=108733 !

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.