drm/i915: Contract the magic IPS constants into a direct LUT
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 23 Nov 2010 13:50:14 +0000 (13:50 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 23 Nov 2010 15:43:40 +0000 (15:43 +0000)
commitfaa60c4174d943696b9478c5de6438c4f0fecba6
tree8abcf2f56c458154b3251f82c00a2bb9a8867ff1
parentc64f7ba5f1006d8c20eacafecf98d4d00a6902a0
drm/i915: Contract the magic IPS constants into a direct LUT

... and no need to perform a linear search for the index.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_dma.c