[Nouveau] [PATCH] ram/gf100-: error out if a ridiculous amount of vram is detected

2015-05-21 Thread Ben Skeggs
On 21 May 2015 at 06:01, Ilia Mirkin wrote: > Some newer chips have trouble coming up, and we get bad MMIO reads from > them, like 0xbadf100. This ends up translating into crazy amounts of > VRAM, which destroys all sorts of other logic down the line. Instead, > fail device init. Hrm, I'm not sure

[Nouveau] [PATCH] ram/gf100-: error out if a ridiculous amount of vram is detected

2015-05-20 Thread Tobias Klausmann
Any idea on how to solve the problem. other than just reporting it? But for now this adds a helpful error message... you may add my R-b. On 20.05.2015 22:01, Ilia Mirkin wrote: > Some newer chips have trouble coming up, and we get bad MMIO reads from > them, like 0xbadf100. This ends up translati

[Nouveau] [PATCH] ram/gf100-: error out if a ridiculous amount of vram is detected

2015-05-20 Thread Ilia Mirkin
Someone will have to trudge through a mmiotrace and figure out what magic bit we need to set in order to bring it out of deep sleep. Or perhaps NVIDIA will graciously tell us, which they eventually did for GK104/GK106 (but their instructions appear to be insufficient for at least some GK106's). Bu