summaryrefslogtreecommitdiff
path: root/src/radeon_kms.c
diff options
context:
space:
mode:
authorAndreas Boll <andreas.boll.dev@gmail.com>2014-08-04 16:23:13 +0200
committerJerome Glisse <jglisse@redhat.com>2014-08-12 11:33:08 -0400
commit03930edd49f6b8a8d79910c7be5408b47db9649b (patch)
treed0102e5e065567a70cc4b372f0c19d50fd1fc8a7 /src/radeon_kms.c
parent91849fba0742ef61ba327e71fc3ce8f754af0a6f (diff)
radeon: remove definitions already present in radeon_drm.h
Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
Diffstat (limited to 'src/radeon_kms.c')
-rw-r--r--src/radeon_kms.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index 707d0c76..a5e77ef0 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -333,9 +333,6 @@ static Bool RADEONIsFastFBWorking(ScrnInfoPtr pScrn)
int r;
uint32_t tmp = 0;
-#ifndef RADEON_INFO_FASTFB_WORKING
-#define RADEON_INFO_FASTFB_WORKING 0x14
-#endif
memset(&ginfo, 0, sizeof(ginfo));
ginfo.request = RADEON_INFO_FASTFB_WORKING;
ginfo.value = (uintptr_t)&tmp;
@@ -355,9 +352,6 @@ static Bool RADEONIsFusionGARTWorking(ScrnInfoPtr pScrn)
int r;
uint32_t tmp;
-#ifndef RADEON_INFO_FUSION_GART_WORKING
-#define RADEON_INFO_FUSION_GART_WORKING 0x0c
-#endif
memset(&ginfo, 0, sizeof(ginfo));
ginfo.request = RADEON_INFO_FUSION_GART_WORKING;
ginfo.value = (uintptr_t)&tmp;
@@ -377,13 +371,6 @@ static Bool RADEONIsAccelWorking(ScrnInfoPtr pScrn)
int r;
uint32_t tmp;
-#ifndef RADEON_INFO_ACCEL_WORKING
-#define RADEON_INFO_ACCEL_WORKING 0x03
-#endif
-#ifndef RADEON_INFO_ACCEL_WORKING2
-#define RADEON_INFO_ACCEL_WORKING2 0x05
-#endif
-
memset(&ginfo, 0, sizeof(ginfo));
if (info->dri2.pKernelDRMVersion->version_minor >= 5)
ginfo.request = RADEON_INFO_ACCEL_WORKING2;
@@ -680,10 +667,6 @@ static Bool r600_get_tile_config(ScrnInfoPtr pScrn)
if (info->ChipFamily < CHIP_FAMILY_R600)
return FALSE;
-#ifndef RADEON_INFO_TILING_CONFIG
-#define RADEON_INFO_TILING_CONFIG 0x6
-#endif
-
memset(&ginfo, 0, sizeof(ginfo));
ginfo.request = RADEON_INFO_TILING_CONFIG;
ginfo.value = (uintptr_t)&tmp;