drm/i915: Include a generation number in the device info
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Aug 2010 08:59:24 +0000 (09:59 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Sep 2010 10:13:00 +0000 (11:13 +0100)
commitc96c3a8cb7fadcb33d9a5ebe35fcee8b7d0a7946
treef713ca433cb32572a0ec1a262d7c40f7c7ec1882
parentc877cdce93a44eea96f6cf7fc04be7d0372db2be
drm/i915: Include a generation number in the device info

To simplify the IS_GEN[234] macros and to enable switching.

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