summaryrefslogtreecommitdiffstats
path: root/kernel/rcutree.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2009-12-16 21:16:16 +0100
committerEric Anholt <eric@anholt.net>2009-12-16 22:52:53 +0100
commitcfdf1fa23f4074c9f8766dc67a928bbf680b1ac9 (patch)
tree447930bfa2f30e0e77e6ec24ed748f927e96f455 /kernel/rcutree.h
parentdrm/i915: Move PCI IDs into i915 driver (diff)
downloadlinux-cfdf1fa23f4074c9f8766dc67a928bbf680b1ac9.tar.xz
linux-cfdf1fa23f4074c9f8766dc67a928bbf680b1ac9.zip
drm/i915: Implement IS_* macros using static tables
Instead of using the IS_I9XX etc macros that expand to a ton of comparisons, use new struct intel_device_info to capture the capabilities of the different chipsets. The drm_i915_private struct will be initialized to point to the device info that correspond to the actual device and this way, testing for a specific capability is just a matter of checking a bit field. Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'kernel/rcutree.h')
0 files changed, 0 insertions, 0 deletions