From e6659e4f6f8a1ea856a7ca88545e37ed8b40210d Mon Sep 17 00:00:00 2001 From: Werner Sembach Date: Tue, 6 Dec 2022 17:06:26 +0100 Subject: [PATCH 1/2] Always enable Dynamic Boost --- src/uniwill_keyboard.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/uniwill_keyboard.h b/src/uniwill_keyboard.h index 24c0ea4..1f6539c 100644 --- a/src/uniwill_keyboard.h +++ b/src/uniwill_keyboard.h @@ -840,6 +840,12 @@ static int uniwill_keyboard_probe(struct platform_device *dev) uniwill_write_ec_ram(0x0743 + i, data); } } + else { + // Activate NVIDIA Dynamic Boost + uniwill_write_ec_ram(0x0743, 0x03); + uniwill_write_ec_ram(0x0745, 0x23); + uniwill_write_ec_ram(0x0746, 0xff); + } // Enable manual mode uniwill_write_ec_ram(0x0741, 0x01); From c458c837678eeaae146ac70110af7bc1f32b719a Mon Sep 17 00:00:00 2001 From: Werner Sembach Date: Mon, 19 Dec 2022 15:30:14 +0100 Subject: [PATCH 2/2] Change activation sequence for faster apply --- src/uniwill_keyboard.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uniwill_keyboard.h b/src/uniwill_keyboard.h index 1f6539c..bd4e1b8 100644 --- a/src/uniwill_keyboard.h +++ b/src/uniwill_keyboard.h @@ -842,9 +842,9 @@ static int uniwill_keyboard_probe(struct platform_device *dev) } else { // Activate NVIDIA Dynamic Boost - uniwill_write_ec_ram(0x0743, 0x03); + uniwill_write_ec_ram(0x0746, 0x19); uniwill_write_ec_ram(0x0745, 0x23); - uniwill_write_ec_ram(0x0746, 0xff); + uniwill_write_ec_ram(0x0743, 0x03); } // Enable manual mode