Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3547714pxj; Mon, 24 May 2021 09:07:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzR2jWu8NHsx1nlq2Mi/gAjjxyVNnA8Po/xW6R5VwRWziYHOnfv159HQAwPdzYBX5v7CY32 X-Received: by 2002:a02:8787:: with SMTP id t7mr24712154jai.53.1621872432501; Mon, 24 May 2021 09:07:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621872432; cv=none; d=google.com; s=arc-20160816; b=AHy2fFGU2T2dRO+bZZgak0QeB63PJXbzcWGheagszjNRh0RSQAODvNszKkjybSFgn8 nmchvfU4c0dXbB7OdtWUCXZbKyHyZyQB4w/gxqwNO4+m6TJTVGRhSSto59VTxY2LxcO4 FcFP6J9HQ3WajyJq3UU+Z+0K1wbxin0akkux1Ozv69W1Ql2wF2ekPwDW7UqTtPSc0uAT 6J9e3XnHLIis7fXckcJk1xKv5qJUnVvUUoXiTZyloxObEqisuNhMgm/UeMSGqfRklXh/ zuioi5dF7DFek/5X+TDYdc+1yZqesXOzboAjvFgWtk0buF9YMKjsWlZBZcgP7DgjoSck tccg== 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=OykX6GHUYgYX7g++UBhcFXUbqXiVZOKD5zO2vabOBrM=; b=LXiQ8ABEQb84hK3rNMzX4LY5g9JWulUaEPIdiZoB1GIAWCZaBqyRkfU3Ii7z2Fr9gk dkupoVBn9OrN65boWz/lvIBNgunS90eQAWY7OOE1gVnX+tdjakSbLJxHTjDdf07C+DkA JbwLoIlclbiqgAOOR9ffPtVw/i8qXrOXUWJl995jbT3lTP0hn4Re/4QgK/+2360InjHb OyahIDbY4yJl9oOzSjlbzdmUrT+oVdTwpObEMzq1BduPDV2S0AckFEZ+w9fxnle6Ra01 x/Gf3saCNg+KRpaMMAay/KggzWytROYqaB8RpsnrVW0RHRg0oN/nvioRikjbam4t/I1U 7z+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=oBbLHCJ8; 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 j22si7096459jat.22.2021.05.24.09.06.59; Mon, 24 May 2021 09:07:12 -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=oBbLHCJ8; 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 S233880AbhEXQFx (ORCPT + 99 others); Mon, 24 May 2021 12:05:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:40476 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233873AbhEXP70 (ORCPT ); Mon, 24 May 2021 11:59:26 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9FAA961460; Mon, 24 May 2021 15:45:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621871116; bh=w3Ia2r71cN2cvp8lBH70gm/X5DTjz7UfEGZ04VnHTPs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oBbLHCJ82O0HIz5XvY9+DzAPea53S5B4IOErKccV++UFOhc5GPjIXJAiBVzskddG/ U3azGFTRLsVgeNbxiCyJ6WK3XnzzIZZq4ILvGmawq7m46LwzBeutb6NAJ/tcDBo1X4 /iOnCuaAsqxmpMwQxIE6SeDVHntcqe2DcXoJkmZ4= 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 080/127] drm/amdgpu: update sdma golden setting for Navi12 Date: Mon, 24 May 2021 17:26:37 +0200 Message-Id: <20210524152337.561311259@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 77194d8642dd4cb7ea8ced77bfaea55610574c38 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/sdma_v5_0.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c @@ -123,6 +123,10 @@ static const struct soc15_reg_golden gol static const struct soc15_reg_golden golden_settings_sdma_nv12[] = { SOC15_REG_GOLDEN_VALUE(GC, 0, mmSDMA0_RLC3_RB_WPTR_POLL_CNTL, 0xfffffff7, 0x00403000), + SOC15_REG_GOLDEN_VALUE(GC, 0, mmSDMA0_GB_ADDR_CONFIG, 0x001877ff, 0x00000044), + SOC15_REG_GOLDEN_VALUE(GC, 0, mmSDMA0_GB_ADDR_CONFIG_READ, 0x001877ff, 0x00000044), + SOC15_REG_GOLDEN_VALUE(GC, 0, mmSDMA1_GB_ADDR_CONFIG, 0x001877ff, 0x00000044), + SOC15_REG_GOLDEN_VALUE(GC, 0, mmSDMA1_GB_ADDR_CONFIG_READ, 0x001877ff, 0x00000044), SOC15_REG_GOLDEN_VALUE(GC, 0, mmSDMA1_RLC3_RB_WPTR_POLL_CNTL, 0xfffffff7, 0x00403000), };