summaryrefslogtreecommitdiff
path: root/src/radeon_exa.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-08-26 08:03:20 +1000
committerDave Airlie <airlied@linux.ie>2008-08-26 08:03:20 +1000
commita3cc1d7a421456186024c5c069e403d374a0f0b9 (patch)
tree4798f7e2b22da0dad97a2407800de69835588a2a /src/radeon_exa.c
parent6cebfe257f7ddad855ee743e4eb899bd6fac7f46 (diff)
radeon: fix powerpc build
Diffstat (limited to 'src/radeon_exa.c')
-rw-r--r--src/radeon_exa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_exa.c b/src/radeon_exa.c
index 39453000..0f86fdde 100644
--- a/src/radeon_exa.c
+++ b/src/radeon_exa.c
@@ -234,7 +234,7 @@ static Bool RADEONPrepareAccess(PixmapPtr pPix, int index)
}
#if defined(XF86DRI)
if (info->directRenderingEnabled && info->allowColorTiling) {
- drmRadeonSurfaceAlloc drmsurfalloc;
+ struct drm_radeon_surface_alloc drmsurfalloc;
int rc;
drmsurfalloc.address = offset;
@@ -277,7 +277,7 @@ static void RADEONFinishAccess(PixmapPtr pPix, int index)
return;
#if defined(XF86DRI)
if (info->directRenderingEnabled && info->allowColorTiling) {
- drmRadeonSurfaceFree drmsurffree;
+ struct drm_radeon_surface_free drmsurffree;
drmsurffree.address = offset;
drmCommandWrite(info->dri->drmFD, DRM_RADEON_SURF_FREE,