Geoffrey McRae
331f44820e
[amd] common: remove useless dependency on DRM
2020-11-14 09:27:49 +11:00
Geoffrey McRae
255660bd5b
[amd] vega20: added preliminary BACO reset (untested)
2020-11-11 09:55:44 +11:00
Adam Madsen
8d5922b434
AMD: I think that's Navi.
2020-11-10 09:48:36 -06:00
Adam Madsen
c46c1dd071
AMD: Add PCIE reset method for Polaris 10.
2020-11-09 13:26:16 -06:00
Adam Madsen
68ca4816b6
Load and parse BIOS/firmware where possible
2020-11-02 14:47:13 -06:00
Geoffrey McRae
2b21a6e3cf
[amd] added amdgpu_discovery and initial navi10 setup code
2020-11-03 00:16:49 +11: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
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