[Intel-gfx] [PATCH 3/3] drm/i915: Enabling DebugFS for valleyview forcewake counts

Jesse Barnes jbarnes at virtuousgeek.org
Mon Nov 25 17:38:35 CET 2013


On Sat, 23 Nov 2013 14:55:44 +0530
deepak.s at intel.com wrote:
> @@ -2349,7 +2357,7 @@ static int pipe_crc_set_source(struct drm_device *dev, enum pipe pipe,
>  {
>  	struct drm_i915_private *dev_priv = dev->dev_private;
>  	struct intel_pipe_crc *pipe_crc = &dev_priv->pipe_crc[pipe];
> -	u32 val;
> +	u32 val = 0;
>  	int ret;
>  
>  	if (pipe_crc->source == source)

Spurious warning fix?  Otherwise looks fine.

Reviewed-by: Jesse Barnes <jbarnes at virtuousgeek.org>

-- 
Jesse Barnes, Intel Open Source Technology Center



More information about the Intel-gfx mailing list