From patchwork Wed Jun 26 13:22:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 2786251 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A3E7AC0AB1 for ; Wed, 26 Jun 2013 15:13:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 65D6A20439 for ; Wed, 26 Jun 2013 15:13:13 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 8A3F3203A3 for ; Wed, 26 Jun 2013 15:13:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7C14DE637C for ; Wed, 26 Jun 2013 08:13:09 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qc0-f170.google.com (mail-qc0-f170.google.com [209.85.216.170]) by gabe.freedesktop.org (Postfix) with ESMTP id 8C5F5E636B for ; Wed, 26 Jun 2013 06:25:20 -0700 (PDT) Received: by mail-qc0-f170.google.com with SMTP id s1so8299764qcw.1 for ; Wed, 26 Jun 2013 06:25:20 -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:in-reply-to:references; bh=Q/NRVtTPhKVZUZXG60h2/hQUEw7Nrk5CTkWEbPQahR4=; b=UV0UuaLpttfFtc+E6zaWOgbSWHXvIOoA954akfNuzAfEHxNzLtn7CwZBGZ3/C6ouzi J4qnQ2Uady+aEQALzuT7bxyLG/vjwbsvK2jARPJEGFYwwKnzq6Sea37OcJWII6mex4pC Qmjg8BbSthSoKWTBmkKgtPAP72hRgcgUkmu5U/vYo1LQnJNkGmfQ3j5YtHXRapxLd8Ro uyyDC1OXex1ioRMdkVtDiFk/TgBSUKgNH5iS7H0iyfubmsb4hVUp8UJ+HiaW27mm+QVv Za0q1KLIwWFqQyzqa79mHoYs+EY1K4mqX1nok6iOMcgKGI7ubuSAKCtnM5eZqAIczNUz q3Iw== X-Received: by 10.224.59.200 with SMTP id m8mr5516981qah.43.1372253120087; Wed, 26 Jun 2013 06:25:20 -0700 (PDT) Received: from localhost.localdomain (static-74-96-105-49.washdc.fios.verizon.net. [74.96.105.49]) by mx.google.com with ESMTPSA id r10sm32665096qeu.4.2013.06.26.06.25.19 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 26 Jun 2013 06:25:19 -0700 (PDT) From: alexdeucher@gmail.com To: dri-devel@lists.freedesktop.org Subject: [PATCH 094/165] drm/radeon/cayman: update tdp limits in set_power_state Date: Wed, 26 Jun 2013 09:22:54 -0400 Message-Id: <1372253045-17042-95-git-send-email-alexdeucher@gmail.com> X-Mailer: git-send-email 1.7.7.5 In-Reply-To: <1372253045-17042-1-git-send-email-alexdeucher@gmail.com> References: <1372253045-17042-1-git-send-email-alexdeucher@gmail.com> Cc: Alex Deucher 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 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/ni_dpm.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/ni_dpm.c b/drivers/gpu/drm/radeon/ni_dpm.c index 635bf04..44016f2 100644 --- a/drivers/gpu/drm/radeon/ni_dpm.c +++ b/drivers/gpu/drm/radeon/ni_dpm.c @@ -3644,6 +3644,7 @@ int ni_dpm_set_power_state(struct radeon_device *rdev) ret = ni_program_memory_timing_parameters(rdev); if (ret) return ret; + ni_populate_smc_tdp_limits(rdev); rv770_resume_smc(rdev); rv770_set_sw_state(rdev); ni_enable_smc_cac(rdev, true);