Bug 92707 - [BSW] [IGT Basic] [Regression] igt / pm_backlight / basic-brightness fails
Summary: [BSW] [IGT Basic] [Regression] igt / pm_backlight / basic-brightness fails
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: highest blocker
Assignee: cprigent
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-28 11:05 UTC by cprigent
Modified: 2015-11-25 09:41 UTC (History)
1 user (show)

See Also:
i915 platform: BSW/CHT
i915 features:


Attachments
kern.log.bz2 (184.74 KB, text/plain)
2015-10-28 11:05 UTC, cprigent
no flags Details
results.json.bz2 (7.53 KB, text/plain)
2015-10-28 11:05 UTC, cprigent
no flags Details

Description cprigent 2015-10-28 11:05:24 UTC
Created attachment 119250 [details]
kern.log.bz2

Hardware BSW-M:
Motherboard: Braswell CRB
cpu model name : Intel(R) Celeron(R) CPU N3060 @ 1.60GHz
cpu model : 76
cpu family : 6
Graphic card: Device 22b1 (rev 31)
Software:
Kernel: drm-intel-nightly 4.3.0-rc5 11bf7cfa1ba766d1e4060e41d6ece3beccfa2cf4 from git://anongit.freedesktop.org/drm-intel
commit 11bf7cfa1ba766d1e4060e41d6ece3beccfa2cf4
Author: Matt Roper <matthew.d.roper@intel.com>
Date:   Mon Oct 19 13:42:16 2015 -0700
drm-intel-nightly: 2015y-10m-19d-20h-41m-28s UTC integration manifest
Ubuntu 14.04.1 LTS
Bios: BRAS.X64.B084.R00.1508310642
Libdrm: 2.4.65

Steps:
-------
Execute command:
./pm_backlight --run-subtest basic-brightness

Actual result:
---------------
Test result is fail

Expected result:
----------------
Test is Pass

From results.json:
-------------------
        "igt@pm_backlight@basic-brightness": {
            "returncode": 99, 
            "result": "fail", 
            "subtests": {
                "__type__": "Subtests"
            }, 
            "out": "IGT-Version: 1.12-NOT-GIT (x86_64) (Linux: 4.3.0-rc5-drm-intel-nightly+ x86_64)\nStack trace:\n  #0 [__igt_fail_assert+0xf1]\n  #1 [test_and_verify+0x9a]\n  #2 [__real_main148+0xa9]\n  #3 [main+0x29]\n  #4 [__libc_start_main+0xf5]\n  #5 [_start+0x29]\n  #6 [<unknown>+0x29]\nSubtest basic-brightness: FAIL (0.015s)\n", 
            "dmesg": "", 
            "exception": null, 
            "err": "Test assertion failure function test_and_verify, file pm_backlight.c:105:\nFailed assertion: result <= val + val * TOLERANCE / 100 && result >= val - val * TOLERANCE / 100\nSubtest basic-brightness failed.\n**** DEBUG ****\nTest assertion failure function test_and_verify, file pm_backlight.c:105:\nFailed assertion: result <= val + val * TOLERANCE / 100 && result >= val - val * TOLERANCE / 100\n****  END  ****\n", 
            "__type__": "TestResult", 
            "environment": "PIGLIT_SOURCE_DIR=\"/usr/local/src/piglit\" PIGLIT_PLATFORM=\"mixed_glx_egl\"", 
            "command": "/usr/local/src/intel-gpu-tools/tests/pm_backlight --run-subtest basic-brightness", 
            "time": {
                "start": 1444708191.742918, 
                "end": 1444708191.807447, 
                "__type__": "TimeAttribute"
            }
        }, 

Regression:
-----------
Test was Pass with:
kernel 4.3.0-rc4-drm-intel-nightly+ c38f2c24fb6484fc6900efa6f8d968e8ee964e9c from git://anongit.freedesktop.org/drm-intel
commit c38f2c24fb6484fc6900efa6f8d968e8ee964e9c
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri Oct 9 14:50:43 2015 +0200
drm-intel-nightly: 2015y-10m-09d-12h-49m-56s UTC integration manifest
Libdrm - 2.4.65 from http://cgit.freedesktop.org/mesa/drm/
Comment 1 cprigent 2015-10-28 11:05:52 UTC
Created attachment 119251 [details]
results.json.bz2
Comment 2 Jani Nikula 2015-11-17 15:48:21 UTC
Nothing in the test ensures that the panel, and therefore the backlight, is enabled during the test. Pretty sure this is test failure. Needs fixing nonetheless.
Comment 3 Jani Nikula 2015-11-18 12:55:52 UTC
Please run the test with this igt patch, and post the igt logs and dmesg again:
http://patchwork.freedesktop.org/patch/msgid/1447851432-30880-1-git-send-email-jani.nikula@intel.com
Comment 4 cprigent 2015-11-25 09:41:31 UTC
Test is Pass with last setup.

Platform: Braswell M
CPU : Intel(R) Celeron N3060 1.60GHz @ 1.6 GHz (family: 6, model: 76 stepping: 4)
SoC : BSW D0
QDF : K6XC
CRB : BRASWELL RVP Fab2
Mandatory Reworks : All 
Feature Reworks: F28, F32, F33, F35, F37
Optional reworks : O-01a; O-02, O-03
Software 
BIOS : BRAS.X64.B088.R00.1510270350
TXE FW : 2.0.0.2093
Ksc : 1.08
Linux : Ubuntu 15.04 64 bits
BIOS : SKLSE2R1.R00.B104.B01.1511110114
ME FW : 11.0.0.1191
Ksc (EC FW): 1.20
Kernel 4.4.0-rc2 nighlty 9e096bc from git://anongit.freedesktop.org/drm-intel
  commit 9e096bc5a20d1d8122740136ab6c584afd4cb913
  Author: Imre Deak <imre.deak@intel.com>
  Date:   Mon Nov 23 17:11:06 2015 +0200
  drm-intel-nightly: 2015y-11m-23d-15h-10m-47s UTC integration manifest
Mesa 11.0.5 from http://cgit.freedesktop.org/mesa/mesa/
xf86-video-intel - 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
Libdrm - 2.4.65 from http://cgit.freedesktop.org/mesa/drm/
Libva - 1.6.1 from http://cgit.freedesktop.org/libva/
vaapi intel-driver - 1.6.1 from http://cgit.freedesktop.org/vaapi/intel-driver
Cairo - 1.14.2 from http://cgit.freedesktop.org/cairo
Xorg Xserver - 1.17.2 from http://cgit.freedesktop.org/xorg/xserver
Comment 5 cprigent 2015-11-25 09:41:42 UTC
So closed.


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.