[PATCH] amdgpu/dc: static constify update_surface_trace_level
Harry Wentland
harry.wentland at amd.com
Fri Sep 29 00:45:38 UTC 2017
On 2017-09-28 08:23 PM, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
Reviewed-by: Harry Wentland <harry.wentland at amd.com>
Harry
> ---
> drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
> index 008f137..c8235b0 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,
>
More information about the amd-gfx
mailing list