Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2278867imm; Thu, 7 Jun 2018 08:06:45 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL3coe6wZ/wGua1umBheRe+0l+cyvLYGzwBzwl+AClsn7E6Es5xASQCiOCLAUaXJc1xUgy7 X-Received: by 2002:a17:902:3343:: with SMTP id a61-v6mr2398536plc.241.1528384005870; Thu, 07 Jun 2018 08:06:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528384005; cv=none; d=google.com; s=arc-20160816; b=ltzsF8F2c+esIF1YBIWHvutsfr1Lfq3odWwIvROan6J2L9Pxv8mQuk6scxwULraQKI 9/otyLXl/ouj1I0yVFAZ2KGqtFhAs/JvR9celbZBh65cSwAJrVJoy9tromLSHidkOi/Z v+MsUvL+iGAtG+BpWFbvmr/8bTnxUKTRdNs2koY1bs1I7e86L3xPE03VUFHQVZcMPYaF JfWn+37x/bwZrM/R1TShUAOwN2upLk7fYy3q9Vq+lcjA0YoCgX6IGM6002uykKxh8kuB o60KOlU4+Bb+SQXGNZD2eAmQU++AbLoavwHi7pL4wxhUt7HA5aUgdDCRGDC0QrDLqWPz akMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=PbtR5OsdRPTMHvTEq+oBHCWFQvn+Sny6oFAFHrv77WU=; b=VHIqT9GHwEymsMKFBvZofDZrmKsJYZ9aJ2kXtRDmhjNEpHkS52N2pU2miJhFwt7v7S 9kYyVA6v4aiiaPmSjmJ9OiT37PMsPWvEaCgMyZOrUyAxOhv3Rr8DNkbbOrpAOR7rCLnY JKghqfrBECjbNdHshm1lth0zbXOcJS5+mJKi56epC/5pz7WelkOZTNIzvEl9XQeqF50j LqDnyStBRw34Ow981Db6xTz3MJa9eeaZFORF63F/Kv3i7OnPRWV/n4P33YwhUKbcn/lU ZUeQh5XhMQEjyB4+7X4hfhVbV7RLYBJNDRjxnWTOFw+/BVoQL2BjvrN7DfYqY6vKoK3v iGkA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u123-v6si25518402pfc.178.2018.06.07.08.06.31; Thu, 07 Jun 2018 08:06:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965066AbeFGPES (ORCPT + 99 others); Thu, 7 Jun 2018 11:04:18 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:41581 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936025AbeFGPEN (ORCPT ); Thu, 7 Jun 2018 11:04:13 -0400 Received: from [148.252.241.226] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fQvbs-0005hJ-NL; Thu, 07 Jun 2018 15:09:52 +0100 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1fQvb1-0002pg-JC; Thu, 07 Jun 2018 15:08:59 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Christian =?UTF-8?Q?K=C3=B6nig?=" , "Alex Deucher" Date: Thu, 07 Jun 2018 15:05:21 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 105/410] drm/radeon: Add dpm quirk for Jet PRO (v2) In-Reply-To: X-SA-Exim-Connect-IP: 148.252.241.226 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.57-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Alex Deucher commit 239b5f64e12b1f09f506c164dff0374924782979 upstream. Fixes stability issues. v2: clamp sclk to 600 Mhz Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103370 Acked-by: Christian König Signed-off-by: Alex Deucher [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- drivers/gpu/drm/radeon/si_dpm.c | 5 +++++ 1 file changed, 5 insertions(+) --- a/drivers/gpu/drm/radeon/si_dpm.c +++ b/drivers/gpu/drm/radeon/si_dpm.c @@ -2974,6 +2974,11 @@ static void si_apply_state_adjust_rules( max_sclk = 75000; max_mclk = 80000; } + if ((rdev->pdev->revision == 0xC3) || + (rdev->pdev->device == 0x6665)) { + max_sclk = 60000; + max_mclk = 80000; + } } /* Apply dpm quirks */ while (p && p->chip_device != 0) {