diff options
author | Marek Olšák <[email protected]> | 2017-11-07 15:27:43 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-11-07 17:26:36 +0100 |
commit | 24e90047088599e686b636fde9bda3a96f34a35c (patch) | |
tree | daba52bb59736e62949bcc319cc542a50613d297 /src | |
parent | cf47dfe8f18e5398dc55ead6c1495c14c3dec938 (diff) |
radeonsi: remove unused field in the PCI ID table
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/common/ac_gpu_info.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 2 | ||||
-rw-r--r-- | src/loader/pci_id_driver_map.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/amd/common/ac_gpu_info.c b/src/amd/common/ac_gpu_info.c index 2e560125508..6c4630f0444 100644 --- a/src/amd/common/ac_gpu_info.c +++ b/src/amd/common/ac_gpu_info.c @@ -223,7 +223,7 @@ bool ac_query_gpu_info(int fd, amdgpu_device_handle dev, info->vce_harvest_config = amdinfo->vce_harvest_config; switch (info->pci_id) { -#define CHIPSET(pci_id, name, cfamily) case pci_id: info->family = CHIP_##cfamily; break; +#define CHIPSET(pci_id, cfamily) case pci_id: info->family = CHIP_##cfamily; break; #include "pci_ids/radeonsi_pci_ids.h" #undef CHIPSET diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c index d612d9a2dc5..e600199d265 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c @@ -182,7 +182,7 @@ static bool do_winsys_init(struct radeon_drm_winsys *ws) #include "pci_ids/r600_pci_ids.h" #undef CHIPSET -#define CHIPSET(pci_id, name, cfamily) case pci_id: ws->info.family = CHIP_##cfamily; ws->gen = DRV_SI; break; +#define CHIPSET(pci_id, cfamily) case pci_id: ws->info.family = CHIP_##cfamily; ws->gen = DRV_SI; break; #include "pci_ids/radeonsi_pci_ids.h" #undef CHIPSET diff --git a/src/loader/pci_id_driver_map.h b/src/loader/pci_id_driver_map.h index 343fc346acf..c582aae709b 100644 --- a/src/loader/pci_id_driver_map.h +++ b/src/loader/pci_id_driver_map.h @@ -48,7 +48,7 @@ static const int r600_chip_ids[] = { }; static const int radeonsi_chip_ids[] = { -#define CHIPSET(chip, name, family) chip, +#define CHIPSET(chip, family) chip, #include "pci_ids/radeonsi_pci_ids.h" #undef CHIPSET }; |