Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp6569237ybx; Mon, 11 Nov 2019 11:06:31 -0800 (PST) X-Google-Smtp-Source: APXvYqxp+jZka1vXoAuoT1gGbUblshRAcPAEMRjizOOn6jrDu/wwnHNXYxzCNUgsvTdJBcw4al9z X-Received: by 2002:a17:906:fac7:: with SMTP id lu7mr13145291ejb.5.1573499191708; Mon, 11 Nov 2019 11:06:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573499191; cv=none; d=google.com; s=arc-20160816; b=ftwdMP0NqNp6XZfk5We1wOCbGW9SVj4NJ/9n/iS/S1P54Jf0WtR7jeqQ0MlUnkkf/O kt/MxtAFHPM2eszGsONWBpTk+/HSQtecQmvh3CV9l4pHCYuUtRkZZNRObQ3T2VQXU16Q tCu9NyiB2WdMxBu4JWl9vowj2GRAucsvn4AdxUax/L6Im1s932OwzHv2cra1YraPDtPW Bli72AGz8pAOLvNIwrEwbrdsaIa85nb31rnRfU8c1P/cfqRgFaH941IKKdAJ9ivU8EiP nF55ksoZ8oFGa2TTKHeO0K5N3ZTBmZ7yfQhnrfgi/SP+NPnfV2CTHory3/+r6ClsDWU4 rwPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=pmLy9M2vniVK1f+8Sa/UgyJgbuKTatWfHRagRMfBR54=; b=Yrh1MOZFzL2s+hRN9BJPys3zAhkFckncWahlZbdYrmCZ7MLoCTe47iyaubjbvPdEIr NAYTJ5FaAHuKbjpngy9sb3IfQf39GFTHTT8nyf9PialgzXhiJH9Zdp1XAsdzyCQipTc7 oo/mr2KXBpvv3ew9D+tpffauo0ychjmdCrcU1e35kSHlYAvM/ifK7FTHqudC39n86UNx 7mt7MsUYSI/SlTY/KrATe/1ynxAdvYvRjUFWu8iY7FsHBp6IOtU8ZjpGIhKyLx6FKduB y56esyFqeatjb2dlsx4p9GDrO8H64itm1EiLm5Wn1LH1yITvKzwlTJzitDDvFP5HXn0W HgBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cu2dMToh; 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 o19si7184590ejj.307.2019.11.11.11.06.07; Mon, 11 Nov 2019 11:06:31 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=cu2dMToh; 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 S1729381AbfKKSl0 (ORCPT + 99 others); Mon, 11 Nov 2019 13:41:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:60666 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728778AbfKKSlX (ORCPT ); Mon, 11 Nov 2019 13:41:23 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 68DCC214E0; Mon, 11 Nov 2019 18:41:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573497683; bh=cIA2Er4jQ/jeqXZOLNDmggGDCTaLVlwFasMubnHygrk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cu2dMTohfHwleCrvlS431pBVBY632KedeRaHBYojBMbNbKSHjunjtKDS9R5lq1B/e FdVtcYR+JAf91HdulMLTBLo09tEjQHSEX7T9RaTsTNdTG9AlBgxKgJXy20Ad9DURI4 G9ecGMAm/cHwVoHpnVnhd0UWHur0okX1Cp3d3xMU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yong Zhao , Alex Deucher Subject: [PATCH 4.19 026/125] drm/radeon: fix si_enable_smc_cac() failed issue Date: Mon, 11 Nov 2019 19:27:45 +0100 Message-Id: <20191111181444.110910734@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191111181438.945353076@linuxfoundation.org> References: <20191111181438.945353076@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alex Deucher commit 2c409ba81be25516afe05ae27a4a15da01740b01 upstream. Need to set the dte flag on this asic. Port the fix from amdgpu: 5cb818b861be114 ("drm/amd/amdgpu: fix si_enable_smc_cac() failed issue") Reviewed-by: Yong Zhao Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/radeon/si_dpm.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/gpu/drm/radeon/si_dpm.c +++ b/drivers/gpu/drm/radeon/si_dpm.c @@ -1956,6 +1956,7 @@ static void si_initialize_powertune_defa case 0x682C: si_pi->cac_weights = cac_weights_cape_verde_pro; si_pi->dte_data = dte_data_sun_xt; + update_dte_from_pl2 = true; break; case 0x6825: case 0x6827: