21 Commits

Author SHA1 Message Date
Adam Madsen
e82aa63e2b WIP: implement BACO reset for Navi10 2020-11-22 14:20:55 -06:00
Geoffrey McRae
d88aecfc00 [core] mark the configuration table as const 2020-11-15 15:12:01 +11:00
Adam Madsen
0dab58276f [amd] common: add missing device dereference. 2020-11-14 01:07:52 -06:00
Geoffrey McRae
9917242b8d [amd] all: always disable bus reset as early as possible 2020-11-14 17:53:50 +11:00
Geoffrey McRae
2f588b8870 [core] honour the kernels probe requests 2020-11-14 17:25:41 +11:00
Geoffrey McRae
6b943a0376 [core] added vr_* logging macros and refactored to use them 2020-11-14 13:25:17 +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
255660bd5b [amd] vega20: added preliminary BACO reset (untested) 2020-11-11 09:55:44 +11:00
Adam Madsen
346e99246b Fix conditional guard against amdgpu module 2020-11-10 11:36:29 -06:00
Adam Madsen
1394ebdd37 Do not reset when device is under control of amdgpu. 2020-11-10 11:10:48 -06:00
Adam Madsen
8d5922b434 AMD: I think that's Navi. 2020-11-10 09:48:36 -06:00
Adam Madsen
c21bcddd9e AMD: disable bus resets. 2020-11-10 00:20:32 -06:00
Adam Madsen
68ca4816b6 Load and parse BIOS/firmware where possible 2020-11-02 14:47:13 -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
b7554f9035 Free mutex 2020-11-01 19:17:30 -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
1a32bb50ba Add missing license header. 2020-11-01 16:15:29 -06:00
Adam Madsen
9c2185f113 Add structure for common pre- and post-reset tasks 2020-11-01 16:14:11 -06:00