Bug 76539 - [BYT] RC6 cannot enable using 2014Q1 Release kernel 3.13.6
Summary: [BYT] RC6 cannot enable using 2014Q1 Release kernel 3.13.6
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium major
Assignee: Mika Kuoppala
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-24 05:51 UTC by wendy.wang
Modified: 2017-10-06 14:39 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
RC6 issue dmesg file (85.64 KB, text/plain)
2014-03-24 05:51 UTC, wendy.wang
no flags Details

Description wendy.wang 2014-03-24 05:51:33 UTC
Created attachment 96267 [details]
RC6 issue dmesg file

Boot with 2014Q1 Release kernel version: Linux 3.13.6_20140318+ #1 SMP Tue Mar 18 09:15:05 CST 2014 x86_64 x86_64 x86_64 GNU/Linux
By default setting, cat rc6 debugfs file as below, will see the RC6 us disabled.

# cd /sys/kernel/debug/dri/0/
# cat i915_drpc_info
RC information accurate: no
Video Turbo Mode: yes
HW control enabled: yes
SW control enabled: no
RC1e Enabled: no
RC6 Enabled: no
Deep RC6 Enabled: no
Deepest RC6 Enabled: no
Current RC state: on
Core Power Down: no
RC6 "Locked to RPn" residency since boot: 32771
RC6 residency since boot: 1419692410
RC6+ residency since boot: 3755604010
RC6++ residency since boot: 0
RC6   voltage: 245mV
RC6+  voltage: 245mV
RC6++ voltage: 245mV

Even insert RC6 enable parameter, and reboot, RC6 still show disabled in debugfs file.

Change the kernel to 2014_03_14 nightly kernel branch, RC6 is enabled by default kernel setting.
Comment 1 Chris Wilson 2014-03-24 06:58:25 UTC
This is just misleading information in the debugfs file.
Comment 2 wendy.wang 2014-03-24 07:04:14 UTC
Do you mean the dmesg file is invalid?
Comment 3 Jani Nikula 2014-03-24 12:10:49 UTC
n.b. the parameter is renamed i915.i915_enable_rc6 -> i915.enable_rc6 in -nightly.
Comment 4 Daniel Vetter 2014-03-26 20:08:01 UTC
For checking whether rc6 works you need to install recent powertop and check rc6 residency when idle. If it's towards 100% then rc6 works. And 3.13 doesn't have support for this debugfs file yet, that was only added in

commit 669ab5aaeb3bedaae758c938d0efafe8aad07ed0
Author: Deepak S <deepak.s@intel.com>
Date:   Fri Jan 10 15:18:26 2014 +0530

    drm/i915/vlv: Add drpc debugfs support for valleyview
Comment 5 wendy.wang 2014-03-27 08:26:31 UTC
Yes, verified drm-intel-nightly branch:
commit 669ab5aaeb3bedaae758c938d0efafe8aad07ed0
RC6 is supported by default.

cat /sys/kernel/debug/dri/0/i915_drpc_info
Video Turbo Mode: yes
Turbo enabled: yes
HW control enabled: yes
SW control enabled: no
RC6 Enabled: yes
Render Power Well: Down
Media Power Well: Down
Forcewake Render Count = 0
Forcewake Media Count = 0
[root@x-byt01 ~]# uname -a
Linux x-byt01 3.13.0-rc3_drm-intel-next-queued_669ab5_20140111+ #1887 SMP Sat Jan 11 04:42:21 CST 2014 x86_64 x86_64 x86_64 GNU/Linux
Comment 6 wendy.wang 2014-03-27 08:28:24 UTC
sorry, should drm-intel-next-queued branch
Linux x-byt01 3.13.0-rc3_drm-intel-next-queued_669ab5_20140111+ #1887 SMP Sat Jan 11 04:42:21 CST 2014 x86_64 x86_64 x86_64 GNU/Linux
Comment 7 wendy.wang 2014-10-11 03:12:48 UTC
Verified this bug with 2014_10_10/drm-intel-nightly/ea4bec8e96ea8b33b49a7892c1c7f20041a56da6                                                                                                                     cf9b21 kernel, RC6 is enabled by default on BYT, so close this bug as verified.
Comment 8 Elizabeth 2017-10-06 14:39:09 UTC
Closing old verified.


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.