OSDN Git Service

drm/amd/display: change to enc314_stream_encoder_dp_blank static
authorYang Yingliang <yangyingliang@huawei.com>
Thu, 29 Sep 2022 09:02:00 +0000 (17:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Oct 2022 15:55:36 +0000 (11:55 -0400)
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 <yangyingliang@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_dio_stream_encoder.c

index 0d2ffb6..7e773bf 100644 (file)
@@ -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)
 {