Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3547271pxj; Mon, 24 May 2021 09:06:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDpzm9sFqpm3CwWUMQx7E4DgDzI/6HtHNP20sBBWKZ8cHd14BscW1132BVYc/s7Q4/vAYD X-Received: by 2002:a17:907:204b:: with SMTP id pg11mr25001866ejb.433.1621872404952; Mon, 24 May 2021 09:06:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621872404; cv=none; d=google.com; s=arc-20160816; b=rnf+c1x22OdXw7SDpajbbG0L08vF/IpBWFTR/Ids6HU5kfy7M3d7MKAlpnKsS9dj4+ d0uM47zfT5ZLp0LkI+hYO570iW8hrpTKryabousksngh3JPEWellIsaxgMK0sSwHpDu1 B4t6u4PnXIPXcVulRQvlBj+6S2i5nGQaYRkMvmpdzsN8kYbFb13pS+prm8Ef9DZQReLB qlOHFbN1rC/t0KaKhMR587MlXnrdfIpJVr6FWLrgIaGYxQtZVrXJ71Te+Ch1/UHWQ9yn 143aa72GnOp9hdFHpUkJW9sPxJEt0iJIH9GlBfMxTHQ3LQS+AgPU0dVYyp+O/b9zgQOP IjQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=8zL0p/2PO8ACDlpHYQ+Q55mCSnA6/ICsZwRFAtUK1So=; b=xeo9u6tqaDhoSAL8B78cdoW4yPdB74FqEm1czDMEPg6GtO956x7C7KnLnGS1xGwB0R eD0+PcahwN24H7WrepRekmfdU+8Anumtol/EmxMxcWaVj0JULytZd1PAgISbjyOJfk1a dO2z5MTVGqVi4IBS82qWTGxFSvoNQ7nHV+c6Nom1MLCj8eIQAXiZhN8VtS55JMlP/qtH xY67EqKDmwCIcxvC2GZbU5DsIKxRnuIfhDCTZunb7VWBdQegbfboFDeoIaqxPQADRP6T +wOliqaCnAKUCGgKcAKyHk2S4e70QEYoNrGn8s6tM+sMFOoTQVn+OriGo8aOrADppudM CCsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=uW4NgeOR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g13si8335826ejt.512.2021.05.24.09.06.12; Mon, 24 May 2021 09:06:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=uW4NgeOR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235606AbhEXQGE (ORCPT + 99 others); Mon, 24 May 2021 12:06:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:40480 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234778AbhEXP71 (ORCPT ); Mon, 24 May 2021 11:59:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 494A461455; Mon, 24 May 2021 15:45:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621871111; bh=xpVXRgtXkO6YwoU24KJcN5o7KOZmPl8D10/3EJpyhFc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uW4NgeORkZ53qaN/FBky6GWWzEj8coH+duOhC8f4PrPVS3md1LYf8Tza1PsZk3NKy EXL7MFetDwwSXgzUQom01Xb+1z3yu9BrVBiN134zAc3nNWVEOLZAu6t0A7UUnvR/qp Ie4ZYKqpibNlDMtZbjB3ylRnJxoyb3G0oliO6XMQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Guchun Chen , Kenneth Feng , Alex Deucher Subject: [PATCH 5.12 079/127] drm/amdgpu: update gc golden setting for Navi12 Date: Mon, 24 May 2021 17:26:36 +0200 Message-Id: <20210524152337.525236965@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210524152334.857620285@linuxfoundation.org> References: <20210524152334.857620285@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Guchun Chen commit 99c45ba5799d6b938bd9bd20edfeb6f3e3e039b9 upstream. Current golden setting is out of date. Signed-off-by: Guchun Chen Reviewed-by: Kenneth Feng Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c @@ -1391,9 +1391,10 @@ static const struct soc15_reg_golden gol SOC15_REG_GOLDEN_VALUE(GC, 0, mmDB_DEBUG, 0xffffffff, 0x20000000), SOC15_REG_GOLDEN_VALUE(GC, 0, mmDB_DEBUG2, 0xffffffff, 0x00000420), SOC15_REG_GOLDEN_VALUE(GC, 0, mmDB_DEBUG3, 0xffffffff, 0x00000200), - SOC15_REG_GOLDEN_VALUE(GC, 0, mmDB_DEBUG4, 0xffffffff, 0x04800000), + SOC15_REG_GOLDEN_VALUE(GC, 0, mmDB_DEBUG4, 0xffffffff, 0x04900000), SOC15_REG_GOLDEN_VALUE(GC, 0, mmDB_DFSM_TILES_IN_FLIGHT, 0x0000ffff, 0x0000003f), SOC15_REG_GOLDEN_VALUE(GC, 0, mmDB_LAST_OF_BURST_CONFIG, 0xffffffff, 0x03860204), + SOC15_REG_GOLDEN_VALUE(GC, 0, mmGB_ADDR_CONFIG, 0x0c1800ff, 0x00000044), SOC15_REG_GOLDEN_VALUE(GC, 0, mmGCR_GENERAL_CNTL, 0x1ff0ffff, 0x00000500), SOC15_REG_GOLDEN_VALUE(GC, 0, mmGE_PRIV_CONTROL, 0x00007fff, 0x000001fe), SOC15_REG_GOLDEN_VALUE(GC, 0, mmGL1_PIPE_STEER, 0xffffffff, 0xe4e4e4e4), @@ -1411,12 +1412,13 @@ static const struct soc15_reg_golden gol SOC15_REG_GOLDEN_VALUE(GC, 0, mmPA_SC_ENHANCE_2, 0x00000820, 0x00000820), SOC15_REG_GOLDEN_VALUE(GC, 0, mmPA_SC_LINE_STIPPLE_STATE, 0x0000ff0f, 0x00000000), SOC15_REG_GOLDEN_VALUE(GC, 0, mmRMI_SPARE, 0xffffffff, 0xffff3101), + SOC15_REG_GOLDEN_VALUE(GC, 0, mmSPI_CONFIG_CNTL_1, 0x001f0000, 0x00070104), SOC15_REG_GOLDEN_VALUE(GC, 0, mmSQ_ALU_CLK_CTRL, 0xffffffff, 0xffffffff), SOC15_REG_GOLDEN_VALUE(GC, 0, mmSQ_ARB_CONFIG, 0x00000133, 0x00000130), SOC15_REG_GOLDEN_VALUE(GC, 0, mmSQ_LDS_CLK_CTRL, 0xffffffff, 0xffffffff), SOC15_REG_GOLDEN_VALUE(GC, 0, mmTA_CNTL_AUX, 0xfff7ffff, 0x01030000), SOC15_REG_GOLDEN_VALUE(GC, 0, mmTCP_CNTL, 0xffdf80ff, 0x479c0010), - SOC15_REG_GOLDEN_VALUE(GC, 0, mmUTCL1_CTRL, 0xffffffff, 0x00800000) + SOC15_REG_GOLDEN_VALUE(GC, 0, mmUTCL1_CTRL, 0xffffffff, 0x00c00000) }; static void gfx_v10_rlcg_wreg(struct amdgpu_device *adev, u32 offset, u32 v)