Re: [Nouveau] [PATCH v2 2/4] gpio: fail if gpu external power is missing

2019-07-16 Thread Mark Menzynski
This is what Nvidia did after using nvidia-smi, which is not very far from what happens now with the patch. kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 235 kernel: nvidia :01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none kernel: NV

Re: [Nouveau] [PATCH v2 2/4] gpio: fail if gpu external power is missing

2019-07-15 Thread Ben Skeggs
On Mon, 15 Jul 2019 at 22:26, Ilia Mirkin wrote: > > Please add a config override to skip this, since we'll invariably get > it wrong for some setup, and should be able to provide users with > workarounds while the issue is being worked out. Yeah, this makes me nervous as well. In the very least,

Re: [Nouveau] [PATCH v2 2/4] gpio: fail if gpu external power is missing

2019-07-15 Thread Ilia Mirkin
Please add a config override to skip this, since we'll invariably get it wrong for some setup, and should be able to provide users with workarounds while the issue is being worked out. On Mon, Jul 15, 2019 at 5:43 AM Mark Menzynski wrote: > > Currently, nouveau doesn't check if GPU is missing pow

[Nouveau] [PATCH v2 2/4] gpio: fail if gpu external power is missing

2019-07-15 Thread Mark Menzynski
Currently, nouveau doesn't check if GPU is missing power. This patch makes nouveau fail when this happens on latest GPUs. It checks GPIO function 121 (External Power Emergency), which should detect power problems on GPU initialization. Tested on TU104, GP106 and GF100. Signed-off-by: Mark Menzyn