Description =========================================== pm_backlight@basic-brightness and pm_backlight@fade tests are failing if there are more than 2 pipes connected to platform. Software ====================================== kernel version : 4.13.0-rc7-428ed2734-cfl+ architecture : x86_64 os version : Ubuntu 17.04 kernel driver : i915 bios revision : 95.4 bios release date : 07/24/2017 ksc : 1.5 libdrm : 2.4.83 cairo : 1.15.9 intel-gpu-tools (tag) : intel-gpu-tools-1.19-224-gfc651088 intel-gpu-tools (commit) : fc651088 Hardware ====================================== motherboard model : CoffeeLakeClientPlatform motherboard id : CoffeeLakeSUDIMMRVP form factor : Desktop cpu family id : 6 cpu information : Genuine Intel(R) CPU 0000 @ 3.60GHz gpu card : Intel Corporation Device 3e92 (prog-if 00 [VGA controller]) memory ram : 15.58 GB Firmware ====================================== dmc version : 1.1 guc version found : 9.14 IGT output ====================================== (pm_backlight:2883) CRITICAL: Test assertion failure function test_and_verify, file pm_backlight.c:111: (pm_backlight:2883) CRITICAL: Failed assertion: ({ typeof(0) _a = (0); typeof(val - tolerance) _b = (val - tolerance); _a > _b ? _a : _b; }) <= result (pm_backlight:2883) CRITICAL: error: 114000 > 0 Stack trace: #0 [__igt_fail_assert+0x101] #1 [test_and_verify+0x118] #2 [_start+0x0] #3 [<unknown>+0x0] #4 [<unknown>+0x0] Subtest fade failed. **** DEBUG **** (pm_backlight:2883) CRITICAL: Test assertion failure function test_and_verify, file pm_backlight.c:111: (pm_backlight:2883) CRITICAL: Failed assertion: ({ typeof(0) _a = (0); typeof(val - tolerance) _b = (val - tolerance); _a > _b ? _a : _b; }) <= result (pm_backlight:2883) CRITICAL: error: 114000 > 0 (pm_backlight:2883) igt-core-INFO: Stack trace: (pm_backlight:2883) igt-core-INFO: #0 [__igt_fail_assert+0x101] (pm_backlight:2883) igt-core-INFO: #1 [test_and_verify+0x118] (pm_backlight:2883) igt-core-INFO: #2 [_start+0x0] (pm_backlight:2883) igt-core-INFO: #3 [<unknown>+0x0] (pm_backlight:2883) igt-core-INFO: #4 [<unknown>+0x0] **** END **** dmesg ====================================== [ 364.410557] [IGT] pm_backlight: starting subtest fade [ 364.410580] [drm:intel_backlight_device_update_status [i915]] updating intel_backlight, brightness=120000/120000 [ 364.410613] [drm:intel_backlight_device_get_brightness [i915]] get backlight PWM = 0 [ 364.411014] [drm:intel_backlight_device_update_status [i915]] updating intel_backlight, brightness=120000/120000 [ 364.411035] [IGT] pm_backlight: exiting, ret=99 [ 364.443984] Console: switching to colour frame buffer device 240x67
As additional info, if only two displays or only eDP are connected to platform, then test result will be pass
This is a potential fix: https://patchwork.freedesktop.org/patch/173990/ Merged on drm-tip after 4.13.0-rc7... So, could you please test latest drm-tip?
(In reply to Rodrigo Vivi from comment #2) > This is a potential fix: https://patchwork.freedesktop.org/patch/173990/ > > Merged on drm-tip after 4.13.0-rc7... > > So, could you please test latest drm-tip? Same status: With two pipes: $ : sudo -E ./pm_backlight IGT-Version: 1.20-g7f93a26 (x86_64) (Linux: 4.14.0-rc3-drm-tip-ww40-commit-247cb84+ x86_64) Subtest basic-brightness: SUCCESS (0.206s) Subtest bad-brightness: SUCCESS (0.000s) Subtest fade: SUCCESS (2.322s) With three: $ : sudo -E ./pm_backlight IGT-Version: 1.19-g08a2f88 (x86_64) (Linux: 4.14.0-rc3-drm-tip-ww40-commit-79f8205+ x86_64) (pm_backlight:1550) CRITICAL: Test assertion failure function test_and_verify, file pm_backlight.c:111: (pm_backlight:1550) CRITICAL: Failed assertion: ({ typeof(0) _a = (0); typeof(val - tolerance) _b = (val - tolerance); _a > _b ? _a : _b; }) <= result (pm_backlight:1550) CRITICAL: error: 114000 > 0 Stack trace: #0 [__igt_fail_assert+0x101] #1 [test_and_verify+0xff] #2 [__libc_csu_init+0x0] Subtest basic-brightness failed. **** DEBUG **** (pm_backlight:1550) CRITICAL: Test assertion failure function test_and_verify, file pm_backlight.c:111: (pm_backlight:1550) CRITICAL: Failed assertion: ({ typeof(0) _a = (0); typeof(val - tolerance) _b = (val - tolerance); _a > _b ? _a : _b; }) <= result (pm_backlight:1550) CRITICAL: error: 114000 > 0 (pm_backlight:1550) igt-core-INFO: Stack trace: (pm_backlight:1550) igt-core-INFO: #0 [__igt_fail_assert+0x101] (pm_backlight:1550) igt-core-INFO: #1 [test_and_verify+0xff] (pm_backlight:1550) igt-core-INFO: #2 [__libc_csu_init+0x0] **** END **** Subtest basic-brightness: FAIL (0.001s) Subtest bad-brightness: SUCCESS (0.000s) (pm_backlight:1550) CRITICAL: Test assertion failure function test_and_verify, file pm_backlight.c:111: (pm_backlight:1550) CRITICAL: Failed assertion: ({ typeof(0) _a = (0); typeof(val - tolerance) _b = (val - tolerance); _a > _b ? _a : _b; }) <= result (pm_backlight:1550) CRITICAL: error: 114000 > 0 Stack trace: #0 [__igt_fail_assert+0x101] #1 [test_and_verify+0xff] #2 [__libc_csu_init+0x0] Subtest fade failed. **** DEBUG **** (pm_backlight:1550) CRITICAL: Test assertion failure function test_and_verify, file pm_backlight.c:111: (pm_backlight:1550) CRITICAL: Failed assertion: ({ typeof(0) _a = (0); typeof(val - tolerance) _b = (val - tolerance); _a > _b ? _a : _b; }) <= result (pm_backlight:1550) CRITICAL: error: 114000 > 0 (pm_backlight:1550) igt-core-INFO: Stack trace: (pm_backlight:1550) igt-core-INFO: #0 [__igt_fail_assert+0x101] (pm_backlight:1550) igt-core-INFO: #1 [test_and_verify+0xff] (pm_backlight:1550) igt-core-INFO: #2 [__libc_csu_init+0x0] **** END **** Subtest fade: FAIL (0.000s)
Elizabeth et.al. Please check the validity of the bug. AFAIK this seems to be okay on the latest executions.
Issue is not seen anymore with latest drm-tip kernel, closing bug.
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.