diff options
author | Emil Velikov <[email protected]> | 2017-02-14 00:57:24 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-02-16 15:17:52 +0000 |
commit | 78c747e820edcc995a3fbad6ed6fe7ba438ea5a7 (patch) | |
tree | 214d17ee0b848cf8d0fe5cf34ad57a97187f9d1d /src/mesa/drivers/dri | |
parent | c8f1f2dc2df4f43b22be522d2957159681736c47 (diff) |
r100: use correct libdrm_radeon macro
Remove local definition of RADEON_INFO_TILE_CONFIG and use the correct
macro provided by libdrm_radeon RADEON_INFO_TILING_CONFIG.
Latter was present as of libdrm 2.4.22, sirca 2010.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_screen.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index 9a075351558..06901348a39 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -128,10 +128,6 @@ DRI_CONF_END }; #endif -#ifndef RADEON_INFO_TILE_CONFIG -#define RADEON_INFO_TILE_CONFIG 0x6 -#endif - static int radeonGetParam(__DRIscreen *sPriv, int param, void *value) { @@ -148,8 +144,8 @@ radeonGetParam(__DRIscreen *sPriv, int param, void *value) case RADEON_PARAM_NUM_Z_PIPES: info.request = RADEON_INFO_NUM_Z_PIPES; break; - case RADEON_INFO_TILE_CONFIG: - info.request = RADEON_INFO_TILE_CONFIG; + case RADEON_INFO_TILING_CONFIG: + info.request = RADEON_INFO_TILING_CONFIG; break; default: return -EINVAL; |