summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/drivers/savage/savage_dri.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/programs/Xserver/hw/xfree86/drivers/savage/savage_dri.c')
-rw-r--r--xc/programs/Xserver/hw/xfree86/drivers/savage/savage_dri.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/drivers/savage/savage_dri.c b/xc/programs/Xserver/hw/xfree86/drivers/savage/savage_dri.c
index 9c7b59f31..de3b07317 100644
--- a/xc/programs/Xserver/hw/xfree86/drivers/savage/savage_dri.c
+++ b/xc/programs/Xserver/hw/xfree86/drivers/savage/savage_dri.c
@@ -324,7 +324,7 @@ static Bool SAVAGEInitVisualConfigs( ScreenPtr pScreen )
}
static Bool SAVAGECreateContext( ScreenPtr pScreen, VisualPtr visual,
- drmContext hwContext, void *pVisualConfigPriv,
+ drm_context_t hwContext, void *pVisualConfigPriv,
DRIContextType contextStore )
{
ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
@@ -390,7 +390,7 @@ static Bool SAVAGECreateContext( ScreenPtr pScreen, VisualPtr visual,
}
-static void SAVAGEDestroyContext( ScreenPtr pScreen, drmContext hwContext,
+static void SAVAGEDestroyContext( ScreenPtr pScreen, drm_context_t hwContext,
DRIContextType contextStore )
{
ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
@@ -823,7 +823,7 @@ static Bool SAVAGEDRIMapInit( ScreenPtr pScreen )
pSAVAGEDRIServer->registers.size = SAVAGEIOMAPSIZE;
if ( drmAddMap( psav->drmFD,
- (drmHandle)psav->MmioBase,
+ (drm_handle_t)psav->MmioBase,
pSAVAGEDRIServer->registers.size,
DRM_REGISTERS,0,
&pSAVAGEDRIServer->registers.handle ) < 0 ) {
@@ -835,7 +835,7 @@ static Bool SAVAGEDRIMapInit( ScreenPtr pScreen )
pSAVAGEDRIServer->aperture.size = 5 * 0x01000000;
if ( drmAddMap( psav->drmFD,
- (drmHandle)(psav->ApertureBase),
+ (drm_handle_t)(psav->ApertureBase),
pSAVAGEDRIServer->aperture.size,
DRM_FRAME_BUFFER,0,
&pSAVAGEDRIServer->aperture.handle ) < 0 ) {