From 99046459f5ab402be3dd4f4128bd1ec6b46cf57a Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Tue, 18 Dec 2012 14:52:59 -0500 Subject: [PATCH] exa: fix coordinate limits on AVIVO IGPs RS6xx asics are r4xx derived, but seem to have r3xx limitations as far as clipping is concerned. Spotted by Michel on IRC. Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=58469 Signed-off-by: Alex Deucher --- src/radeon_exa_render.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/radeon_exa_render.c b/src/radeon_exa_render.c index c673f2c..e08c188 100644 --- a/src/radeon_exa_render.c +++ b/src/radeon_exa_render.c @@ -1357,7 +1357,13 @@ static Bool R300CheckComposite(int op, PicturePtr pSrcPicture, PicturePtr pMaskP } else { max_tex_w = 2048; max_tex_h = 2048; - if (IS_R400_3D) { + /* AVIVO IGP chips seem to be limited to 2560 as well */ + if ((info->ChipFamily == CHIP_FAMILY_RS690) || + (info->ChipFamily == CHIP_FAMILY_RS600) || + (info->ChipFamily == CHIP_FAMILY_RS740)) { + max_dst_w = 2560; + max_dst_h = 2560; + } else if (IS_R400_3D) { max_dst_w = 4021; max_dst_h = 4021; } else { -- 1.7.3.4