linux/include
Chris Wilson 2fedbff948 drm/i915: Add I915_GEM_PARAM_HAS_SEMAPHORES
Userspace tries to estimate the cost of ring switching based on whether
the GPU and GEM supports semaphores. (If we have multiple rings and no
semaphores, userspace assumes that the cost of switching rings between
batches is exorbitant and will endeavour to keep the next batch on the
active ring - as a coarse approximation to tracking both destination and
source surfaces.) Currently userspace has to guess whether semaphores
exist based on the chipset generation and the module parameter,
i915.semaphores. This is a crude and inaccurate guess as the defaults
internally depend upon other chipset features being enabled or disabled,
nor does it extend well into the future. By exporting a HAS_SEMAPHORES
parameter, we can easily query the driver and obtain an accurate answer.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-08-08 14:29:12 +02:00
..
acpi
asm-generic Merge branch 'akpm' (Andrew's patch-bomb) 2012-06-20 14:41:57 -07:00
crypto
drm drm/i915: Add I915_GEM_PARAM_HAS_SEMAPHORES 2012-08-08 14:29:12 +02:00
keys
linux pci_regs: define LNKSTA2 pcie cap + bits. 2012-07-19 22:28:44 -04:00
math-emu
media
memory
misc
mtd
net bonding: Fix corrupted queue_mapping 2012-06-12 15:29:21 -07:00
pcmcia
rdma
rxrpc
scsi
sound
target target: Add TFO->put_session() caller for HW fabric session shutdown 2012-06-12 19:33:05 -07:00
trace rcu: Update RCU_FAST_NO_HZ tracing for lazy callbacks 2012-06-06 20:43:27 -07:00
video
xen
Kbuild