Disable GMA ACPI

Change-Id: Ifc07265b35bc41a980cb0c8f034294144409f510
This commit is contained in:
Jeremy Soller
2020-10-16 09:32:50 -06:00
parent 1bb86c038d
commit 3449cbbdca
6 changed files with 26 additions and 60 deletions

View File

@@ -3,10 +3,13 @@
#include <bootblock_common.h>
#include <gpio.h>
#include "gpio.h"
#include <drivers/system76/dgpu/bootblock.c>
#if CONFIG(DRIVERS_SYSTEM76_DGPU)
#include <drivers/system76/dgpu/bootblock.c>
#endif
void bootblock_mainboard_init(void) {
gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table));
//TODO: enable GPU
dgpu_power_enable(0);
#if CONFIG(DRIVERS_SYSTEM76_DGPU)
dgpu_power_enable(1);
#endif
}