Re: [PATCH 0/2] IdeaPad platform profile support

2021-01-07 Thread Rafael J. Wysocki
On Wed, Jan 6, 2021 at 10:17 AM Hans de Goede wrote: > > Hi, > > On 1/5/21 6:18 PM, Rafael J. Wysocki wrote: > > On Mon, Jan 4, 2021 at 9:58 PM Hans de Goede wrote: > > > > >> Patch 1/2 does use a slightly different approach then I suggest above, > >> thinking more about this it would be

Re: [PATCH 0/2] IdeaPad platform profile support

2021-01-06 Thread Hans de Goede
Hi, On 1/5/21 6:18 PM, Rafael J. Wysocki wrote: > On Mon, Jan 4, 2021 at 9:58 PM Hans de Goede wrote: >> Patch 1/2 does use a slightly different approach then I suggest above, >> thinking more about this it would be cleaner IMHO to just pass the >> cur_profile pointer to the callbacks as the

Re: [PATCH 0/2] IdeaPad platform profile support

2021-01-05 Thread Rafael J. Wysocki
On Mon, Jan 4, 2021 at 9:58 PM Hans de Goede wrote: > > Hi, > > On 1/4/21 9:33 PM, Rafael J. Wysocki wrote: > > On Mon, Jan 4, 2021 at 3:36 PM Hans de Goede wrote: > >> > >> Hi, > >> > >> On 1/1/21 1:56 PM, Jiaxun Yang wrote: > >>> Tested on Lenovo Yoga-14SARE Chinese Edition. > >>> > >>> Jiaxun

Re: [External] Re: [PATCH 0/2] IdeaPad platform profile support

2021-01-05 Thread Mark Pearson
Hi Jiaxun, On 05/01/2021 01:24, Jiaxun Yang wrote: > 在 2021/1/5 上午5:58, Mark Pearson 写道: >> On 04/01/2021 15:58, Hans de Goede wrote: >>> Hi, >>> >>> On 1/4/21 9:33 PM, Rafael J. Wysocki wrote: On Mon, Jan 4, 2021 at 3:36 PM Hans de Goede   wrote: > Hi, > > On 1/1/21 1:56

Re: [External] Re: [PATCH 0/2] IdeaPad platform profile support

2021-01-05 Thread Hans de Goede
Hi, On 1/4/21 10:58 PM, Mark Pearson wrote: > On 04/01/2021 15:58, Hans de Goede wrote: >> Hi, >> >> On 1/4/21 9:33 PM, Rafael J. Wysocki wrote: >>> On Mon, Jan 4, 2021 at 3:36 PM Hans de Goede >>> wrote: Hi, On 1/1/21 1:56 PM, Jiaxun Yang wrote: > Tested on Lenovo

Re: [External] Re: [PATCH 0/2] IdeaPad platform profile support

2021-01-04 Thread Jiaxun Yang
在 2021/1/5 上午5:58, Mark Pearson 写道: On 04/01/2021 15:58, Hans de Goede wrote: Hi, On 1/4/21 9:33 PM, Rafael J. Wysocki wrote: On Mon, Jan 4, 2021 at 3:36 PM Hans de Goede wrote: Hi, On 1/1/21 1:56 PM, Jiaxun Yang wrote: Tested on Lenovo Yoga-14SARE Chinese Edition. [...] Just for my

Re: [External] Re: [PATCH 0/2] IdeaPad platform profile support

2021-01-04 Thread Mark Pearson
On 04/01/2021 15:58, Hans de Goede wrote: > Hi, > > On 1/4/21 9:33 PM, Rafael J. Wysocki wrote: >> On Mon, Jan 4, 2021 at 3:36 PM Hans de Goede >> wrote: >>> >>> Hi, >>> >>> On 1/1/21 1:56 PM, Jiaxun Yang wrote: Tested on Lenovo Yoga-14SARE Chinese Edition. > >> Also, on a

Re: [PATCH 0/2] IdeaPad platform profile support

2021-01-04 Thread Hans de Goede
Hi, On 1/4/21 9:33 PM, Rafael J. Wysocki wrote: > On Mon, Jan 4, 2021 at 3:36 PM Hans de Goede wrote: >> >> Hi, >> >> On 1/1/21 1:56 PM, Jiaxun Yang wrote: >>> Tested on Lenovo Yoga-14SARE Chinese Edition. >>> >>> Jiaxun Yang (2): >>> ACPI: platform-profile: Introduce data parameter to handler

Re: [PATCH 0/2] IdeaPad platform profile support

2021-01-04 Thread Rafael J. Wysocki
On Mon, Jan 4, 2021 at 3:36 PM Hans de Goede wrote: > > Hi, > > On 1/1/21 1:56 PM, Jiaxun Yang wrote: > > Tested on Lenovo Yoga-14SARE Chinese Edition. > > > > Jiaxun Yang (2): > > ACPI: platform-profile: Introduce data parameter to handler > > platform/x86: ideapad-laptop: DYTC Platform

Re: [PATCH 0/2] IdeaPad platform profile support

2021-01-04 Thread Hans de Goede
Hi, On 1/1/21 1:56 PM, Jiaxun Yang wrote: > Tested on Lenovo Yoga-14SARE Chinese Edition. > > Jiaxun Yang (2): > ACPI: platform-profile: Introduce data parameter to handler > platform/x86: ideapad-laptop: DYTC Platform profile support > > drivers/acpi/platform_profile.c | 4 +- >

[PATCH 0/2] IdeaPad platform profile support

2021-01-01 Thread Jiaxun Yang
Tested on Lenovo Yoga-14SARE Chinese Edition. Jiaxun Yang (2): ACPI: platform-profile: Introduce data parameter to handler platform/x86: ideapad-laptop: DYTC Platform profile support drivers/acpi/platform_profile.c | 4 +- drivers/platform/x86/Kconfig | 1 +