diff options
author | Dave Airlie <airlied@redhat.com> | 2017-09-29 10:23:15 +1000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-29 13:00:49 -0400 |
commit | b8a1d69ccb5e0ffc2771b3a7a6ec9d948d10ee9d (patch) | |
tree | d4bb13f3297e7bffb29c965aba3bb9ae73d1ac07 | |
parent | 2dc3e4a86c8cce49bc73f41d8e0134557c506488 (diff) | |
download | linux-b8a1d69ccb5e0ffc2771b3a7a6ec9d948d10ee9d.tar.gz linux-b8a1d69ccb5e0ffc2771b3a7a6ec9d948d10ee9d.tar.bz2 linux-b8a1d69ccb5e0ffc2771b3a7a6ec9d948d10ee9d.zip |
amdgpu/dc: static constify update_surface_trace_level
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>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 008f137dff80..c8235b041b5b 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -1172,7 +1172,7 @@ static struct dc_stream_status *stream_get_status( return NULL; } -enum surface_update_type update_surface_trace_level = UPDATE_TYPE_FULL; +static const enum surface_update_type update_surface_trace_level = UPDATE_TYPE_FULL; void dc_update_planes_and_stream(struct dc *dc, struct dc_surface_update *srf_updates, int surface_count, |