original_kernel/include
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
..
acpi
asm-generic
clocksource
crypto
drm drm/i915: add kerneldoc for i915_audio_component 2015-10-07 16:05:37 +02:00
dt-bindings
keys
kvm
linux Merge tag 'topic/drm-misc-2015-09-25' of git://anongit.freedesktop.org/drm-intel into drm-next 2015-09-30 08:35:45 +10:00
math-emu
media
memory
misc
net ipv4: send arp replies to the correct tunnel 2015-09-24 14:31:36 -07:00
pcmcia
ras
rdma
rxrpc
scsi
soc
sound
target target: Propigate backend read-only to core_tpg_add_lun 2015-09-24 23:17:21 -07:00
trace
uapi drm/i915: Report context GTT size 2015-10-19 12:16:46 +02:00
video
xen
Kbuild