mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
gallium/radeon: Make sure radeonsi PCI IDs are also included
When importing libdrm_radeon code [1][2] it was somehow missed that what libdrm has in one r600_pci_ids.h, Mesa has split into r600_pci_ids.h and radeonsi_pci_ids.h. So, devices with ids from radeonsi_pci_ids.h were not considered valid for radeon_surface_manager_new. This commit changes that, thus fixing radeonsi for these devices. [1] commit1299f5c50a[2] commit3aa7497cc0Fixes:1299f5c50aSigned-off-by: Ivan A. Melnikov <iv@altlinux.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33940>
This commit is contained in:
parent
d74b3c550b
commit
4ad5b8f5bb
1 changed files with 3 additions and 0 deletions
|
|
@ -132,6 +132,9 @@ static int radeon_get_family(struct radeon_surface_manager *surf_man)
|
|||
switch (surf_man->device_id) {
|
||||
#define CHIPSET(pci_id, name, fam) case pci_id: surf_man->family = CHIP_##fam; break;
|
||||
#include "pci_ids/r600_pci_ids.h"
|
||||
#undef CHIPSET
|
||||
#define CHIPSET(pci_id, fam) case pci_id: surf_man->family = CHIP_##fam; break;
|
||||
#include "pci_ids/radeonsi_pci_ids.h"
|
||||
#undef CHIPSET
|
||||
default:
|
||||
return -EINVAL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue