diff options
| author | Damien Lespiau <damien.lespiau@intel.com> | 2012-08-15 19:23:25 +0100 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-08-17 10:10:05 +0200 |
| commit | 523313092abffb21bfe7cd8d37615402b2228850 (patch) | |
| tree | 43317f87bd890168cb8fd110616280cf11e81dd1 /arch/powerpc/lib/code-patching.c | |
| parent | 33faad195eec0c72fec84e638623ea25652eed72 (diff) | |
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 <damien.lespiau@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
