From patchwork Fri Mar 15 13:50:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 2277881 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 EF3203FC8A for ; Fri, 15 Mar 2013 13:53:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7C328E60EC for ; Fri, 15 Mar 2013 06:53:38 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-vb0-f42.google.com (mail-vb0-f42.google.com [209.85.212.42]) by gabe.freedesktop.org (Postfix) with ESMTP id 9D867E5D24 for ; Fri, 15 Mar 2013 06:50:26 -0700 (PDT) Received: by mail-vb0-f42.google.com with SMTP id ff1so1907615vbb.1 for ; Fri, 15 Mar 2013 06:50:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=wpftWGn9LbiUe45eoqExRZlQYM3n0FgmUvy6U9hFcr8=; b=EC5cXeYa2CnOpAIs4zJZ16c0ORxaUhuamNAvLpQFgA/lAIxtg2H3vZycvK7BTqaGS1 B7/78TWNY+SMhk6+BX2pcCDScQC2lRmtVeTLisqVDUs+JtIjCmlbQpbqaMMvw1gP6E5D q+x2AnvM22LtAXbNT9PbEWRGUtkInzjAdH7av24GUBaO99RM/KjpZE5+VH6g21uuScKo kDjxpSifS2oOiSVq9QbQor0SUwW+MpXWwHtRpVRydnGj4CqMyQYiYRhl/il2KuNF9FrR fGxzzJZBwxgq7FyuQhzuWYmWsib0quR8NuH6NUwWOlhZEOFb5K/dLUilG6T4VxuH1Wia OMqw== X-Received: by 10.52.72.67 with SMTP id b3mr6000646vdv.14.1363355425956; Fri, 15 Mar 2013 06:50:25 -0700 (PDT) Received: from localhost.localdomain (static-74-96-105-49.washdc.fios.verizon.net. [74.96.105.49]) by mx.google.com with ESMTPS id qq6sm3727138vec.2.2013.03.15.06.50.25 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 15 Mar 2013 06:50:25 -0700 (PDT) From: alexdeucher@gmail.com To: dri-devel@lists.freedesktop.org Subject: [PATCH 1/2] drm/radeon: add support for Richland APUs Date: Fri, 15 Mar 2013 09:50:19 -0400 Message-Id: <1363355420-11601-1-git-send-email-alexdeucher@gmail.com> X-Mailer: git-send-email 1.7.7.5 Cc: Alex Deucher , 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: Alex Deucher Richland APUs are a new version of the Trinity APUs with performance and power management improvements. Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org Reviewed-by: Jerome Glisse --- drivers/gpu/drm/radeon/ni.c | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/ni.c b/drivers/gpu/drm/radeon/ni.c index a7d3de7..27769e7 100644 --- a/drivers/gpu/drm/radeon/ni.c +++ b/drivers/gpu/drm/radeon/ni.c @@ -468,13 +468,19 @@ static void cayman_gpu_init(struct radeon_device *rdev) (rdev->pdev->device == 0x9907) || (rdev->pdev->device == 0x9908) || (rdev->pdev->device == 0x9909) || + (rdev->pdev->device == 0x990B) || + (rdev->pdev->device == 0x990C) || + (rdev->pdev->device == 0x990F) || (rdev->pdev->device == 0x9910) || - (rdev->pdev->device == 0x9917)) { + (rdev->pdev->device == 0x9917) || + (rdev->pdev->device == 0x9999)) { rdev->config.cayman.max_simds_per_se = 6; rdev->config.cayman.max_backends_per_se = 2; } else if ((rdev->pdev->device == 0x9903) || (rdev->pdev->device == 0x9904) || (rdev->pdev->device == 0x990A) || + (rdev->pdev->device == 0x990D) || + (rdev->pdev->device == 0x990E) || (rdev->pdev->device == 0x9913) || (rdev->pdev->device == 0x9918)) { rdev->config.cayman.max_simds_per_se = 4; @@ -483,6 +489,9 @@ static void cayman_gpu_init(struct radeon_device *rdev) (rdev->pdev->device == 0x9990) || (rdev->pdev->device == 0x9991) || (rdev->pdev->device == 0x9994) || + (rdev->pdev->device == 0x9995) || + (rdev->pdev->device == 0x9996) || + (rdev->pdev->device == 0x999A) || (rdev->pdev->device == 0x99A0)) { rdev->config.cayman.max_simds_per_se = 3; rdev->config.cayman.max_backends_per_se = 1;