mesa/src/intel/dev
Lionel Landwerlin c1900f5b0f intel: devinfo: add helper functions to fill fusing masks values
There are a couple of ways we can get the fusing information from the
kernel :

  - Through DRM_I915_GETPARAM with the SLICE_MASK/SUBSLICE_MASK
    parameters

  - Through the new DRM_IOCTL_I915_QUERY by requesting the
    DRM_I915_QUERY_TOPOLOGY_INFO

The second method is more accurate and also gives us the EUs fusing
masks. It's also a requirement for CNL as this platform has asymetric
subslices and the first method SUBSLICE_MASK value is assumed uniform
across slices.

v2: Change gen_device_info_update_from_masks() to generate topology
    and call into gen_device_info_update_from_topology (Lionel/Ken)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2018-03-22 20:14:22 +00:00
..
gen_device_info.c intel: devinfo: add helper functions to fill fusing masks values 2018-03-22 20:14:22 +00:00
gen_device_info.h intel: devinfo: add helper functions to fill fusing masks values 2018-03-22 20:14:22 +00:00
meson.build intel: devinfo: meson: include drm uapi 2018-03-22 20:14:22 +00:00