Commit Graph

108 Commits

Author SHA1 Message Date
Adam Madsen
24c9fc5473 [core] dkms: bump version 2021-01-23 11:56:27 -06:00
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 30ffca808b.
This reverts commit 623fa20705.
2021-01-13 14:07:02 +11:00
Adam Madsen
30ffca808b [core] dkms: bump version 2021-01-13 13:55:51 +11:00
Adam Madsen
623fa20705 [amd] audio: Preserve PCI config space for audio device 2021-01-13 13:55:51 +11:00
BegoneRaven
eadbb20b38 Update README.md
Adding the 'Vega FE' Common Name for the Vega 10  Family under the Supported Devices section
2021-01-12 13:01:00 -06:00
Eugene Shatsky
f435bf9e93 Add lists of Polaris GPUs 2021-01-12 10:44:12 -08:00
Matthias Tafelmeier
765b05cdbd refer to uaccess to prevent build failure
Tackling following build glitch for 4.19 kernel:

/var/lib/dkms/vendor-reset/0.0.18/build/src/ioctl.c: In function ‘vendor_reset_ioctl_reset’:
/var/lib/dkms/vendor-reset/0.0.18/build/src/ioctl.c:34:7: error: implicit declaration of function ‘copy_from_user’; did you mean ‘sg_copy_from_buffer’? [-Werror=implicit-function-declaration]
   if (copy_from_user(&iodev, (void __user *)arg, sizeof(iodev)))
       ^~~~~~~~~~~~~~
       sg_copy_from_buffer
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-4.19.0-12-common/scripts/Makefile.build:308: /var/lib/dkms/vendor-reset/0.0.18/build/src/ioctl.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/usr/src/linux-headers-4.19.0-12-common/Makefile:1565: _module_/var/lib/dkms/vendor-reset/0.0.18/build] Error 2
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-12-amd64'
make: *** [Makefile:8: build] Error 2
2020-12-23 05:38:44 +11:00
Adam Madsen
a6458b3dbf [core] release dkms version 0.0.18 2020-11-20 13:17:03 -06:00
Adam Madsen
841f8a507b [core] bump dkms version. 2020-11-18 17:56:11 -06: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
838ccab480 [amd] firmware: fix IOREG access 2020-11-18 17:44:50 -06:00
Adam Madsen
ed604594d3 [amd] common: fix indirect register access 2020-11-18 17:43:28 -06:00
Adam Madsen
864b808696 [core] since hook is the default, add NOHOOK argument to Make 2020-11-18 17:42:46 -06:00
Geoffrey McRae
6140e2fdb0 [amd] all: removed dependency on DRM 2020-11-15 23:52:38 +11:00
Geoffrey McRae
69ec73efd3 [hook] disable TCO for the hooked function 2020-11-15 15:36:44 +11:00
Geoffrey McRae
d88aecfc00 [core] mark the configuration table as const 2020-11-15 15:12:01 +11:00
Geoffrey McRae
8ea3ae46fc [core] print reset progress messages 2020-11-15 14:53:30 +11:00
Geoffrey McRae
ef8d4139cb [core] bump dkms version 2020-11-15 13:48:06 +11:00
Geoffrey McRae
2d54cdb714 [core] be explicit about the device-db end of array init 2020-11-15 13:27:00 +11:00
Geoffrey McRae
ac2bb1cd6b [core] fixed bad mathch on PCI_ANY_ID 2020-11-15 13:24:37 +11:00
Geoffrey McRae
684d4cf1f5 [doc] added information about early loading of the module 2020-11-15 12:20:14 +11:00
Adam Madsen
7d18e6a4c2 [amd] navi10: actually include that missing header file 2020-11-14 18:39:11 -06:00
Adam Madsen
8818587b84 [amd] navi10: add missing header file. 2020-11-14 18:31:22 -06:00
Adam Madsen
47022fe550 [amd] navi10: a little tidying up 2020-11-14 11:16:50 -06:00
Spencer Harmon
3666550051 [core] Add support for alternate install path
This is needed for the arch build system, closes #1
2020-11-14 20:49:55 +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
Adam Madsen
246f57e0b0 [core] hook: prefer included fixes over pci/quirks.c 2020-11-13 22:57:16 -06:00
Adam Madsen
8d6eac1f49 [core] fix typo in readme 2020-11-13 22:52:54 -06:00
Geoffrey McRae
d9190f1d26 [core] updated readme with requirements 2020-11-14 15:01:24 +11:00
Geoffrey McRae
06532d1eb7 [amd] vega10: fixed missed macro rename for prints 2020-11-14 13:27:52 +11:00
Geoffrey McRae
6b943a0376 [core] added vr_* logging macros and refactored to use them 2020-11-14 13:25:17 +11:00
Geoffrey McRae
78363b9353 [core] added per reset versioning 2020-11-14 13:25:17 +11:00
Geoffrey McRae
391f99195a [amd] firmware: include compat.h instead of a forward decl 2020-11-14 13:25:17 +11:00
Adam Madsen
8d2b2f3d4d [core] Bump DKMS version. 2020-11-13 19:42:48 -06: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
d99cee4489 [core] bump DKMS module version 2020-11-13 17:36:28 -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
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
01074a6010 [core] missed a rename to hook 2020-11-12 12:12:25 +11:00
Geoffrey McRae
b62fdae038 [core] split hook code out of module.c 2020-11-12 12:09:43 +11:00
Geoffrey McRae
dd8eadc6e7 [core] seperate ioctl setup from module init 2020-11-12 11:56:08 +11:00
Geoffrey McRae
c1ab03e74a [core] don't return on failure to reset so post-reset gets called 2020-11-12 08:34:19 +11:00
Geoffrey McRae
9397c0bef2 [core] rename vendor-reset.c to ioctl.c for consistency 2020-11-12 08:32:45 +11:00
Geoffrey McRae
4865020e2c [core] refactor unlocked codepath into it's own function 2020-11-12 08:30:43 +11:00
Geoffrey McRae
c8d538e68f [core] cosmetics 2020-11-12 08:23:39 +11:00