From nobody Sun Nov 24 18:45:33 2024 Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1CDF016C687 for ; Mon, 4 Nov 2024 02:39:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730687958; cv=none; b=tqC0uaYsfME7MFSiVe3+ulrcYaPHHBgjeQfsZTcSXi6v/IT4VSFjTaF/kdzvihlA8/hRZMnoK09z6uzNU1LHamFEcLycqWphRA5TEQne0eUaRYe0BswxUZd4pnm1sVs67mSWRx5d8gQ98YYSDhk/FC9FzzRAO1VGPbK91qvWknI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730687958; c=relaxed/simple; bh=HINNPWbntA4Hi+2u1g+SyaDTcvnlx6KFpPVPOlUbpSg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gu8Iz/n0wV1umer0s7+pYLDbyXi2yIhlExDQqJd01PtAnRnDO+i+9DonNV4GZwyDJgYNk3bVnt1nZPBhzSLIF6+tHZfOhzsiUt9B3j19cTCnVm0Cg+dx3LXr88Djau3aukYrj3Mj+9DdC1LPFePOfbtBVOwBV6q8jwBpnM7ImrI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=HzXpKMIS; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="HzXpKMIS" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=iC0KoFsoUwEupIq9bReRkUd3v81AvDNZ/2McalaaoAQ=; b=HzXpKMISgp+8Ux5K NCAFaXSozpOHcc/QJq0z2Cknk9Wiy3eyNXoQAAvgCxxAMc7voKAUeb2ZDupWN7Ef+dqx3hN5k80E7 REvMBymtQM5CLK0RMXNs1rSVmvr+NF9qgo6ow78vbhA5sPei41zsnhXrANxCzEsAIw6lg5c+OT6YG jkQMTQyO+/yfAOcxgL0wXpRUtR7ZPlN+bXRi9M6KLKrtaSHv2UsbKqAqT/yE5mkQZwbNmab3DmaYT MgrmZngTiOVCkernUwHFbyuS5wSE+aIyXXlS/OKgl08s8aFq045Xu29VOb16QIZO9dvIvBjO9bM/h 21TtEFr5ZOkQRC9ouQ==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1t7mzp-00FECw-0A; Mon, 04 Nov 2024 02:39:13 +0000 From: linux@treblig.org To: alexander.deucher@amd.com, harry.wentland@amd.com, sunpeng.li@amd.com, Rodrigo.Siqueira@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com, chaitanya.dhere@amd.com, jun.lei@amd.com Cc: airlied@gmail.com, simona@ffwll.ch, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH 2/5] drm/amd/display: Remove unused dwb3_set_host_read_rate_control Date: Mon, 4 Nov 2024 02:38:49 +0000 Message-ID: <20241104023852.492497-3-linux@treblig.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241104023852.492497-1-linux@treblig.org> References: <20241104023852.492497-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: "Dr. David Alan Gilbert" dwb3_set_host_read_rate_control() has been unused since it was added by commit 8993dee0de2a ("drm/amd/display: Add DCN3 DWB") Remove it. Signed-off-by: Dr. David Alan Gilbert --- .../gpu/drm/amd/display/dc/dwb/dcn30/dcn30_dwb.c | 13 ------------- .../gpu/drm/amd/display/dc/dwb/dcn30/dcn30_dwb.h | 1 - 2 files changed, 14 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dwb/dcn30/dcn30_dwb.c b/drivers= /gpu/drm/amd/display/dc/dwb/dcn30/dcn30_dwb.c index fae98cf52020..bc058f682438 100644 --- a/drivers/gpu/drm/amd/display/dc/dwb/dcn30/dcn30_dwb.c +++ b/drivers/gpu/drm/amd/display/dc/dwb/dcn30/dcn30_dwb.c @@ -270,16 +270,3 @@ void dcn30_dwbc_construct(struct dcn30_dwbc *dwbc30, dwbc30->dwbc_shift =3D dwbc_shift; dwbc30->dwbc_mask =3D dwbc_mask; } - -void dwb3_set_host_read_rate_control(struct dwbc *dwbc, bool host_read_del= ay) -{ - struct dcn30_dwbc *dwbc30 =3D TO_DCN30_DWBC(dwbc); - - /* - * Set maximum delay of host read access to DWBSCL LUT or OGAM LUT if the= re are no - * idle cycles in HW pipeline (in number of clock cycles times 4) - */ - REG_UPDATE(DWB_HOST_READ_CONTROL, DWB_HOST_READ_RATE_CONTROL, host_read_d= elay); - - DC_LOG_DWB("%s dwb3_rate_control at inst =3D %d", __func__, dwbc->inst); -} diff --git a/drivers/gpu/drm/amd/display/dc/dwb/dcn30/dcn30_dwb.h b/drivers= /gpu/drm/amd/display/dc/dwb/dcn30/dcn30_dwb.h index 0f3f7c5fbaec..7f053f49ec6a 100644 --- a/drivers/gpu/drm/amd/display/dc/dwb/dcn30/dcn30_dwb.h +++ b/drivers/gpu/drm/amd/display/dc/dwb/dcn30/dcn30_dwb.h @@ -914,7 +914,6 @@ bool dwb3_ogam_set_input_transfer_func( struct dwbc *dwbc, const struct dc_transfer_func *in_transfer_func_dwb_ogam); =20 -void dwb3_set_host_read_rate_control(struct dwbc *dwbc, bool host_read_del= ay); #endif =20 =20 --=20 2.47.0