drivers/gfx/nvidia: Increase power sequence delays
The serw13 with the 4070 RTX sometimes fails to enumerate the dGPU. Increasing the delays allows the dGPU to be enumerated consistently. The values are arbitrary, but still less than the values from proprietary firmware. Change-Id: Ibbfda596a324df4b51d583af8d6a36b5cd53a561 Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
@@ -19,15 +19,15 @@ void nvidia_set_power(const struct nvidia_gpu_config *config)
|
||||
printk(BIOS_DEBUG, "%s: GPU_RST# = %d\n", __func__, config->reset_gpio);
|
||||
|
||||
gpio_set(config->reset_gpio, 0);
|
||||
mdelay(4);
|
||||
mdelay(10);
|
||||
|
||||
if (config->enable) {
|
||||
gpio_set(config->power_gpio, 1);
|
||||
mdelay(4);
|
||||
mdelay(25);
|
||||
gpio_set(config->reset_gpio, 1);
|
||||
} else {
|
||||
gpio_set(config->power_gpio, 0);
|
||||
}
|
||||
|
||||
mdelay(4);
|
||||
mdelay(10);
|
||||
}
|
||||
|
Reference in New Issue
Block a user