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>
This commit is contained in:
Dave Airlie 2017-09-29 10:23:15 +10:00 committed by Alex Deucher
parent 2dc3e4a86c
commit b8a1d69ccb

View File

@ -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,