linux/include
Tomasz Figa 9fe7d77e22 CHROMIUM: [media] videobuf2-dc: Let drivers specify DMA attrs
DMA allocations might be subject to certain reqiurements specific to the
hardware using the buffers, such as availability of kernel mapping (for
contents fix-ups in the driver). The only entity that knows them is the
driver, so it must share this knowledge with vb2-dc.

This patch extends the alloc_ctx initialization interface to let the
driver specify DMA attrs, which are then stored inside the allocation
context and will be used for all allocations with that context.

As a side effect, all dma_*_coherent() calls are turned into
dma_*_attrs() calls, because the attributes need to be carried over
through all DMA operations.

BUG=chrome-os-partner:38873
TEST=compile

Signed-off-by: Tomasz Figa <tfiga@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/265363
Reviewed-by: Pawel Osciak <posciak@chromium.org>

Change-Id: I0e6c040cf820c194b6ca6f3e6355217496bd1532
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
2016-06-30 19:46:20 +08:00
..
acpi
asm-generic Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2016-05-13 12:20:56 +08:00
clocksource
crypto crypto: af_alg - Allow af_af_alg_release_parent to be called on nokey path 2016-02-17 12:31:03 -08:00
drm FIXUP: drm/bridge: analogix_dp: misc update to upstream version 2016-06-28 18:40:56 +08:00
dt-bindings clk: rockchip: add clock ids for i2s_src on RK3366 2016-06-28 18:40:57 +08:00
keys
kvm
linux soc: rockchip: add rk fiq debugger platform driver 2016-06-21 17:40:11 +08:00
math-emu
media CHROMIUM: [media] videobuf2-dc: Let drivers specify DMA attrs 2016-06-30 19:46:20 +08:00
memory
misc misc: rockchip-scr: add rockchip SOC smart card reader controller driver. 2016-03-21 11:03:15 +08:00
net Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2016-05-20 12:16:40 +08:00
pcmcia
ras
rdma IB/security: Restrict use of the write() interface 2016-05-04 14:48:48 -07:00
rxrpc
scsi
soc
sound UPSTREAM: ASoC: hdmi-codec: Add hdmi-codec for external HDMI-encoders 2016-06-23 11:11:20 +08:00
target target: Fix WRITE_SAME/DISCARD conversion to linux 512b sectors 2016-03-09 15:34:51 -08:00
trace Merge branch 'lsk-v4.4-eas-v5.2' of git://git.linaro.org/arm/eas/kernel.git 2016-06-08 14:09:19 +08:00
uapi CHROMIUM: v4l: Add VP8 low-level decoder API controls. 2016-06-30 19:45:29 +08:00
video video: rockchip: fb: add parse screen physical size 2016-05-25 15:18:53 +08:00
xen xen: Fix page <-> pfn conversion on 32 bit systems 2016-05-11 11:21:14 +02:00
Kbuild