diff options
author | Marek Olšák <[email protected]> | 2018-08-02 22:21:02 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-08-14 21:20:31 -0400 |
commit | 84652721b987d892d743e3847b26b075fd3fa916 (patch) | |
tree | a48797f56ba54e17fb8141d55a08f4121094603e /src/gallium/winsys/radeon/drm | |
parent | de8d5edbc4805493bd9e4c031fc0a30b6579bf58 (diff) |
ac: add radeon_info::name
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon/drm')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c index 491e8e159f4..f8702e7c601 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c @@ -182,7 +182,12 @@ static bool do_winsys_init(struct radeon_drm_winsys *ws) #include "pci_ids/r600_pci_ids.h" #undef CHIPSET -#define CHIPSET(pci_id, 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->info.name = #cfamily; \ + ws->gen = DRV_SI; \ + break; #include "pci_ids/radeonsi_pci_ids.h" #undef CHIPSET |