From 9d2549057ffced996bfaeb8df4901ef57da636c7 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 16 May 2012 15:45:53 +0100 Subject: ati: convert to new screen conversion APIs The compat header takes care of the old server vs new server. this commit was autogenerated from util/modular/x-driver-screen-scrn-conv.sh Signed-off-by: Dave Airlie --- src/radeon_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/radeon_crtc.c') diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c index d48cbc1e..18b01559 100644 --- a/src/radeon_crtc.c +++ b/src/radeon_crtc.c @@ -1119,7 +1119,7 @@ RADEONSetTiling(ScrnInfoPtr pScrn) xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "[drm] failed changing tiling status\n"); /* if this is called during ScreenInit() we don't have pScrn->pScreen yet */ - pSAREAPriv = DRIGetSAREAPrivate(screenInfo.screens[pScrn->scrnIndex]); + pSAREAPriv = DRIGetSAREAPrivate(xf86ScrnToScreen(pScrn)); info->tilingEnabled = pSAREAPriv->tiling_enabled ? TRUE : FALSE; } #endif -- cgit v1.2.3