Bug 93872 - [BXT] igt/pm_rc6_residency/rc6-accuracy subtest fail
Summary: [BXT] igt/pm_rc6_residency/rc6-accuracy subtest fail
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other Linux (All)
: medium normal
Assignee: Rami
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-26 11:08 UTC by Rami
Modified: 2016-01-27 18:24 UTC (History)
1 user (show)

See Also:
i915 platform: BXT
i915 features: power/runtime PM


Attachments
dmesg (202.94 KB, text/plain)
2016-01-26 11:08 UTC, Rami
no flags Details

Description Rami 2016-01-26 11:08:05 UTC
Created attachment 121302 [details]
dmesg

Subtest fail on BXT with last setup:

Setup:
======
Platform: Broxton P A0 Platform
CPU Name : Intel(R) @ 1.2 GHz (family: 6, model: 92, stepping: 8) – 4 cores
SoC : BROXTON-P A0
CRB :  Apollo Lake RVPC1 Fab1 
Reworks : R14, R06C and R16
Monitors: Asus PB287Q (4K), Samsung S24C650

Software:
=========
BIOS (IFWI Version): APLK_IFWI_X64_R_2015_41_5_02 
KSC : 1.02
Linux distribution: Ubuntu 15.10 64 bits
Kernel: drm-intel-nightly 4.4.0 8114b00 from http://cgit.freedesktop.org/drm-intel/
drm: tag libdrm-2.4.66 e342c0f from http://cgit.freedesktop.org/mesa/drm/
mesa: tag mesa-11.0.8 261daab from http://cgit.freedesktop.org/mesa/mesa/
cairo: tag 1.15.2 db8a7f1 from http://cgit.freedesktop.org/cairo
waffle: master bb29b2a from https://github.com/waffle-gl/waffle
xorg-server-macros: master d7acec2 from git://git.freedesktop.org/git/xorg/util/macros
libva: tag libva-1.6.1 cb418f6 from http://cgit.freedesktop.org/libva/
vaapi-intel-driver: tag 1.6.1 2110b3a from http://cgit.freedesktop.org/vaapi/intel-driver
Tools:
======
intel-gpu-tool: tag intel-gpu-tools-1.13 51e965f from http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/

Steps:
======
./pm_rc6_residency --run-subtest rc6-accuracy

Actual results:
===============
IGT-Version: 1.13-NOT-GIT (x86_64) (Linux: 4.4.0-nightly+ x86_64)
Residency in rc6 or deeper state: 0 ms (sleep duration 3748 ms) (ratio to expected duration: 0.00)
(pm_rc6_residency:1327) CRITICAL: Test assertion failure function residency_accuracy, file pm_rc6_residency.c:110:
(pm_rc6_residency:1327) CRITICAL: Failed assertion: ratio > 0.9 && ratio <= 1
(pm_rc6_residency:1327) CRITICAL: Sysfs RC6 residency counter is inaccurate.
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [residency_accuracy+0x86]
  #2 [__real_main192+0x136]
  #3 [main+0x29]
  #4 [__libc_start_main+0xf0]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest rc6-accuracy failed.
**** DEBUG ****
(pm_rc6_residency:1327) DEBUG: Test requirement passed: !(!(rc6_mask & RC6_ENABLED))
(pm_rc6_residency:1327) INFO: Residency in rc6 or deeper state: 0 ms (sleep duration 3748 ms) (ratio to expected duration: 0.00)
(pm_rc6_residency:1327) CRITICAL: Test assertion failure function residency_accuracy, file pm_rc6_residency.c:110:
(pm_rc6_residency:1327) CRITICAL: Failed assertion: ratio > 0.9 && ratio <= 1
(pm_rc6_residency:1327) CRITICAL: Sysfs RC6 residency counter is inaccurate.
****  END  ****
Subtest rc6-accuracy: FAIL (0.003s)

Expected result:
================
test pass
Comment 1 Imre Deak 2016-01-26 18:07:46 UTC
Please make sure that the following options are enabled in BIOS under the "Uncore Configuration" menu:

"Render C6"
"GT PM"
Everything under "GT PM"
Comment 2 cprigent 2016-01-26 18:47:27 UTC
Thanks. We will check it tomorrow.
Comment 3 Rami 2016-01-27 10:29:59 UTC
After enabling this option in bios subtest is pass now with last setup:
Setup:
======
Platform: Broxton P A0 Platform
CPU Name : Intel(R) @ 1.2 GHz (family: 6, model: 92, stepping: 8) – 4 cores
SoC : BROXTON-P A0
CRB : Apollo Lake LPDDR3 RVP2B
Reworks : R17, R18, PNP3

Software:
=========
BIOS (IFWI Version): APLK_IFWI_X64_R_2015_44_3_00
KSC : 1.05
Linux distribution: Ubuntu 15.10 64 bits
Kernel: drm-intel-nightly 4.4.0 8114b00 from http://cgit.freedesktop.org/drm-intel/
drm: tag libdrm-2.4.66 e342c0f from http://cgit.freedesktop.org/mesa/drm/
mesa: tag mesa-11.0.8 261daab from http://cgit.freedesktop.org/mesa/mesa/
cairo: tag 1.15.2 db8a7f1 from http://cgit.freedesktop.org/cairo
waffle: master bb29b2a from https://github.com/waffle-gl/waffle
xorg-server-macros: master d7acec2 from git://git.freedesktop.org/git/xorg/util/macros
libva: tag libva-1.6.1 cb418f6 from http://cgit.freedesktop.org/libva/
vaapi-intel-driver: tag 1.6.1 2110b3a from http://cgit.freedesktop.org/vaapi/intel-driver
Setup
--------
Platform: Broxton P A0 Platform
CPU Name : Intel(R) @ 1.2 GHz (family: 6, model: 92, stepping: 8) – 4 cores
SoC : BROXTON-P A0
CRB : Apollo Lake LPDDR3 RVP2B
Reworks : R17, R18, PNP3

Software:
=========
BIOS (IFWI Version): APLK_IFWI_X64_R_2015_44_3_00
KSC : 1.05
Linux distribution: Ubuntu 15.10 64 bits
Kernel: drm-intel-nightly 4.4.0 8114b00 from http://cgit.freedesktop.org/drm-intel/
drm: tag libdrm-2.4.66 e342c0f from http://cgit.freedesktop.org/mesa/drm/
mesa: tag mesa-11.0.8 261daab from http://cgit.freedesktop.org/mesa/mesa/
cairo: tag 1.15.2 db8a7f1 from http://cgit.freedesktop.org/cairo
waffle: master bb29b2a from https://github.com/waffle-gl/waffle
xorg-server-macros: master d7acec2 from git://git.freedesktop.org/git/xorg/util/macros
libva: tag libva-1.6.1 cb418f6 from http://cgit.freedesktop.org/libva/
vaapi-intel-driver: tag 1.6.1 2110b3a from http://cgit.freedesktop.org/vaapi/intel-driver
Comment 4 cprigent 2016-01-27 18:24:04 UTC
thanks Rami.
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.