Re: [PATCH v2 0/2] platform/x86: bitland-mifs-wmi: Xiaomi Book Pro 14 support

From: Chris Taraszka

Date: Sun Nov 01 2026 - 11:23:43 EST


Hi Kento,

On Sun, 1 Nov 2026, KentoNion wrote:
> 0x03 is Turbo, not balanced. This board has no
> balanced-performance. 0x09 is the firmware's normal mode.

You are right, thanks. The DTT tables in the firmware's data vault show
the same: on battery 0x03 is Turbo at 50-58 W, and 0x04 has no battery
entry. With v2, balanced on battery ran at 54 W.

v3 maps low-power, balanced and performance to 0x02, 0x09 and 0x04, and
uses 0x03 for performance on battery:
https://lore.kernel.org/all/20261101161814.1325847-1-chris@xxxxxxxxx/

Thanks,
Chris


On Sun, Nov 1, 2026 at 4:39 PM KentoNion <kento@xxxxxxxx> wrote:
>
> Hi Chris,
>
> On Sun, 25 Oct 2026 at 20:54:54 +0100, Chris Taraszka wrote:
> > Kento, if this is a problem on BIOS 0707 or 0A0A, please say so.
>
> Yes. On XMAPT4B0P0707, SET 0x04 is rejected on battery. The supply
> check refuses balanced-performance and performance before the
> firmware is asked, so 0x03 is unreachable on battery as well. On
> XMAPT4B0P0A0A the SET status is success for every write, so that
> status cannot show a rejected mode. Your 0A0A test on AC shows the
> following GET is the value that actually stuck. Keep 0x04 only when
> that GET returns 0x04, and otherwise SET 0x03. The supply check is
> not needed for that.
>
> The map we use on TM2424 is:
>
> low-power SET 0x0A
> GET 0x0A or 0x02
> balanced SET 0x09
> performance SET 0x04, or 0x03 when the following GET is not 0x04
> GET 0x04 or 0x03
>
> 0x02 and 0x0A are both about 18 W. 0x0A also dims the panel and the
> keyboard backlight, so that is the low-power write. 0x02 is only a
> read alias. 0x03 is Turbo, not balanced. This board has no
> balanced-performance. 0x09 is the firmware's normal mode.
>
> The quirks entry is the right place for this. I am not sending
> another copy of the patch.
>
> Thanks,
> Kento