From: Damien Lespiau Date: Wed, 15 Aug 2012 18:23:25 +0000 (+0100) Subject: drm/i915: Don't hardcode the number of pipes in the error state dump X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~20^2~30^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=523313092abffb21bfe7cd8d37615402b2228850;p=pandora-kernel.git drm/i915: Don't hardcode the number of pipes in the error state dump 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. V2: Also add the number of pipes emitted (Chris Wilson) Signed-off-by: Damien Lespiau Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed