From: Yang Yingliang Date: Thu, 29 Sep 2022 09:02:00 +0000 (+0800) Subject: drm/amd/display: change to enc314_stream_encoder_dp_blank static X-Git-Tag: v6.1-rc5~176^2^2~93 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d37f379ad04dcc21ebd1d2380c3bc979d54f7c46;p=platform%2Fkernel%2Flinux-starfive.git drm/amd/display: change to enc314_stream_encoder_dp_blank static enc314_stream_encoder_dp_blank is only used in dcn314_dio_stream_encoder.c now, change it to static. Fixes: c55bf690fe79 ("drm/amd/display: Add explicit FIFO disable for DP blank") Signed-off-by: Yang Yingliang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_dio_stream_encoder.c b/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_dio_stream_encoder.c index 0d2ffb6..7e773bf 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_dio_stream_encoder.c +++ b/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_dio_stream_encoder.c @@ -262,7 +262,7 @@ static bool is_two_pixels_per_containter(const struct dc_crtc_timing *timing) return two_pix; } -void enc314_stream_encoder_dp_blank( +static void enc314_stream_encoder_dp_blank( struct dc_link *link, struct stream_encoder *enc) {