mesa-drm/include/drm
Jeff McGee d556e068a7 intel: Export total subslice and EU counts
Update kernel interface with new I915_GETPARAM ioctl entries for
subslice total and EU total. Add a wrapping function for each
parameter. Userspace drivers need these values when constructing
GPGPU commands. This kernel query method is intended to replace
the PCI ID-based tables that userspace drivers currently maintain.
The kernel driver can employ fuse register reads as needed to
ensure the most accurate determination of GT config attributes.
This first became important with Cherryview in which the config
could differ between devices with the same PCI ID.

The kernel detection of these values is device-specific. Userspace
drivers should continue to maintain ID-based tables for older
devices which return ENODEV when using this query.

v2: remove unnecessary include of <stdbool.h> and increment the
    I915_GETPARAM indices to match updated kernel patch.

For: VIZ-4636
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Jeff McGee <jeff.mcgee@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2015-03-18 18:15:37 +00:00
..
drm.h drm: Add universal plane capability bit and plane type enums 2014-05-19 19:43:16 -04:00
drm_fourcc.h Make drm/drm_fourcc.h portable to non-linux platforms 2012-03-05 19:07:02 -08:00
drm_mode.h Add new DRM_MODE_CONNECTOR and _ENCODER defines 2015-01-05 14:30:57 -05:00
drm_sarea.h Copy headers from kernel v2.6.32-rc6-130-g5b8f0be 2009-11-17 10:54:07 -05:00
i915_drm.h intel: Export total subslice and EU counts 2015-03-18 18:15:37 +00:00
mach64_drm.h Put mach64_drm.h back in to avoid breaking mesa build 2009-11-20 20:17:26 -05:00
mga_drm.h More fixups to allow mesa to build 2009-11-24 10:31:41 -06:00
nouveau_drm.h nouveau: Define the HAS_PAGEFLIP getparam. 2010-10-21 23:02:43 +02:00
qxl_drm.h libdrm: Fix drm.h include in qxl drm header file 2014-07-28 17:35:29 +02:00
r128_drm.h Copy headers from kernel v2.6.32-rc6-130-g5b8f0be 2009-11-17 10:54:07 -05:00
radeon_drm.h radeon: sync with radeon_drm.h from kernel headers 2014-04-04 19:07:55 +02:00
savage_drm.h Copy headers from kernel v2.6.32-rc6-130-g5b8f0be 2009-11-17 10:54:07 -05:00
sis_drm.h Copy headers from kernel v2.6.32-rc6-130-g5b8f0be 2009-11-17 10:54:07 -05:00
tegra_drm.h tegra: Add SET/GET_FLAGS IOCTLs 2014-11-27 17:20:32 +01:00
via_drm.h More fixups to allow mesa to build 2009-11-24 10:31:41 -06:00
vmwgfx_drm.h Copy headers from kernel drm-core-next 2010-08-04 08:41:49 +10:00