summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2017-10-03 15:11:01 +1000
committerAlex Deucher <alexander.deucher@amd.com>2017-10-06 13:07:58 -0400
commit44858055bb28b1ba45dc05acecf9087bc4786701 (patch)
tree309cc0059328b10e5944ab2b26bc08c7a93397d1 /drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
parentc6fa531809f08af52406347e5351920cc2d55e42 (diff)
downloadlinux-0-day-44858055bb28b1ba45dc05acecf9087bc4786701.tar.gz
linux-0-day-44858055bb28b1ba45dc05acecf9087bc4786701.tar.xz
amdgpu/dc: set a bunch of functions to static.
All of these are unused outside the file they are in. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c b/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
index a09727fb405fb..4fd49a16c3b6e 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
@@ -1183,7 +1183,7 @@ static const struct audio_clock_info audio_clock_info_table_48bpc[14] = {
};
-union audio_cea_channels speakers_to_channels(
+static union audio_cea_channels speakers_to_channels(
struct audio_speaker_flags speaker_flags)
{
union audio_cea_channels cea_channels = {0};
@@ -1217,7 +1217,7 @@ union audio_cea_channels speakers_to_channels(
return cea_channels;
}
-uint32_t calc_max_audio_packets_per_line(
+static uint32_t calc_max_audio_packets_per_line(
const struct audio_crtc_info *crtc_info)
{
uint32_t max_packets_per_line;
@@ -1238,7 +1238,7 @@ uint32_t calc_max_audio_packets_per_line(
return max_packets_per_line;
}
-void get_audio_clock_info(
+static void get_audio_clock_info(
enum dc_color_depth color_depth,
uint32_t crtc_pixel_clock_in_khz,
uint32_t actual_pixel_clock_in_khz,