summaryrefslogtreecommitdiff
path: root/lib/i915_pciids.h
AgeCommit message (Collapse)Author
2016-06-30lib: Start weaning off defunct intel_chipset.hChris Wilson
Several years ago we made the plan of only having one canonical source for i915_pciids.h, the kernel and everyone importing their definitions from that. For consistency, we style the intel_device_info after the kernel, most notably using a generation mask and a per-codename bitfield. This first step converts looking up the generation for a devid tree from a massive if(devid)-chain to a (cached) table lookup. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-02-20Add i915_pciids.hChris Wilson
This is a pure copy from the central location at kernel/include/drm/i915_pciids.h