i915g: Don't hardcode array size for phase count
authorStéphane Marchesin <marcheu@chromium.org>
Sat, 22 Nov 2014 08:07:52 +0000 (00:07 -0800)
committerStéphane Marchesin <marcheu@chromium.org>
Sat, 22 Nov 2014 08:13:39 +0000 (00:13 -0800)
commit5f61744adba322eaec9a357f09f5ed3bee29226b
tree15d3d1b162d71d62b934995e3f3a8df8c8d844b1
parent25b00f4617973243707f14ea72bb7f501a3190c9
i915g: Don't hardcode array size for phase count

This is an array of temp registers, so use I915_MAX_TEMPORARY for the size.

Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
src/gallium/drivers/i915/i915_fpc.h