Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7149756ybi; Mon, 8 Jul 2019 15:38:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqy8sGixUWq/oih1DA1mr6U+YMz73l+atahhUz7MyAhDE90ZIJnfoxvr0Y7aWOhwU3hmrUVz X-Received: by 2002:a63:5451:: with SMTP id e17mr10902432pgm.363.1562625521508; Mon, 08 Jul 2019 15:38:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562625521; cv=none; d=google.com; s=arc-20160816; b=dr5NdKvpINFy0u68DnWkpEyje5rPYOydrMv50eSWznqyskmA4z9oMQwG/1BAOE/zHG JKYihkQh4Jlj02ckmpZ6szonyltZDxWex1//wUXPzjgDyl8YLE2B/Gw/3Qm2hecrNAXL 9Lwuw0+p2vNg5ASTi+711qDd3KOZLGm2GV9XL8AqcjA5B82u2TZmDty2u6xPbEdYajZf wIWfWg53SX1b1EFrhg/fQ6mvzBAhPotvMNJGy8ZQOLmgOaLTTEwzehUCQ7PMvrZjSP4D 54MW40s4SEEso32WhfvRrQZEvnyno6PVx1ze7oP0FBRldQyM4K/UR6W8MOqZxvdtCdG0 3TWQ== 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=+xujYpmNCldq9aKUdJZjt+lbzUIITGB8W9Ctr2q3Evc=; b=coKDgx3OaTwPbHnE1bcOI2in1uL8M+IqFD+AgoycsBVGrxuJTWJm/MgypON+tlr9NR uwE6fl4lCQERTKMo7vZvQ5RGDY1Bu0IFKhROXY60XBLTBvHans5aQ/MDltcX5S/9xaGg S8YFN1SRduqb3p+Wzfr8APhWkRZBLTtSoCBVNrPRPYKdMmG6QLDQG2Vq/i6MNiVcY1Dj xfGv/7X5E+CrOOChTNdZ2nu0l/vITz7kvI/SbFoK2mwQptV/N85x0oF2B4X/+m+bUTSt hD1sgrUVRLmBG/+LPG3mxUg6lRTI5VIIc7GMyF5y0ID+cArnrsXyHj9jMssf9y948HIh 9PQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MLmS0ZZE; 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 6si20236836pgb.201.2019.07.08.15.38.26; Mon, 08 Jul 2019 15:38:41 -0700 (PDT) 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=MLmS0ZZE; 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 S2389348AbfGHP2m (ORCPT + 99 others); Mon, 8 Jul 2019 11:28:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:57264 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389335AbfGHP2m (ORCPT ); Mon, 8 Jul 2019 11:28:42 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 AA958204EC; Mon, 8 Jul 2019 15:28:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562599721; bh=S1WRG3RJrjujn9y8HHrTSD8SK5ZAPC4VusP1IPPoZnE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MLmS0ZZEB50OIrJsH4SCQuhZ8JASDq7F4XzXmpfyrwmgB+Doa3EULuSnizbHrHGXp yuVWdtTs2vcTSXDrPpkOm9NjUfvIhHsKY1SFsxa1w1YR5HnfoOhSpJ82a6giYYTg6s W7h54v8dZBIvNt1lH1d0UDZVZln7Y3hrMs1Tpjvw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alex Deucher , Huang Rui Subject: [PATCH 4.19 56/90] drm/amdgpu/gfx9: use reset default for PA_SC_FIFO_SIZE Date: Mon, 8 Jul 2019 17:13:23 +0200 Message-Id: <20190708150525.307671589@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190708150521.829733162@linuxfoundation.org> References: <20190708150521.829733162@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: Alex Deucher commit 25f09f858835b0e9a06213811031190a17d8ab78 upstream. Recommended by the hw team. Reviewed-and-Tested-by: Huang Rui Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 19 ------------------- 1 file changed, 19 deletions(-) --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c @@ -1801,25 +1801,6 @@ static void gfx_v9_0_gpu_init(struct amd mutex_unlock(&adev->srbm_mutex); gfx_v9_0_init_compute_vmid(adev); - - mutex_lock(&adev->grbm_idx_mutex); - /* - * making sure that the following register writes will be broadcasted - * to all the shaders - */ - gfx_v9_0_select_se_sh(adev, 0xffffffff, 0xffffffff, 0xffffffff); - - WREG32_SOC15(GC, 0, mmPA_SC_FIFO_SIZE, - (adev->gfx.config.sc_prim_fifo_size_frontend << - PA_SC_FIFO_SIZE__SC_FRONTEND_PRIM_FIFO_SIZE__SHIFT) | - (adev->gfx.config.sc_prim_fifo_size_backend << - PA_SC_FIFO_SIZE__SC_BACKEND_PRIM_FIFO_SIZE__SHIFT) | - (adev->gfx.config.sc_hiz_tile_fifo_size << - PA_SC_FIFO_SIZE__SC_HIZ_TILE_FIFO_SIZE__SHIFT) | - (adev->gfx.config.sc_earlyz_tile_fifo_size << - PA_SC_FIFO_SIZE__SC_EARLYZ_TILE_FIFO_SIZE__SHIFT)); - mutex_unlock(&adev->grbm_idx_mutex); - } static void gfx_v9_0_wait_for_rlc_serdes(struct amdgpu_device *adev)