linux-stable/include/uapi/drm
Chris Wilson fa8848f278 drm/i915: Report context GTT size
Since the beginning we have conflated the size of the global GTT with
that of the per-process context sizes. In recent times (gen8+), those
are no longer the same where the global GTT is limited to 2/4GiB but the
per-process GTT may be anything up to 256TiB. Userspace knows nothing of
this discrepancy and outside of one or two hacks, uses the getaperture
ioctl to determine the maximum size it can use. Let's leave that as
reporting the global GTT and use the context reporting method to
describe the per-process value (which naturally fallsback to reporting
the aliasing or global on older platforms, so userspace can always use
this method where available).

Testcase: igt/gem_userptr_blits/minor-normal-sync
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90065
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2015-10-19 12:16:46 +02:00
..
amdgpu_drm.h drm/amdgpu: Drop drm/ prefix for including drm.h in amdgpu_drm.h 2015-07-29 15:48:05 -04:00
armada_drm.h DRM: Armada: Add Armada DRM driver 2013-10-12 10:13:40 +01:00
drm.h drm/mode: Add user blob-creation ioctl 2015-05-22 16:18:28 +02:00
drm_fourcc.h drm/fourcc: Add formats R8, RG88, GR88 2015-07-09 15:12:41 +02:00
drm_mode.h drm: cleanup modesetting ioctls, one param per line 2015-09-08 13:45:47 +02:00
drm_sarea.h
exynos_drm.h drm/exynos: use drm generic mmap interface 2014-09-20 01:00:13 +09:00
i810_drm.h
i915_drm.h drm/i915: Report context GTT size 2015-10-19 12:16:46 +02:00
Kbuild drm/msm: add a3xx gpu support 2013-08-24 14:57:18 -04:00
mga_drm.h
msm_drm.h drm/msm: use __s32, __s64, __u32 and __u64 from linux/types.h for uabi 2015-06-11 13:11:05 -04:00
nouveau_drm.h drm/nouveau/gem: allow user-space to specify an object should be coherent 2015-04-14 17:00:46 +10:00
omap_drm.h drm/omap: move out of staging 2013-02-16 17:38:06 -05:00
qxl_drm.h drm: add new QXL driver. (v1.4) 2013-04-12 13:51:07 +10:00
r128_drm.h
radeon_drm.h drm/radeon: Drop drm/ prefix for including drm.h in radeon_drm.h 2015-07-29 15:48:04 -04:00
savage_drm.h
sis_drm.h
tegra_drm.h drm/tegra: gem: Return 64-bit offset for mmap(2) 2015-04-02 18:49:23 +02:00
via_drm.h
vmwgfx_drm.h drm/vmwgfx: Fix copyright headers 2015-08-12 10:06:56 -07:00