All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Limonciello, Mario" <Mario.Limonciello@amd.com>
To: Hans de Goede <hdegoede@redhat.com>,
	Mark Pearson <markpearson@lenovo.com>
Cc: "rafael@kernel.org" <rafael@kernel.org>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	"platform-driver-x86@vger.kernel.org" 
	<platform-driver-x86@vger.kernel.org>
Subject: RE: [RFC] ACPI: platform-profile: support for AC vs DC modes
Date: Tue, 8 Mar 2022 15:55:26 +0000	[thread overview]
Message-ID: <BL1PR12MB5157125246817A70649C12F7E2099@BL1PR12MB5157.namprd12.prod.outlook.com> (raw)
In-Reply-To: <7b281a37-5163-6cd7-360e-1c63bde714a8@redhat.com>

[AMD Official Use Only]

> > I don't think that's right for the PSC Thinkpads.  They have dedicated
> > different tunings for each of the slider positions on AC vs DC.
> >
> > So "balanced" on AC will not be the same as "balanced" on DC.
> 
> I see, but it is not like balanced on AC is closer to performance
> on DC then it is to balanced on DC, right? IOW in the UI we should
> still call them both balanced ?

I feel that's a gross oversimplification to say balanced on AC is close
to performance on DC.  There are *so many* other (otherwise invisible)
tuning knobs behind what PSC does that Lenovo has weighed out the benefits
of using for different circumstances.  

You nerf all this by just having one user space facing knob and let userspace
change to performance mode when you on charger.

At least the way Windows does this is that it offers "one" UI slider but you
have last selected values based on if you're plugged in or on battery.

1) So on battery I might have balanced selected to start out.
2) Then I plug in a charger, and balanced is still selected but this has
different characteristics from balanced on battery.
3) Now I change to performance while on charger.
4) Then I unplug charger and it goes back to my selection for battery: "balanced".

> 
> If that is right then I think my point still stands, if PSC
> has 2 separate slots (one AC one DC) for the performance
> setting, then we can just set both when userspace selects a
> performance level and have the actual e.g. balanced -> performance
> change be done by userspace when userspace select the machine
> has been connected to a charger.

But you *don't want to* actually select performance when you switch to a
charger.  If you have 3 value slots for AC and 3 value slots for DC you
should only be swapping between what is in those 3 values slots.

> 
> Regards,
> 
> Hans
> 
> 

  reply	other threads:[~2022-03-08 15:55 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01 20:15 [RFC] ACPI: platform-profile: support for AC vs DC modes Mark Pearson
2022-03-03  2:53 ` Mario Limonciello
2022-03-03 17:08   ` [External] " Mark Pearson
2022-03-03 17:40     ` Limonciello, Mario
2022-03-08 14:39 ` Hans de Goede
2022-03-08 14:50   ` Limonciello, Mario
2022-03-08 15:16     ` Hans de Goede
2022-03-08 15:55       ` Limonciello, Mario [this message]
2022-03-08 16:10         ` Hans de Goede
2022-03-08 17:44           ` [External] " Mark Pearson
2022-03-14 12:45             ` Hans de Goede
2022-03-14 13:39               ` Limonciello, Mario
2022-03-14 14:43                 ` Hans de Goede
2022-03-14 14:59                   ` Mark Pearson
2022-03-14 15:05                     ` Hans de Goede
2022-03-14 15:31                   ` Hans de Goede
2022-03-14 15:32                     ` Mark Pearson
2022-03-14 16:56                       ` Hans de Goede
2022-03-14 17:10                         ` Limonciello, Mario
2022-03-14 17:13                         ` Mark Pearson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BL1PR12MB5157125246817A70649C12F7E2099@BL1PR12MB5157.namprd12.prod.outlook.com \
    --to=mario.limonciello@amd.com \
    --cc=hdegoede@redhat.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=markpearson@lenovo.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=rafael@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.