platform-driver-x86.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 216204] New: ideapad-laptop: Testing for DYTC platform-profile support
@ 2022-07-05  3:01 bugzilla-daemon
  2022-09-19  9:01 ` [Bug 216204] " bugzilla-daemon
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2022-07-05  3:01 UTC (permalink / raw)
  To: platform-driver-x86

https://bugzilla.kernel.org/show_bug.cgi?id=216204

            Bug ID: 216204
           Summary: ideapad-laptop: Testing for DYTC platform-profile
                    support
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.18.9
          Hardware: Intel
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: low
          Priority: P1
         Component: Platform_x86
          Assignee: drivers_platform_x86@kernel-bugs.osdl.org
          Reporter: git@tenseventyseven.cf
        Regression: No

Created attachment 301332
  --> https://bugzilla.kernel.org/attachment.cgi?id=301332&action=edit
Decompiled DSDT of Lenovo IdeaPad 3 (14ITL05) - BIOS ver GCCN26WW

Hello! I'm just curious on how do I test DYTC platform profiles compatibility
with ideapad-laptop and my Lenovo laptop? I've merged the newest changes to the
driver that adds (experimental) support to DYTC v4, but I couldn't find any
concrete way to test it.

Even without the change applied (and boot option enabled),
power-profiles-daemon is still present on GNOME and throttles the CPU speed. Is
there any other way I can test for it? I currently am running the kernel on
Fedora 36, if it helps.

I've attached the decompiled DSDT, and it seems to be very similar to
https://bugzilla.kernel.org/show_bug.cgi?id=213297.

Hoping for your reply.
Thank you very much!

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 216204] ideapad-laptop: Testing for DYTC platform-profile support
  2022-07-05  3:01 [Bug 216204] New: ideapad-laptop: Testing for DYTC platform-profile support bugzilla-daemon
@ 2022-09-19  9:01 ` bugzilla-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2022-09-19  9:01 UTC (permalink / raw)
  To: platform-driver-x86

https://bugzilla.kernel.org/show_bug.cgi?id=216204

Hans de Goede (jwrdegoede@fedoraproject.org) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jwrdegoede@fedoraproject.or
                   |                            |g
         Resolution|---                         |ANSWERED

--- Comment #1 from Hans de Goede (jwrdegoede@fedoraproject.org) ---
Sorry for the slow reply.

Note the kernel now allows enabling V4 DYTC support from the kernel
commandline, by passing: ideapad_laptop.allow_v4_dytc=1 on the kernel
commandline.

As for testing this:

1. Pass the kernel cmdline parameter
2. Check that switching the profile in GNOME results in the contents of
   /sys/firmware/acpi/platform_profile changing
3. Run a heavy workload, e.g. a make -j8 kernel compile
4. Monitor the power-consumption in powertop (while running from battery)
5. Change the profile

Step 5. should then result in significant changes of consumed power (this may
take some minutes to register).

Without platform_profile support the GNOME setting only changes the pstate
governer  profile, so things will ramp up slower. The actual platform_profile
setting should change the RAPL values / should change the maximum energy
consumption (programmable TPD) of the processor.

Note that this may only take effect when combined with running thermal-profiled
with the experimental Intel DPTF support enabled.

Since there is not really a bug to fix here I'm going to close this bug report
now.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-19  9:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-05  3:01 [Bug 216204] New: ideapad-laptop: Testing for DYTC platform-profile support bugzilla-daemon
2022-09-19  9:01 ` [Bug 216204] " bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).