From 97df0a32b14e34f22dce9cd3b375c1ac5fb1c5eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Tue, 19 Dec 2006 11:28:21 +0100 Subject: radeon: Advertise 2D engine limits to EXA when we're not using the 3D engine. Also round up to the maximum width and height, as that's what EXA compares. --- src/radeon_exa_funcs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c index f018e55..0d847d1 100644 --- a/src/radeon_exa_funcs.c +++ b/src/radeon_exa_funcs.c @@ -517,9 +517,6 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen) info->exa->pixmapOffsetAlign = RADEON_BUFFER_ALIGN + 1; info->exa->pixmapPitchAlign = 64; - info->exa->maxX = 2047; - info->exa->maxY = 2047; - #ifdef RENDER if (info->RenderAccel) { if (info->ChipFamily >= CHIP_FAMILY_R300) { @@ -548,6 +545,9 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen) } #endif + info->exa->maxX = info->exa->Composite ? 2048 : 8192; + info->exa->maxY = info->exa->Composite ? 2048 : 8192; + RADEONEngineInit(pScrn); if (!exaDriverInit(pScreen, info->exa)) { -- cgit v1.2.3