Skip to contentSkip to conversation

drm/imx/dcss: add missing kernel-doc parameters for scaler functions

PATCH In review Rosen Penev 2 participants 2 messages May 30 – Jun 2

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/imx/dcss: add missing kernel-doc parameters for scaler functions

dcss_scaler_gaussian_filter() was missing @phase0_identity and dcss_scaler_filter_design() was missing @phase0_identity and @nn_interpolation in their kernel-doc comments.

Assisted-by Opencode:Big-pickle
---
 drivers/gpu/drm/imx/dcss/dcss-scaler.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/imx/dcss/dcss-scaler.c +3 -0
index 32c3f46b21da..e48b3117efb9 100644
@@ -166,6 +166,7 @@ static int exp_approx_q(int x)
  * dcss_scaler_gaussian_filter() - Generate gaussian prototype filter.
  * @fc_q: fixed-point cutoff frequency normalized to range [0, 1]
  * @use_5_taps: indicates whether to use 5 taps or 7 taps
+ * @phase0_identity: use identity filter for phase 0
  * @coef: output filter coefficients
  */
 static void dcss_scaler_gaussian_filter(int fc_q, bool use_5_taps,
@@ -262,7 +263,9 @@ static void dcss_scaler_nearest_neighbor_filter(bool use_5_taps,
  * @src_length: length of input
  * @dst_length: length of output
  * @use_5_taps: 0 for 7 taps per phase, 1 for 5 taps
+ * @phase0_identity: use identity filter for phase 0
  * @coef: output coefficients
+ * @nn_interpolation: use nearest neighbor interpolation
  */
 static void dcss_scaler_filter_design(int src_length, int dst_length,
 				      bool use_5_taps, bool phase0_identity,

--
2.54.0

maintainer
#1 lore raw

Hi,

There was already a fix sent for this:
https://lore.kernel.org/all/[email protected]/

Quoted 35 lines · Rosen Penev

dcss_scaler_gaussian_filter() was missing @phase0_identity and dcss_scaler_filter_design() was missing @phase0_identity and @nn_interpolation in their kernel-doc comments.

Assisted-by Opencode:Big-pickle
---
 drivers/gpu/drm/imx/dcss/dcss-scaler.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/imx/dcss/dcss-scaler.c +3 -1
index 32c3f46b21da..e48b3117efb9 100644
@@ -166,6 +166,7 @@ static int exp_approx_q(int x)
  * dcss_scaler_gaussian_filter() - Generate gaussian prototype filter.
  * @fc_q: fixed-point cutoff frequency normalized to range [0, 1]
  * @use_5_taps: indicates whether to use 5 taps or 7 taps
+ * @phase0_identity: use identity filter for phase 0
  * @coef: output filter coefficients
  */
 static void dcss_scaler_gaussian_filter(int fc_q, bool use_5_taps,
@@ -262,7 +263,9 @@ static void dcss_scaler_nearest_neighbor_filter(bool use_5_taps,
  * @src_length: length of input
  * @dst_length: length of output
  * @use_5_taps: 0 for 7 taps per phase, 1 for 5 taps
+ * @phase0_identity: use identity filter for phase 0
  * @coef: output coefficients
+ * @nn_interpolation: use nearest neighbor interpolation
  */
 static void dcss_scaler_filter_design(int src_length, int dst_length,
 				      bool use_5_taps, bool phase0_identity,
--

2.54.0

Signature · 2 lines
Thanks,
Laurentiu