From: Jinjie Ruan <ruanjinjie@huawei.com>
To: Alex Deucher <alexdeucher@gmail.com>
Cc: <harry.wentland@amd.com>, <sunpeng.li@amd.com>,
<Rodrigo.Siqueira@amd.com>, <alexander.deucher@amd.com>,
<christian.koenig@amd.com>, <Xinhui.Pan@amd.com>,
<airlied@gmail.com>, <daniel@ffwll.ch>,
<nicholas.kazlauskas@amd.com>, <Charlene.Liu@amd.com>,
<chiahsuan.chung@amd.com>, <hamza.mahfooz@amd.com>,
<sungjoon.kim@amd.com>, <syed.hassan@amd.com>, <roman.li@amd.com>,
<amd-gfx@lists.freedesktop.org>,
<dri-devel@lists.freedesktop.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH -next v2 RESEND] drm/amd/display: Remove unused dcn35_fpga_funcs
Date: Fri, 23 Aug 2024 09:18:26 +0800 [thread overview]
Message-ID: <8de17606-7fa5-ea3b-301b-9cb4eeee0c33@huawei.com> (raw)
In-Reply-To: <CADnq5_Pm9GHaFWLUniQ608CNMPMSBpNdh2JW9-AcKyEM18KE9Q@mail.gmail.com>
On 2024/8/23 2:01, Alex Deucher wrote:
> On Thu, Aug 22, 2024 at 5:20 AM Jinjie Ruan <ruanjinjie@huawei.com> wrote:
>>
>> dcn35_fpga_funcs is not used anywhere, remove it.
>
> This will lead to warnings about unused functions. The fpga specific
> functions should be removed as well. I'd suggest compile testing your
> changes first to catch these types of warnings.
Thank you!, I noticed these warnings later and it is too late, I'll send
out a new version today.
>
> Alex
>
>
>>
>> Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
>> ---
>> v2:
>> - Remove it instead of making it static.
>> ---
>> .../gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c | 7 -------
>> 1 file changed, 7 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c
>> index e2d906327e2e..15977c2d256d 100644
>> --- a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c
>> +++ b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c
>> @@ -1068,13 +1068,6 @@ static struct clk_mgr_funcs dcn35_funcs = {
>> .is_ips_supported = dcn35_is_ips_supported,
>> };
>>
>> -struct clk_mgr_funcs dcn35_fpga_funcs = {
>> - .get_dp_ref_clk_frequency = dce12_get_dp_ref_freq_khz,
>> - .update_clocks = dcn35_update_clocks_fpga,
>> - .init_clocks = dcn35_init_clocks_fpga,
>> - .get_dtb_ref_clk_frequency = dcn31_get_dtb_ref_freq_khz,
>> -};
>> -
>> void dcn35_clk_mgr_construct(
>> struct dc_context *ctx,
>> struct clk_mgr_dcn35 *clk_mgr,
>> --
>> 2.34.1
>>
next prev parent reply other threads:[~2024-08-23 7:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-22 1:58 [PATCH -next v2 RESEND] drm/amd/display: Remove unused dcn35_fpga_funcs Jinjie Ruan
2024-08-22 18:01 ` Alex Deucher
2024-08-23 1:18 ` Jinjie Ruan [this message]
2024-08-23 3:23 ` kernel test robot
2024-08-23 6:08 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8de17606-7fa5-ea3b-301b-9cb4eeee0c33@huawei.com \
--to=ruanjinjie@huawei.com \
--cc=Charlene.Liu@amd.com \
--cc=Rodrigo.Siqueira@amd.com \
--cc=Xinhui.Pan@amd.com \
--cc=airlied@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=alexdeucher@gmail.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=chiahsuan.chung@amd.com \
--cc=christian.koenig@amd.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=hamza.mahfooz@amd.com \
--cc=harry.wentland@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nicholas.kazlauskas@amd.com \
--cc=roman.li@amd.com \
--cc=sungjoon.kim@amd.com \
--cc=sunpeng.li@amd.com \
--cc=syed.hassan@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox