mirror of
https://github.com/X11Libre/xf86-video-amdgpu.git
synced 2026-03-24 01:24:31 +00:00
Stop using generated amdgpu_device_match
Just match on PCI device ID 0x1002. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -44,7 +44,6 @@
|
||||
#include "amdgpu_probe.h"
|
||||
#include "amdgpu_version.h"
|
||||
#include "amdgpu_drv.h"
|
||||
#include "amdpciids.h"
|
||||
|
||||
#include "xf86.h"
|
||||
|
||||
@@ -59,12 +58,11 @@
|
||||
#include <xf86platformBus.h>
|
||||
#endif
|
||||
|
||||
#include "ati_pciids_gen.h"
|
||||
#include "amdgpu_chipset_gen.h"
|
||||
|
||||
#include "amdgpu_pci_chipset_gen.h"
|
||||
|
||||
#include "amdgpu_pci_device_match_gen.h"
|
||||
|
||||
_X_EXPORT int gAMDGPUEntityIndex = -1;
|
||||
|
||||
/* Return the options for supported chipset 'n'; NULL otherwise */
|
||||
@@ -381,6 +379,11 @@ error:
|
||||
}
|
||||
#endif
|
||||
|
||||
static const struct pci_id_match amdgpu_device_match[] = {
|
||||
{0x1002, PCI_MATCH_ANY, PCI_MATCH_ANY, PCI_MATCH_ANY, 0, 0, 0},
|
||||
{0, 0, 0},
|
||||
};
|
||||
|
||||
_X_EXPORT DriverRec AMDGPU = {
|
||||
AMDGPU_VERSION_CURRENT,
|
||||
AMDGPU_DRIVER_NAME,
|
||||
|
||||
Reference in New Issue
Block a user