|
@@ -2807,7 +2807,10 @@ init_gpio(struct nvbios *bios, uint16_t offset, struct init_exec *iexec)
|
|
|
|
|
|
BIOSLOG(bios, "0x%04X: Entry: 0x%08X\n", offset, gpio->entry);
|
|
BIOSLOG(bios, "0x%04X: Entry: 0x%08X\n", offset, gpio->entry);
|
|
|
|
|
|
- nv50_gpio_set(bios->dev, gpio->tag, gpio->state_default);
|
|
|
|
|
|
+ BIOSLOG(bios, "0x%04X: set gpio 0x%02x, state %d\n",
|
|
|
|
+ offset, gpio->tag, gpio->state_default);
|
|
|
|
+ if (bios->execute)
|
|
|
|
+ nv50_gpio_set(bios->dev, gpio->tag, gpio->state_default);
|
|
|
|
|
|
/* The NVIDIA binary driver doesn't appear to actually do
|
|
/* The NVIDIA binary driver doesn't appear to actually do
|
|
* any of this, my VBIOS does however.
|
|
* any of this, my VBIOS does however.
|