drm/intel
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
..
tests intel-decode: Fix gen6 HIER_DEPTH_BUFFER decoding 2013-04-04 09:59:20 +02:00
.gitignore intel: Add a regression test program for intel_decode.c. 2012-01-04 14:49:44 -08:00
Android.mk android: remove duplicate libdrm in LOCAL_SHARED_LIBRARIES 2015-02-23 09:27:49 +00:00
Makefile.am automake: pick up all files for distribution. 2014-09-28 17:09:34 +01:00
Makefile.sources libdrm, freedreno, intel, nouveau, radeon: add Makefile.sources 2014-09-01 16:06:01 +01:00
intel_aub.h intel/aub: Sync the AUB defines with mesa's 2013-06-10 17:51:17 +01:00
intel_bufmgr.c intel: Add support for userptr objects 2014-09-17 12:15:57 +01:00
intel_bufmgr.h intel: Export total subslice and EU counts 2015-03-18 18:15:37 +00:00
intel_bufmgr_fake.c intel: Use symbol visibility. 2014-08-04 09:36:05 +02:00
intel_bufmgr_gem.c intel: Export total subslice and EU counts 2015-03-18 18:15:37 +00:00
intel_bufmgr_priv.h intel: Add support for userptr objects 2014-09-17 12:15:57 +01:00
intel_chipset.h intel/skl: Add SKL PCI ids 2014-09-30 12:18:04 +01:00
intel_debug.h intel: shared header for shader debugging 2011-08-01 14:44:58 -07:00
intel_decode.c intel/skl: add gen9 to the CS decoding init 2014-09-30 12:18:17 +01:00
libdrm_intel.pc.in intel: Update package name and description in libdrm_intel.pc 2013-08-30 12:10:50 -04:00
mm.c Move libdrm/ up one level 2009-11-17 11:15:06 -05:00
mm.h Move libdrm/ up one level 2009-11-17 11:15:06 -05:00
test_decode.c intel: Only define variable when it's used. 2015-01-26 10:08:42 +01:00