[PATCH xf86-video-amdgpu 0/7] Remove generated header files

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


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

This series removes the reliance on information in generated header
files, and removes the generated header files. The main motivation for
this is to remove the need to add PCI ID entries for each supported
GPU.

Patch 6 relies on amdgpu_get_marketing_name from
https://patchwork.freedesktop.org/patch/110050/ , it will be updated to
require the libdrm release containing that before pushing.

The series won't be pushed before the upcoming 1.2.0 release anyway.

Michel Dänzer (7):
  Move struct amdgpu_gpu_info out of amdgpu_get_tile_config
  Use family information from libdrm_amdgpu / kernel
  Stop using generated amdgpu_device_match
  Remove amdpciids.h
  Stop using AMDGPUPciChipsets
  Stop using AMDGPU(Unique)Chipsets
  Remove generated header files

 src/Makefile.am                   |   8 --
 src/amdgpu_chipinfo_gen.h         | 194 ----------------------------------
 src/amdgpu_chipset_gen.h          | 216 --------------------------------------
 src/amdgpu_drv.h                  |   5 +-
 src/amdgpu_kms.c                  |  52 ++++-----
 src/amdgpu_pci_chipset_gen.h      | 195 ----------------------------------
 src/amdgpu_pci_device_match_gen.h | 195 ----------------------------------
 src/amdgpu_probe.c                |  22 ++--
 src/amdgpu_probe.h                |  29 -----
 src/amdpciids.h                   |  39 -------
 src/ati_pciids_gen.h              | 191 ---------------------------------
 src/pcidb/ati_pciids.csv          | 192 ---------------------------------
 src/pcidb/parse_pci_ids.pl        |  82 ---------------
 13 files changed, 32 insertions(+), 1388 deletions(-)
 delete mode 100644 src/amdgpu_chipinfo_gen.h
 delete mode 100644 src/amdgpu_chipset_gen.h
 delete mode 100644 src/amdgpu_pci_chipset_gen.h
 delete mode 100644 src/amdgpu_pci_device_match_gen.h
 delete mode 100644 src/amdpciids.h
 delete mode 100644 src/ati_pciids_gen.h
 delete mode 100644 src/pcidb/ati_pciids.csv
 delete mode 100755 src/pcidb/parse_pci_ids.pl

-- 
2.10.2



More information about the amd-gfx mailing list