[Mesa-dev] [PATCH 25/53] i965/drm: Drop intel_chipset.h in favor of using gen_device_info.

Chris Wilson chris at chris-wilson.co.uk
Wed Apr 5 10:33:39 UTC 2017


On Tue, Apr 04, 2017 at 05:10:15PM -0700, Kenneth Graunke wrote:
> 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.

Just remember the kernel query actually tells you something more than
what you know from just querying pci-id. As you replace the buffer cache
management, that will become more obvious (and directly controllable).

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

We are still managing multiple pci-id lists. We gave ourselves the goal
many, many years ago of having a single canonical list.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the mesa-dev mailing list