I want to use the latest 5.9 kernel from gitlab. However i want to use the NAVI-reset patch provided from the level1techs forum. However when using makepkg I get => ERROR: A failure occurred in build().
Aborting…
No description of error. It just Aborts. No idea why. First time doing this so i have no idea what i’m doing wrong here. I added the patch into the folder where the rest of the patches are and added the SHA256 sum in the PKGBUILD and the section for adding the patches. Any help would be appreciated. Thanks
This means there was an error somewhere in your compilation.
You may have to increase the amount of lines that your terminal emulator saves, so you can see the error. It can be thousands of lines back in the output.
My guess is that the patch changes something that is no longer supported by the kernel source.
What kernel is the patch made for?
CC [M] sound/pci/emu10k1/memory.o
drivers/pci/quirks.c: In function ‘reset_amd_navi10’:
drivers/pci/quirks.c:4093:2: error: implicit declaration of function ‘pc_write_config_word’; did you mean ‘pci_write_config_word’? [-Werror=implicit-function-declaration]
4093 | pc_write_config_word(dev, PCI_COMMAND, cfg | PCI_COMMAND_MEMORY);
| ^~~~~~~~~~~~~~~~~~~~
| pci_write_config_word
Since it’s navi related, I’d say the patch no longet works.