From patchwork Tue Aug 28 18:34:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Glisse X-Patchwork-Id: 1382221 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id C20693FC85 for ; Tue, 28 Aug 2012 18:37:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 979AA9EFFE for ; Tue, 28 Aug 2012 11:37:16 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qc0-f177.google.com (mail-qc0-f177.google.com [209.85.216.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 75C9E9EB5D for ; Tue, 28 Aug 2012 11:37:05 -0700 (PDT) Received: by qcsu28 with SMTP id u28so3754719qcs.36 for ; Tue, 28 Aug 2012 11:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=Tgqm1+cPZ0GMFyyIJDvi1lisoCFwmpv5rq5XL+cTPN4=; b=DnEfi3/451Mz+ZdjVJhY0cCQ1XtfJZsQntz888cW20fAhVumd7e4/CotKOk5jQfoP2 p3QcBXDqdADy6zNbh3yBzuWyg9BmyJ0WskpL7icPNUT5A4doCLqhJCub+c7wR16/fZht 9esE5WzJT9/trEA6wQTAgwP/CG050pO59alBwygInD5zuB/USUVc8ASh5hROQAoxi5Y0 AAVLHYq2swvpQ+IuJkOMepLPUk5vvbS5Lyy3AqqPpe5wXJSqqm+rjsl7m0VLD4k61C7g ElaZw7IHEupXHYQbWKwLlPxKVf1tKYoGM0uHwTxN4VFIP9LRYIQ39RKCiKnbFHAiwDDL Vyfg== Received: by 10.224.17.145 with SMTP id s17mr6754798qaa.99.1346179024958; Tue, 28 Aug 2012 11:37:04 -0700 (PDT) Received: from localhost.boston.devel.redhat.com ([66.187.233.206]) by mx.google.com with ESMTPS id u8sm13914633qal.22.2012.08.28.11.37.03 (version=SSLv3 cipher=OTHER); Tue, 28 Aug 2012 11:37:04 -0700 (PDT) From: j.glisse@gmail.com To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/radeon: force dma32 on rs400, rs690, rs740 IGP Date: Tue, 28 Aug 2012 14:34:05 -0400 Message-Id: <1346178845-2908-1-git-send-email-j.glisse@gmail.com> X-Mailer: git-send-email 1.7.11.2 Cc: Jerome Glisse , stable@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 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 From: Jerome Glisse It seems some of those IGP dislike non dma32 page. https://bugzilla.redhat.com/show_bug.cgi?id=785375 Signed-off-by: Jerome Glisse Cc: Reviewed-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index 066c98b..8867400 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c @@ -774,7 +774,7 @@ int radeon_device_init(struct radeon_device *rdev, if (rdev->flags & RADEON_IS_AGP) rdev->need_dma32 = true; if ((rdev->flags & RADEON_IS_PCI) && - (rdev->family < CHIP_RS400)) + (rdev->family <= CHIP_RS740)) rdev->need_dma32 = true; dma_bits = rdev->need_dma32 ? 32 : 40;