From patchwork Fri Jan 7 02:19:14 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 461971 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p072MjVh009822 for ; Fri, 7 Jan 2011 02:23:06 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F24E59E827 for ; Thu, 6 Jan 2011 18:22:44 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qy0-f170.google.com (mail-qy0-f170.google.com [209.85.216.170]) by gabe.freedesktop.org (Postfix) with ESMTP id 944919E8FD for ; Thu, 6 Jan 2011 18:19:53 -0800 (PST) Received: by mail-qy0-f170.google.com with SMTP id 10so11735qyk.15 for ; Thu, 06 Jan 2011 18:19:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=kZtFqTrD0Vm40dUpOqPqtN3kint2Q/p1qrUU3k7/tv0=; b=WH2M1Dp/Wdw9iVILu83S71SV9GXut0Q7be2OjfkoFteK1t8eXmQu3WFIvD7o22t5WW 3ee2rduoctiyx3XSV/7iPgATjQWLXn/0C9+l0zeKDWnB8JyXoJKB/HHvQCszZQGIv7qp FeCfmcmYZW8bA/r8rWmCGgokh6krmxLmkfyWg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=fd/JnSDPpN2yESYgq6EktH7wTgKMQk476eDv7OSeBCJuESdNeMRYzkRVUGhfU4FXPY 3dI+l/SUQwwu1ziBoMAA57MKtAGUvMmjVJbT1FnuweAXTe4zoTY3FemvK4PPs8IqBn6D FkLYP9N/lYwX3gYs+6ZuUJACn1TL0mAlEMuM8= Received: by 10.229.82.70 with SMTP id a6mr22227336qcl.75.1294366793360; Thu, 06 Jan 2011 18:19:53 -0800 (PST) Received: from localhost.localdomain (static-74-96-105-7.washdc.fios.verizon.net [74.96.105.7]) by mx.google.com with ESMTPS id g28sm14822039qck.25.2011.01.06.18.19.51 (version=SSLv3 cipher=RC4-MD5); Thu, 06 Jan 2011 18:19:52 -0800 (PST) From: Alex Deucher To: airlied@gmail.com, dri-devel@lists.freedesktop.org Subject: [PATCH 04/25] drm/radeon/kms: DCE5 supports 16k display surfaces Date: Thu, 6 Jan 2011 21:19:14 -0500 Message-Id: <1294366775-1605-5-git-send-email-alexdeucher@gmail.com> X-Mailer: git-send-email 1.7.1.1 In-Reply-To: <1294366775-1605-1-git-send-email-alexdeucher@gmail.com> References: <1294366775-1605-1-git-send-email-alexdeucher@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 07 Jan 2011 02:23:10 +0000 (UTC) diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c index acebbc7..30d867c 100644 --- a/drivers/gpu/drm/radeon/radeon_display.c +++ b/drivers/gpu/drm/radeon/radeon_display.c @@ -1119,7 +1119,10 @@ int radeon_modeset_init(struct radeon_device *rdev) rdev->ddev->mode_config.funcs = (void *)&radeon_mode_funcs; - if (ASIC_IS_AVIVO(rdev)) { + if (ASIC_IS_DCE5(rdev)) { + rdev->ddev->mode_config.max_width = 16384; + rdev->ddev->mode_config.max_height = 16384; + } else if (ASIC_IS_AVIVO(rdev)) { rdev->ddev->mode_config.max_width = 8192; rdev->ddev->mode_config.max_height = 8192; } else {