[PATCH xf86-video-amdgpu 5/7] Stop using AMDGPUPciChipsets

Michel Dänzer michel at daenzer.net
Tue Nov 1 09:31:23 UTC 2016


From: Michel Dänzer <michel.daenzer at amd.com>

Not actually used by Xorg.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
 src/amdgpu_probe.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/amdgpu_probe.c b/src/amdgpu_probe.c
index fb6f8a3..acc0433 100644
--- a/src/amdgpu_probe.c
+++ b/src/amdgpu_probe.c
@@ -61,8 +61,6 @@
 #include "ati_pciids_gen.h"
 #include "amdgpu_chipset_gen.h"
 
-#include "amdgpu_pci_chipset_gen.h"
-
 _X_EXPORT int gAMDGPUEntityIndex = -1;
 
 /* Return the options for supported chipset 'n'; NULL otherwise */
@@ -177,7 +175,7 @@ static Bool amdgpu_get_scrninfo(int entity_num, struct pci_device *pci_dev)
 	DevUnion *pPriv;
 	AMDGPUEntPtr pAMDGPUEnt;
 
-	pScrn = xf86ConfigPciEntity(pScrn, 0, entity_num, AMDGPUPciChipsets,
+	pScrn = xf86ConfigPciEntity(pScrn, 0, entity_num, NULL,
 				    NULL, NULL, NULL, NULL, NULL);
 
 	if (!pScrn)
-- 
2.10.2



More information about the amd-gfx mailing list