From: Dave Airlie <airlied@gmail.com>
To: amd-gfx@lists.freedesktop.org
Subject: [PATCH 3/3] amd/dc/spl: drop unused function.
Date: Fri, 10 Jul 2026 16:37:44 +1000 [thread overview]
Message-ID: <20260710063946.2262582-4-airlied@gmail.com> (raw)
In-Reply-To: <20260710063946.2262582-1-airlied@gmail.com>
From: Dave Airlie <airlied@redhat.com>
This function is never called anywhere.
Signed-off-by: Dave Airlie <airlied@redhat.com>
---
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c | 17 -----------------
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h | 2 --
2 files changed, 19 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c b/drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
index d8aebaff7c3f..4e73996e7779 100644
--- a/drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
+++ b/drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
@@ -1915,20 +1915,3 @@ bool SPL_NAMESPACE(spl_calculate_scaler_params(struct spl_in *spl_in, struct spl
return res;
}
-
-/* External interface to get number of taps only */
-bool SPL_NAMESPACE(spl_get_number_of_taps(struct spl_in *spl_in, struct spl_out *spl_out))
-{
- bool res = false;
- bool enable_easf_v = false;
- bool enable_easf_h = false;
- bool enable_isharp = false;
- struct spl_scratch spl_scratch;
- struct dscl_prog_data *dscl_prog_data = spl_out->dscl_prog_data;
- const struct spl_scaler_data *data = &spl_scratch.scl_data;
-
- res = spl_calculate_number_of_taps(spl_in, &spl_scratch, spl_out,
- &enable_easf_v, &enable_easf_h, &enable_isharp);
- spl_set_taps_data(dscl_prog_data, data);
- return res;
-}
diff --git a/drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h b/drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h
index f9503c368db5..a53a2c1f5508 100644
--- a/drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h
+++ b/drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h
@@ -14,6 +14,4 @@
bool SPL_NAMESPACE(spl_calculate_scaler_params(struct spl_in *spl_in, struct spl_out *spl_out));
-bool SPL_NAMESPACE(spl_get_number_of_taps(struct spl_in *spl_in, struct spl_out *spl_out));
-
#endif /* __DC_SPL_H__ */
--
2.54.0
next prev parent reply other threads:[~2026-07-10 6:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-10 6:37 amdgpu: sspl small piece of dieting to start Dave Airlie
2026-07-10 6:37 ` [PATCH 1/3] amd/dc: move custom_float definition into custom_float.h Dave Airlie
2026-07-10 6:37 ` [PATCH 2/3] amd/dc: drop spl copies of custom float and fixed pt libraries Dave Airlie
2026-07-10 6:37 ` Dave Airlie [this message]
2026-07-17 18:41 ` amdgpu: sspl small piece of dieting to start Leo Li
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=20260710063946.2262582-4-airlied@gmail.com \
--to=airlied@gmail.com \
--cc=amd-gfx@lists.freedesktop.org \
/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