Geoffrey McRae
78363b9353
[core] added per reset versioning
2020-11-14 13:25:17 +11:00
Adam Madsen
331cabae19
[amd] vega10: do not disable some features that apparently cause the SMU to hang up in some circumstances.
2020-11-13 19:42:14 -06:00
Adam Madsen
f20d8b70bc
[amd] vega10: SMU feature disable + gfx reset + BACO seems to be the secret sauce
2020-11-13 17:35:03 -06:00
Adam Madsen
8d5922b434
AMD: I think that's Navi.
2020-11-10 09:48:36 -06:00
Adam Madsen
d0b17b2bb5
[amd] Update vega10 to use fake dev init
2020-11-02 15:23:53 -06:00
Adam Madsen
7faae1b95a
Guard against common cases where vega10 does not
...
need to be reset.
Specifically, check if the card is already in BACO. If so, exit. If the card shows no signs of life, exit because we likely can't do anything. If the card shows signs of life, do a BACO reset.
2020-11-01 23:29:53 -06:00
Adam Madsen
eb42a21118
Vega10 BACO reset should work now.
2020-11-01 21:41:46 -06:00
Adam Madsen
4ecfddfc0e
Unmap mmio post reset.
2020-11-01 21:16:22 -06:00
Adam Madsen
95bcd0f0f1
Collect some precondition info
2020-11-01 20:18:39 -06:00
Adam Madsen
db50c45f35
Store pointer to vendor struct, fix crash in lock.
2020-11-01 19:16:25 -06:00
Adam Madsen
b8517880ea
Implement BACO for vega10.
...
Additionally, imported a whole bunch of stuff from the `amdgpu` module.
2020-11-01 18:48:10 -06:00
Adam Madsen
9c2185f113
Add structure for common pre- and post-reset tasks
2020-11-01 16:14:11 -06:00
Geoffrey McRae
5a32e3e3c2
restructure and added stubs for vega10, vega20 and navi10
2020-10-31 20:14:36 +11:00