[Intel-gfx] [PATCH 09/35] drm/i915: Split out reading of HSW watermark latency values

Chris Wilson chris at chris-wilson.co.uk
Fri Jul 5 11:19:29 CEST 2013


On Fri, Jul 05, 2013 at 11:57:21AM +0300, ville.syrjala at linux.intel.com wrote:
> @@ -2593,10 +2598,11 @@ static void haswell_update_wm(struct drm_device *dev)
>  	struct hsw_wm_maximums lp_max_1_2, lp_max_5_6;
>  	struct hsw_pipe_wm_parameters params[3];
>  	struct hsw_wm_values results_1_2, results_5_6, *best_results;
> -	uint16_t wm[5];
> +	uint16_t wm[5] = {};

Trying to hide a warning?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list