Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4485227ybx; Mon, 4 Nov 2019 14:12:27 -0800 (PST) X-Google-Smtp-Source: APXvYqwzO7gN6/ABD0QCL7KKQC8SLrdPML4euzEJOc+XZwoNPxIXBgV+4Yifk4FTjVmyZlK3TVbV X-Received: by 2002:aa7:d958:: with SMTP id l24mr32463720eds.234.1572905547320; Mon, 04 Nov 2019 14:12:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572905547; cv=none; d=google.com; s=arc-20160816; b=Cy3t6fL4rYPb2jjTeaGi37AlZTkRXLwNzD1mluGEauxYNAka8qXrjGjprBbxvCWoQ9 LtWsMdidPajWtt7a28eGykkSXBGwSLW74DiJjmcip5wZt8pLbjViiezL205SbSxBd+ik fhGU4VuMu6zmfj+l7i7w2iHVAeyBVp6tyEmLgGXu+pPzVJmtlquWiSTWS+Q4LRhn26Ch JZ7GBiSw4TDOZ1NQQlY9RxamsIky7+jWb23e79swulVILQWj0vCN/EkQv/95FeA5pehO Nu1tMXp8U547HJWKEtyPTNRx7/DSRhV39mKphUNTo3W3bqaIvlfYETk0FP1NPv8aZ41C xchg== 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=ZoZbnlOnBR+bvHNH780YD/Z+PvwsWDl65ZaAZSUXwW0=; b=Ba2j8Cyc6PbzgTqs8C26C10hzhVugWqucPXeE8UGBnspC2HzzCMuEKQCunLUxjLIlp 2iIsGpnkEve1JOHsVKrRUbBpErd8wXDumTfbEFqKPIQ02/j6JCJzy4z//p07qF2Ba+n2 RFkHB1D4/ihPoWZ9z/W3DLVRWynKBfIUv5agwqk8QDu8DG8m5wVbQiQcSxFVykoFZfRS JXSvIMvwJIYOT4EDyTkmjTA7MQQCLK+nzAYUFAGX1rgvV5Oj4p0SqYHkfxIV6KvdEGFl 3ZL9RF4oIQQWy4WYyjWN5DH8et9L1GiFQuEpQUdfVvjnEf08wR1BU2A69P+ovA4fX0x6 X+3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WBwB63wa; 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 os27si12060285ejb.71.2019.11.04.14.12.04; Mon, 04 Nov 2019 14:12:27 -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=WBwB63wa; 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 S2390704AbfKDWLg (ORCPT + 99 others); Mon, 4 Nov 2019 17:11:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:44986 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390697AbfKDWLf (ORCPT ); Mon, 4 Nov 2019 17:11:35 -0500 Received: from localhost (6.204-14-84.ripe.coltfrance.com [84.14.204.6]) (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 2F1BC205C9; Mon, 4 Nov 2019 22:11:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572905494; bh=82Iwy/4pR8jTM/KNiRL/8URn/tQlaOBlPsmrF1+kfTo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WBwB63waYH3nr25XWx/eSS/fttDaTpRv9TAJnzuj4NCWVl3cbTfs+foEGzNj85vQz z5EcerIp5/85psBBydQHrWhzJQyLuVFDJ4/Vhlwcf3shbEzS08ZwQ1IlGZpAPBqlWw SmtwN+TJd9DuW3uVjPL0aYxtPfDWUVNWT9wl8Jlc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, chen gong , Aaron Liu , Alex Deucher Subject: [PATCH 5.3 141/163] drm/amdgpu: Fix SDMA hang when performing VKexample test Date: Mon, 4 Nov 2019 22:45:31 +0100 Message-Id: <20191104212150.546790069@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191104212140.046021995@linuxfoundation.org> References: <20191104212140.046021995@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: chen gong commit e5574f61e9d8274c49e9a5d943abde8e938d57e1 upstream. VKexample test hang during Occlusion/SDMA/Varia runs. Clear XNACK_WATERMK in reg SDMA0_UTCL1_WATERMK to fix this issue. Signed-off-by: chen gong Reviewed-by: Aaron Liu Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c @@ -159,6 +159,7 @@ static const struct soc15_reg_golden gol SOC15_REG_GOLDEN_VALUE(SDMA0, 0, mmSDMA0_RLC7_RB_RPTR_ADDR_LO, 0xfffffffd, 0x00000001), SOC15_REG_GOLDEN_VALUE(SDMA0, 0, mmSDMA0_RLC7_RB_WPTR_POLL_CNTL, 0xfffffff7, 0x00403000), SOC15_REG_GOLDEN_VALUE(SDMA0, 0, mmSDMA0_UTCL1_PAGE, 0x000003ff, 0x000003c0), + SOC15_REG_GOLDEN_VALUE(SDMA0, 0, mmSDMA0_UTCL1_WATERMK, 0xfc000000, 0x00000000) }; static const struct soc15_reg_golden golden_settings_sdma1_4_2[] = {