Commit Graph

117 Commits (master)
 

Author SHA1 Message Date
Marcus Köhler 084881c6e9 Allow correct compilation with Clang/LLVM
Signed-off-by: Marcus Köhler <khler.marcus@gmail.com>
4 weeks ago
Sakari f72619e468 Fix build on kernel 6.8+ 4 weeks ago
Geoffrey McRae 1374629d08 [amd] add support for AMD Instinct MI100 4 weeks ago
Alyssa Ross 4b466e92a2 Fix GCC declaration-after-statement error
Since upgrading to Linux v5.18 in Nixpkgs, we've been seeing an
"ISO C90 forbids mixed declarations and code" error from GCC.

This patch fixes it by initializing regs as part of its declaration,
meaning hook will no longer be declared after a statement.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
2 years ago
xperia64 e65b850acc Add udev rules for kernel 5.15+ 2 years ago
dev-sda1 7d43285a50 Bump MODULE_VERSION to 0.1.1
MODULE_VERSION was still set to the old version of 0.1.0, which would give out a warning when DKIM performed version sanity checks.
3 years ago
Térence Clastres 225a49a409 [core] add support for linux 5.11
This approach maintains compatibility with previous kernel versions.

Thanks to @justinkb for finding the commit that broke it (torvalds/linux@d19ad07).
3 years ago
Adam Madsen e16c0d7931 [core] remove unneeded line in dkms.conf 3 years ago
Adam Madsen 547aec42c4 [core] add MODULE_VERSION(), bump DKMS version for first release 3 years ago
Adam Madsen 24c9fc5473 [core] dkms: bump version 3 years ago
Adam Madsen fc694db073 [amd] audio: Preserve PCI config space for audio device 3 years ago
Geoffrey McRae 6875092f2f [core] revert commits that are not quite ready yet
This reverts commit 30ffca808b.
This reverts commit 623fa20705.
3 years ago
Adam Madsen 30ffca808b [core] dkms: bump version 3 years ago
Adam Madsen 623fa20705 [amd] audio: Preserve PCI config space for audio device 3 years ago
BegoneRaven eadbb20b38 Update README.md
Adding the 'Vega FE' Common Name for the Vega 10  Family under the Supported Devices section
3 years ago
Eugene Shatsky f435bf9e93 Add lists of Polaris GPUs 3 years ago
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
3 years ago
Adam Madsen a6458b3dbf [core] release dkms version 0.0.18 4 years ago
Adam Madsen 841f8a507b [core] bump dkms version. 4 years ago
Adam Madsen c5cb424fec [amd] polaris10: check if reset is needed, use BACO if possible 4 years ago
Adam Madsen 838ccab480 [amd] firmware: fix IOREG access 4 years ago
Adam Madsen ed604594d3 [amd] common: fix indirect register access 4 years ago
Adam Madsen 864b808696 [core] since hook is the default, add NOHOOK argument to Make 4 years ago
Geoffrey McRae 6140e2fdb0 [amd] all: removed dependency on DRM 4 years ago
Geoffrey McRae 69ec73efd3 [hook] disable TCO for the hooked function 4 years ago
Geoffrey McRae d88aecfc00 [core] mark the configuration table as const 4 years ago
Geoffrey McRae 8ea3ae46fc [core] print reset progress messages 4 years ago
Geoffrey McRae ef8d4139cb [core] bump dkms version 4 years ago
Geoffrey McRae 2d54cdb714 [core] be explicit about the device-db end of array init 4 years ago
Geoffrey McRae ac2bb1cd6b [core] fixed bad mathch on PCI_ANY_ID 4 years ago
Geoffrey McRae 684d4cf1f5 [doc] added information about early loading of the module 4 years ago
Adam Madsen 7d18e6a4c2 [amd] navi10: actually include that missing header file 4 years ago
Adam Madsen 8818587b84 [amd] navi10: add missing header file. 4 years ago
Adam Madsen 47022fe550 [amd] navi10: a little tidying up 4 years ago
Spencer Harmon 3666550051 [core] Add support for alternate install path
This is needed for the arch build system, closes #1
4 years ago
Adam Madsen 0dab58276f [amd] common: add missing device dereference. 4 years ago
Geoffrey McRae 9917242b8d [amd] all: always disable bus reset as early as possible 4 years ago
Geoffrey McRae 2f588b8870 [core] honour the kernels probe requests 4 years ago
Adam Madsen 246f57e0b0 [core] hook: prefer included fixes over pci/quirks.c 4 years ago
Adam Madsen 8d6eac1f49 [core] fix typo in readme 4 years ago
Geoffrey McRae d9190f1d26 [core] updated readme with requirements 4 years ago
Geoffrey McRae 06532d1eb7 [amd] vega10: fixed missed macro rename for prints 4 years ago
Geoffrey McRae 6b943a0376 [core] added vr_* logging macros and refactored to use them 4 years ago
Geoffrey McRae 78363b9353 [core] added per reset versioning 4 years ago
Geoffrey McRae 391f99195a [amd] firmware: include compat.h instead of a forward decl 4 years ago
Adam Madsen 8d2b2f3d4d [core] Bump DKMS version. 4 years ago
Adam Madsen 331cabae19 [amd] vega10: do not disable some features that apparently cause the SMU to hang up in some circumstances. 4 years ago
Adam Madsen d99cee4489 [core] bump DKMS module version 4 years ago
Adam Madsen f20d8b70bc [amd] vega10: SMU feature disable + gfx reset + BACO seems to be the secret sauce 4 years ago
Adam Madsen c18730a60d [amd] common: Map port I/O space (proper way to access certain ATOM registers?) 4 years ago