7 Commits

Author SHA1 Message Date
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
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
b8517880ea Implement BACO for vega10.
Additionally, imported a whole bunch of stuff from the `amdgpu` module.
2020-11-01 18:48:10 -06:00