Skip to content

Commit 42b9550

Browse files
imxenoCalcProgrammer1
authored andcommitted
Add support for MSI Radeon RX 6800 XT Gaming Z Trio
1 parent 8777884 commit 42b9550

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Controllers/MSIGPUController/MSIGPUControllerDetect.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ static const msi_gpu_pci_device device_list[] =
7373
{ NVIDIA_VEN, NVIDIA_RTX3080TI_DEV, MSI_SUB_VEN, MSI_RTX3080TI_SUPRIM_X_SUB_DEV, "MSI GeForce RTX 3080 Ti Suprim X 12G" },
7474
{ NVIDIA_VEN, NVIDIA_RTX3090_DEV, MSI_SUB_VEN, MSI_RTX3090_GAMING_X_TRIO_SUB_DEV, "MSI GeForce RTX 3090 24GB Gaming X Trio" },
7575
{ NVIDIA_VEN, NVIDIA_RTX3090_DEV, MSI_SUB_VEN, MSI_RTX3090_SUPRIM_X_SUB_DEV, "MSI GeForce RTX 3090 Suprim X 24G" },
76+
{ AMD_GPU_VEN, AMD_NAVI21_DEV1, MSI_SUB_VEN, MSI_RX6800XT_GAMING_Z_TRIO_SUB_DEV, "MSI Radeon RX 6800 XT Gaming Z Trio" },
7677
};
7778

7879

@@ -93,7 +94,7 @@ void DetectMSIGPUControllers(std::vector<i2c_smbus_interface*> &busses)
9394
{
9495
for(unsigned int dev_idx = 0; dev_idx < MSI_GPU_NUM_DEVICES; dev_idx++)
9596
{
96-
if (busses[bus]->port_id != 1)
97+
if (busses[bus]->pci_vendor == NVIDIA_VEN && busses[bus]->port_id != 1)
9798
{
9899
break;
99100
}

pci_ids/pci_ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,7 @@
393393
#define MSI_RTX3080TI_SUPRIM_X_SUB_DEV 0x3897
394394
#define MSI_RTX3090_GAMING_X_TRIO_SUB_DEV 0x3884
395395
#define MSI_RTX3090_SUPRIM_X_SUB_DEV 0x3882
396+
#define MSI_RX6800XT_GAMING_Z_TRIO_SUB_DEV 0x3953
396397

397398
/*-----------------------------------------------------*\
398399
| PNY Sub-Device IDs |

0 commit comments

Comments
 (0)