[Intel-gfx] [PATCH] drm/i915: Use ACTHD instead of BBADDR on older chipsets.

Chris Wilson chris at chris-wilson.co.uk
Tue Jan 5 14:11:37 CET 2010


On Tue,  5 Jan 2010 12:58:45 +0000, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> @@ -461,6 +464,8 @@ static void i915_capture_error_state(struct drm_device *dev)
>  		error->instdone1 = I915_READ(INSTDONE1);
>  		error->acthd = I915_READ(ACTHD_I965);
>  		error->bbaddr = I915_READ64(BB_ADDR);
> +
> +		bbadrr = error->bbaddr;
>  	}

Meh. Beware the silly typo. Eric, do you want a new version with the two
patches squashed? And actually compile tested! ;-)
-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list