mesa-drm/include/drm
Yang Rong 98887140e3 intel: Export pooled EU and min no. of eus in a pool.
Update kernel interface with new I915_GETPARAM ioctl entries for
pooled EU and min no. of eus in a pool. Add a wrapping function
for each parameter. Userspace drivers need these values when decide
the thread count. This kernel enabled pooled eu by default for BXT
and for fused down 2x6 parts it is advised to turn it off.

But there is another HW issue in these parts (fused
down 2x6 parts) before C0 that requires Pooled EU to be enabled as a
workaround. In this case the pool configuration changes depending upon
which subslice is disabled and the no. of eus in a pool is different,
So userspace need to know min no. of eus in a pool.

V2: use return value as the query results.
    ret < 0 when error, ret = 0 when not support, and ret > 0 indicate
    query results.(Chris)
V3: Correct V2 errors.

Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-09-07 13:50:23 +01:00
..
amdgpu_drm.h amdgpu: sync amdgpu_drm.h with the kernel 2016-09-05 15:43:22 +02:00
drm.h headers: Update drm.h 2016-04-12 13:15:49 +02:00
drm_fourcc.h headers: Update drm_fourcc.h 2016-04-12 13:15:49 +02:00
drm_mode.h headers: Update drm_mode.h 2016-04-12 13:15:49 +02:00
drm_sarea.h headers: Update drm_sarea.h 2016-04-12 13:15:49 +02:00
i915_drm.h intel: Export pooled EU and min no. of eus in a pool. 2016-09-07 13:50:23 +01: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: import and install a selection of nvif headers from the kernel 2015-12-22 13:21:05 +10: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 radeon_drm.h with the kernel 2016-09-05 15:43:22 +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: Sync with Linux kernel UAPI header 2016-04-07 18:32:03 +01:00
vc4_drm.h vc4: Update kernel headers for getparam addition. 2016-07-15 15:38:12 -07:00
via_drm.h More fixups to allow mesa to build 2009-11-24 10:31:41 -06:00
virtgpu_drm.h virtgpu: Update kernel header 2016-07-23 09:45:53 +02:00
vmwgfx_drm.h vmwgfx: update uapi 2016-02-24 10:08:28 +01:00