summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2006-12-19 11:28:21 +0100
committerMichel Dänzer <michel@tungstengraphics.com>2006-12-19 11:28:21 +0100
commit97df0a32b14e34f22dce9cd3b375c1ac5fb1c5eb (patch)
treef676c4ee1d0fa9b06e9ca26605e5db6ce287225e
parent295823d0879a5b574bb79843a6acd43adb9259e5 (diff)
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.
-rw-r--r--src/radeon_exa_funcs.c6
1 files 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)) {