https://forum.level1techs.com/t/vega-10-and-12-reset-application/145666
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static int reset_amdgpu_vega(struct pci_dev *dev, int probe) { | |
#define AMDGPU_MAX_USEC_TIMEOUT 100000 | |
#define MP0_BASE 0x16000 | |
#define mmMP0_SMN_C2PMSG_33 ((MP0_BASE + 0x0061) * 4) | |
#define mmMP0_SMN_C2PMSG_64 ((MP0_BASE + 0x0080) * 4) | |
#define mmMP0_SMN_C2PMSG_81 ((MP0_BASE + 0x0091) * 4) | |
resource_size_t rmmio_base, rmmio_size; | |
void __iomem *rmmio; | |
int ret; |
In your command-line run the following commands:
brew doctor
brew update