summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c
diff options
context:
space:
mode:
authorMaíra Canal <mairacanal@riseup.net>2022-07-14 13:44:57 -0300
committerAlex Deucher <alexander.deucher@amd.com>2022-07-20 16:04:01 -0400
commitfb3e8ed0438347c63650850c011c99deb59d7e62 (patch)
treeab52fa88c9d48bc823ce38b47c89e0a692a58118 /drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c
parent40835624efcde7f984cb859035b95b5a526d1a9f (diff)
downloadlinux-fb3e8ed0438347c63650850c011c99deb59d7e62.tar.bz2
drm/amd/display: Change get_pipe_idx function scope
Turn previously global function into a static function as it is not used outside the file. Reviewed-by: André Almeida <andrealmeid@igalia.com> Signed-off-by: Maíra Canal <mairacanal@riseup.net> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c b/drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c
index 39f93072b5e0..c5a0a3649e9a 100644
--- a/drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c
+++ b/drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c
@@ -251,7 +251,7 @@ unsigned int get_total_surface_size_in_mall_bytes(
return size;
}
-unsigned int get_pipe_idx(struct display_mode_lib *mode_lib, unsigned int plane_idx)
+static unsigned int get_pipe_idx(struct display_mode_lib *mode_lib, unsigned int plane_idx)
{
int pipe_idx = -1;
int i;