Disable GPU RTD3 temporarily

Change-Id: I12ca425807c9a71137a7595fabad37ee2ebd35fc
This commit is contained in:
Jeremy Soller
2020-11-11 08:47:21 -07:00
parent 82bca31f3f
commit 69ed89d502
3 changed files with 6 additions and 4 deletions

View File

@@ -1,7 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*TODO: TGL-U not yet supported
#include "../gpio.h"
#include <drivers/system76/dgpu/acpi/dgpu.asl>
*/
#define EC_GPE_SCI 0x6E
#define EC_GPE_SWI 0x6B

View File

@@ -4,8 +4,10 @@
Method (MPTS, 1) {
\_SB.PCI0.LPCB.EC0.PTS (Arg0)
/*TODO: TGL-U not yet supported
// Turn DGPU on before sleeping
\_SB.PCI0.PEGP.DEV0._ON()
*/
}
/* Method called from _WAK prior to wakeup */

View File

@@ -413,10 +413,8 @@ static const struct pad_config gpio_table[] = {
PAD_NC(GPP_T2, NONE),
// NC
PAD_NC(GPP_T3, NONE),
// DGPU_RST#_PCH
PAD_CFG_TERM_GPO(GPP_U4, 1, NONE, DEEP),
// DGPU_PWR_EN
PAD_CFG_TERM_GPO(GPP_U5, 1, NONE, DEEP),
// DGPU_RST#_PCH - handled in bootblock.c
// DGPU_PWR_EN - handled in bootblock.c
};
#endif