aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason Yan <yanaijie@huawei.com>2020-09-28 10:36:41 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-09-29 16:11:35 -0400
commit0ac900bae2c385f169577e1bc5de711c1c648b2b (patch)
tree2e721011ed2313ae55e6f9568217968d85f786c6
parentamd/drm/display: avoid dcn3 on flip opp change for slave pipes (diff)
downloadwireguard-linux-0ac900bae2c385f169577e1bc5de711c1c648b2b.tar.xz
wireguard-linux-0ac900bae2c385f169577e1bc5de711c1c648b2b.zip
drm/amd/display: make get_color_space_type() static
This addresses the following sparse warning: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_hw_sequencer.c:180:26: warning: symbol 'get_color_space_type' was not declared. Should it be static? Reviewed-by: Harry Wentland <harry.wentland@amd.com> Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Jason Yan <yanaijie@huawei.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
index c026b393f3c5..2a9080400bdd 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
@@ -177,7 +177,7 @@ static bool is_ycbcr709_limited_type(
ret = true;
return ret;
}
-enum dc_color_space_type get_color_space_type(enum dc_color_space color_space)
+static enum dc_color_space_type get_color_space_type(enum dc_color_space color_space)
{
enum dc_color_space_type type = COLOR_SPACE_RGB_TYPE;