[Intel-gfx] [PATCH] drm/i915: Don't hardcode the number of pipes in the error state dump

Chris Wilson chris at chris-wilson.co.uk
Wed Aug 15 19:00:26 CEST 2012


On Wed, 15 Aug 2012 17:57:36 +0100, Damien Lespiau <damien.lespiau at gmail.com> wrote:
> From: Damien Lespiau <damien.lespiau at intel.com>
> 
> New-ish devices have 3 pipes, so let's not just hardcode 2 but use the
> for_each_pipe() macro and make struct intel_display_error_state is big
> enough.

Also add the number of pipes emitted to the error state, just in case
the decoder wants to be smart.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list