diff options
author | Samuel Li <[email protected]> | 2017-06-06 18:21:08 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-06-07 21:53:36 +0200 |
commit | c705caaff9e6cc874e90651d6f8e459741978b06 (patch) | |
tree | 4a1d9da31ed321150576505255ed00368196d5d3 /src/gallium/drivers/radeon/radeon_winsys.h | |
parent | 4ba4f0e97673bae2d3a8b7e5bac3210a4c2d944e (diff) |
radeonsi: Use libdrm to get chipset name
v2: Add a func pointer to radeon_winsys to support radeon later.
Change-Id: I614ea71424f9e5c97e4ae68654315d28c89eaa5f
Signed-off-by: Samuel Li <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_winsys.h')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_winsys.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_winsys.h b/src/gallium/drivers/radeon/radeon_winsys.h index 524bb467e1b..e19fde6e431 100644 --- a/src/gallium/drivers/radeon/radeon_winsys.h +++ b/src/gallium/drivers/radeon/radeon_winsys.h @@ -637,6 +637,8 @@ struct radeon_winsys { bool (*read_registers)(struct radeon_winsys *ws, unsigned reg_offset, unsigned num_registers, uint32_t *out); + + const char* (*get_chip_name)(struct radeon_winsys *ws); }; static inline bool radeon_emitted(struct radeon_winsys_cs *cs, unsigned num_dw) |