21 Commits

Author SHA1 Message Date
Adam Madsen
fc694db073 [amd] audio: Preserve PCI config space for audio device 2021-01-23 11:56:27 -06:00
Geoffrey McRae
6875092f2f [core] revert commits that are not quite ready yet
This reverts commit 30ffca808b2452327af2141061e067b1aa03ba29.
This reverts commit 623fa20705d10ff8f3ffed56895cebc7ce8106f9.
2021-01-13 14:07:02 +11:00
Adam Madsen
623fa20705 [amd] audio: Preserve PCI config space for audio device 2021-01-13 13:55:51 +11:00
Adam Madsen
c5cb424fec [amd] polaris10: check if reset is needed, use BACO if possible 2020-11-18 17:45:51 -06:00
Adam Madsen
ed604594d3 [amd] common: fix indirect register access 2020-11-18 17:43:28 -06:00
Geoffrey McRae
6140e2fdb0 [amd] all: removed dependency on DRM 2020-11-15 23:52:38 +11:00
Geoffrey McRae
d88aecfc00 [core] mark the configuration table as const 2020-11-15 15:12:01 +11:00
Geoffrey McRae
2f588b8870 [core] honour the kernels probe requests 2020-11-14 17:25:41 +11:00
Adam Madsen
c18730a60d [amd] common: Map port I/O space (proper way to access certain ATOM registers?) 2020-11-13 17:35:03 -06:00
Adam Madsen
d537ed67d9 [amd] common: remove mutexes and locks 2020-11-13 17:35:03 -06:00
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