mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/5] drm/amd/display: make enc32_stream_encoder_dvi_set_stream_attribute static
@ 2022-09-13  8:38 Jiapeng Chong
  2022-09-13  8:38 ` [PATCH 2/5] drm/amd/display: make dscl32_calc_lb_num_partitions static Jiapeng Chong
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jiapeng Chong @ 2022-09-13  8:38 UTC (permalink / raw)
  To: alexander.deucher
  Cc: christian.koenig, Xinhui.Pan, airlied, daniel, amd-gfx,
	dri-devel, linux-kernel, Jiapeng Chong, Abaci Robot

This symbol is not used outside of dcn32_dio_stream_encoder.c, so marks
it static.

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_dio_stream_encoder.c:63:6: warning: no previous prototype for ‘enc32_stream_encoder_dvi_set_stream_attribute’.

Link:https://bugzilla.openanolis.cn/show_bug.cgi?id=2119
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c
index 38a48983f663..0e9dce414641 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c
@@ -60,7 +60,7 @@ static void enc32_dp_set_odm_combine(
 }
 
 /* setup stream encoder in dvi mode */
-void enc32_stream_encoder_dvi_set_stream_attribute(
+static void enc32_stream_encoder_dvi_set_stream_attribute(
 	struct stream_encoder *enc,
 	struct dc_crtc_timing *crtc_timing,
 	bool is_dual_link)
-- 
2.20.1.7.g153144c


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-09-13 13:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-13  8:38 [PATCH 1/5] drm/amd/display: make enc32_stream_encoder_dvi_set_stream_attribute static Jiapeng Chong
2022-09-13  8:38 ` [PATCH 2/5] drm/amd/display: make dscl32_calc_lb_num_partitions static Jiapeng Chong
2022-09-13  8:38 ` [PATCH 3/5] drm/amd/display: make dcn32_link_encoder_is_in_alt_mode and dcn32_link_encoder_get_max_link_cap static Jiapeng Chong
2022-09-13  8:38 ` [PATCH 4/5] drm/amd/display: make mpc32_program_shaper and mpc32_program_3dlut static Jiapeng Chong
2022-09-13  8:38 ` [PATCH 5/5] drm/amd/display: Remove the unused function copy_stream_update_to_stream() Jiapeng Chong
2022-09-13 13:01   ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®