Bug 105678

Summary: [CI] igt@kms_frontbuffer_tracking@fbc-*-scaledprimary - fail - FBC disabled: plane Y offset is misaligned
Product: DRI Reporter: Marta Löfstedt <marta.lofstedt>
Component: DRM/IntelAssignee: Marta Löfstedt <marta.lofstedt>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: CFL, CNL, GLK, KBL, SKL i915 features: display/FBC

Description Marta Löfstedt 2018-03-22 07:06:58 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_5/fi-skl-6700hq/igt@kms_frontbuffer_tracking@fbc-indfb-scaledprimary.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_5/fi-skl-6700hq/igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary.html

(kms_frontbuffer_tracking:1381) WARNING: fbc_is_enabled()?
FBC disabled: plane Y offset is misaligned
(kms_frontbuffer_tracking:1381) CRITICAL: Test assertion failure function do_status_assertions, file ../tests/kms_frontbuffer_tracking.c:1748:
(kms_frontbuffer_tracking:1381) CRITICAL: Failed assertion: fbc_is_enabled(IGT_LOG_WARN)
(kms_frontbuffer_tracking:1381) CRITICAL: FBC disabled
Subtest fbc-indfb-scaledprimary failed.
Comment 1 Marta Löfstedt 2018-03-22 07:21:42 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_5/fi-skl-6770hq/igt@kms_frontbuffer_tracking@fbc-indfb-scaledprimary.html

(kms_frontbuffer_tracking:1407) WARNING: fbc_is_enabled()?
FBC disabled: plane Y offset is misaligned
(kms_frontbuffer_tracking:1407) CRITICAL: Test assertion failure function do_status_assertions, file ../tests/kms_frontbuffer_tracking.c:1748:
(kms_frontbuffer_tracking:1407) CRITICAL: Failed assertion: fbc_is_enabled(IGT_LOG_WARN)
(kms_frontbuffer_tracking:1407) CRITICAL: FBC disabled
Subtest fbc-indfb-scaledprimary failed.
Comment 12 Maarten Lankhorst 2018-03-26 13:25:03 UTC
https://patchwork.freedesktop.org/series/40192/
Comment 13 Marta Löfstedt 2018-03-28 13:18:37 UTC
Fixed by:

commit 55f945e58fe3c1b28702f9f431b5ce19a4692050
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Mon Mar 19 11:32:49 2018 +0100

    tests/kms_frontbuffer_tracking: Fix Y alignment in the scaledprimary subtest, v3.
    
    This is hidden behind the other kms_frontbuffer_tracking failures,
    but is its own fail.
    
    On gen9/gen10 we fail the scaledprimary tests because FBC refuses
    to be enabled with "plane Y offset is misaligned".
    Looking at the kernel, this is a workaround for FIFO underruns
    which can be tested as well. Test that with the right alignment, FBC
    is enabled and with misalignment FBC is disabled on <= gen10.
Comment 14 Marta Löfstedt 2018-03-29 08:12:59 UTC
This is green I will close even though I don't have results from drmtip runs.

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.