From d308bb082d429eb25dfd2844bcbafe722660a1ff Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 29 Jun 2016 08:28:58 +0100 Subject: lib: Start weaning off defunct intel_chipset.h 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 --- lib/Makefile.sources | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Makefile.sources') diff --git a/lib/Makefile.sources b/lib/Makefile.sources index 3589e26a..8cad9d57 100644 --- a/lib/Makefile.sources +++ b/lib/Makefile.sources @@ -26,11 +26,12 @@ libintel_tools_la_SOURCES = \ instdone.h \ intel_batchbuffer.c \ intel_batchbuffer.h \ + intel_chipset.c \ intel_chipset.h \ + intel_device_info.c \ intel_os.c \ intel_io.h \ intel_mmio.c \ - intel_chipset.c \ intel_reg.h \ ioctl_wrappers.c \ ioctl_wrappers.h \ -- cgit v1.2.3