Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3538239pxj; Mon, 24 May 2021 08:56:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQrzY3YJF9rG9yTuaQF6G8VvXx+GcGEPnc8vpSjHk5uOOs4B5ejmk5dry3zSmziFhI/fQY X-Received: by 2002:a05:6e02:1529:: with SMTP id i9mr18102107ilu.234.1621871818612; Mon, 24 May 2021 08:56:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621871818; cv=none; d=google.com; s=arc-20160816; b=awhedjj4KK9jLUwyaZl94eEynuSong2qWGsl+m4vzUXVdizUElhQPjrdsYAIXpDVw1 cExNIxHu0gc+KYEZCISEsnc1BMgpEu6Ar+VIcXT8z8uq9SVV6y0UqO8R1hZpOH6QFp8J HLX8uUyjXkSLaoaSvwQrgC1TLRkVaC6aCi22ww8UPDW5btWwo6a002RHvCmJOjiS/7ll Jkcr5U9Pk2coAahGMd07IB4tETMdGC8y30J2eRAshLvs3C9YBPZ97Xji4ZQwzolScHT0 Esph79d4zvP1A6I8UyUlDYta68jxbDduJJWT3qbQGyFZmHtoeuU1h3jjO7qAPea6pskz PDlg== 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=Q/ov4/iGlEmFiK5A3bqPXIfI/2hvz4Qyv9owPWt0AGo=; b=lnBhDf3QSPDdF6n2LgFY7MsFVe4V4l1sfY4rUA9zil3R1FsmbUf5SniVUWcTV5+bVG +hXgNFyqrApS488xoyxG8wCiz7QGK9GCOpchSY3E9isDlTG1tzCavxquBw7ryZgL+AlA FxeWfuRZ5CNyYDXxDv/kRXyweyDhm9NKgRte47CevNhQNVk61boAkq6DAcgrm/L8/i/O fXesN7zJjGvuATEYecUNsjuMJZddzjoZNLn92oYZbdaniAFEyXluB3mWEeDm5b6KPdr1 /MnPqb0Jso4852lfezyKt59uWFjJ2d7uyRtgzW3xFWGZvKxck6dJ4IbsGJY8WO3qUaBR c4rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DVi2doIs; 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 s4si16560539ilv.33.2021.05.24.08.56.42; Mon, 24 May 2021 08:56:58 -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=DVi2doIs; 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 S235172AbhEXP4A (ORCPT + 99 others); Mon, 24 May 2021 11:56:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:33874 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233405AbhEXPsI (ORCPT ); Mon, 24 May 2021 11:48:08 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 533E461481; Mon, 24 May 2021 15:37:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621870638; bh=xfpbtCYOgj/mHQkgMoGWUuFqbIMSieEkqd5zln9Vf2k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DVi2doIsfe5CLhXGuE7ogmuRX99WWaKT2551aHTW0DUe0oLQ+ieSvxLLqJtYFAQ5P pR3q30Jv/+p2tzp54BABb73N/l7wY6L4n3UAH3/LVQRRhhIQF/UrO0crX5laYhaOIq QsNudKESUPP9mjNASZrJh1rooBZ5LyzuDec0I0ec= 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.4 38/71] drm/amdgpu: update gc golden setting for Navi12 Date: Mon, 24 May 2021 17:25:44 +0200 Message-Id: <20210524152327.709112285@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210524152326.447759938@linuxfoundation.org> References: <20210524152326.447759938@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 @@ -190,9 +190,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), @@ -210,12 +211,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 const struct soc15_reg_golden golden_settings_gc_10_1_nv14[] =