Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3538234pxj; Mon, 24 May 2021 08:56:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTq+pyr29hvAsNwdDRKcLgpR2HWbyA0IBoNdhYcjecGTI/4qns5jvp2gmGuxffM4CY2Nm1 X-Received: by 2002:a02:688:: with SMTP id 130mr25444760jav.48.1621871818419; 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=Z7tsCDexxKVdMOFz7jdkNZ3efvtLMRC1vaq7P0jfwiSBO6etde4sTX+OrLyIR5FAkT JM/CQ2+sNoTXWI3WFXXmYJ2xz/nGrSZvBFx2ihsRR33BeIEDQHuSLCAOgcuDWj+kPqww u0XvIhssVL6sFfQnoL4kIdBRK5vUNDP+eNk9QmF+9tJV0B+5Bvk+rucN/IskGySoH+N1 vhOv/WXqISCcOeelVWJBz8mq5neb9PjHlmtbwOpqmBq8uPMSl8KuxoXMn7jzo5QLRJ41 ghDzhdONsGbaD8pSwzsZrcnOLs5LUmrilEHoY5lpIIUFUrlFN3kQufsRQ1qkRQDuyocN 2rjw== 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=DaC1HcZZDKYS6mLSM9iOrk024X6v/eWAsxsm4MyMZGQ=; b=fewSRigU/DEMICHTvMSUkY4ix0outSqXSp35XpVgv/kHZAvGUL5IWupQ15MXqp7Ed+ KA8irWCgxr16J00RosDNfBfFGpmHSXkaM09au9HKRsf+8XMrYe2OV1oRytdRfRhs7Bh2 owOMPytVnrOuQJ50sLLxhKs+Be6U0EkBrUUzpMVWAv+era5u4NnQJmgv8os4O7PnMKA2 o3ieZalXOaCwX4SAtBfGFLWNLJQaZdid0JT8vXJqHmWdwU6XW/abfaIR/CbHHkh2nsfT z/CXRiljGxSr5Q2e1dcMbfZzTfHc6CvIM8BhTM7BvU/DivsqKsgMB2gHSPH3C7hnotyC VJ2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QSXSU16I; 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 m25si14137199ioo.79.2021.05.24.08.56.43; 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=QSXSU16I; 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 S235226AbhEXP4G (ORCPT + 99 others); Mon, 24 May 2021 11:56:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:33896 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234071AbhEXPs0 (ORCPT ); Mon, 24 May 2021 11:48:26 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7D70B61483; Mon, 24 May 2021 15:37:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621870640; bh=LEfSqMjJgZCv6ZwSTW4fO5N37l/PmX+RzxLwdfcuLPI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QSXSU16INBuV6hDvQuq/s0X0J3fN3u9d18E8wZOc7L/ZX2uK/CB1QuM985Uz3xxB7 DiHtdRD2smvzOBD3XKs6ugwLgFaYSi+WryU7NoRilUpPmKAnG4t+21YtURsudm2QyK aqLNZSOUmoZHOSvP3vdOfB+MBIXqOzbfBfku59v0= 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 39/71] drm/amdgpu: update sdma golden setting for Navi12 Date: Mon, 24 May 2021 17:25:45 +0200 Message-Id: <20210524152327.741325101@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 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 @@ -100,6 +100,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), };