drm/i915: combine all small integers into one single bitfield
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 13 May 2010 09:49:44 +0000 (11:49 +0200)
committerEric Anholt <eric@anholt.net>
Wed, 26 May 2010 21:13:36 +0000 (14:13 -0700)
commit778c35444f7bbb8f1816d40ada650e19c5da9c02
treede99bcb4a102591dc63f37e37edf200e7998c60c
parenta7de64e540d2017a8e44dec1ca9d88a509aa7e05
drm/i915: combine all small integers into one single bitfield

This saves a whooping 7 dwords. Zero functional changes. Because
some of the refcounts are rather tightly calculated, I've put
BUG_ONs in the code to check for overflows.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c