kernel-ark/drivers/base
Maarten Lankhorst 786d7257e5 reservation: cross-device reservation support, v4
This adds support for a generic reservations framework that can be
hooked up to ttm and dma-buf and allows easy sharing of reservations
across devices.

The idea is that a dma-buf and ttm object both will get a pointer
to a struct reservation_object, which has to be reserved before
anything is done with the contents of the dma-buf.

Changes since v1:
 - Fix locking issue in ticket_reserve, which could cause mutex_unlock
   to be called too many times.
Changes since v2:
 - All fence related calls and members have been taken out for now,
   what's left is the bare minimum to be useful for ttm locking conversion.
Changes since v3:
 - Removed helper functions too. The documentation has an example
   implementation for locking. With the move to ww_mutex there is no
   need to have much logic any more.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-06-28 12:02:15 +10:00
..
power PM: Avoid calling kfree() under spinlock in dev_pm_put_subsys_data() 2013-05-12 14:04:40 +02:00
regmap Merge remote-tracking branch 'regmap/fix/debugfs' into regmap-linus 2013-06-03 18:07:38 +01:00
attribute_container.c
base.h
bus.c driver core: export subsys_virtual_register 2013-05-21 09:05:52 -07:00
class.c
core.c driver core: print sysfs attribute name when warning about bogus permissions 2013-05-21 09:05:52 -07:00
cpu.c
dd.c
devres.c
devtmpfs.c
dma-buf.c dma-buf: Add debugfs support 2013-05-01 16:36:22 +05:30
dma-coherent.c
dma-contiguous.c
dma-mapping.c
driver.c
firmware_class.c firmware loader: fix use-after-free by double abort 2013-06-18 10:41:55 -07:00
firmware.c
hypervisor.c
init.c
isa.c
Kconfig
Makefile reservation: cross-device reservation support, v4 2013-06-28 12:02:15 +10:00
map.c
memory.c
module.c
node.c
pinctrl.c
platform.c
reservation.c reservation: cross-device reservation support, v4 2013-06-28 12:02:15 +10:00
soc.c
syscore.c
topology.c
transport_class.c