i965/drm: Drop intel_chipset.h in favor of using gen_device_info.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 4 Apr 2017 18:45:08 +0000 (11:45 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 10 Apr 2017 21:31:36 +0000 (14:31 -0700)
commit1dc02da6d79eef0450b43a90fddd72342140f0db
tree15730e257b50cba9c042c786a1c543bfdb23ad57
parent55ee8f36a8c68a0c97c837806cd38e660d6e4bf5
i965/drm: Drop intel_chipset.h in favor of using gen_device_info.

This moves the PCI ID detection to intel_screen.c and makes
drm_bacon_bufmgr_gem_init() take a devinfo pointer.

We also drop the HAS_LLC query stuff - devinfo has that info already,
without kernel queries, and it makes no sense to have two has_llc flags
set by different mechanisms.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_bufmgr.h
src/mesa/drivers/dri/i965/intel_bufmgr_gem.c
src/mesa/drivers/dri/i965/intel_chipset.h [deleted file]
src/mesa/drivers/dri/i965/intel_screen.c