OpenCloudOS-Kernel/drivers/media
Thomas Zimmermann 20e76f1a70 dma-buf: Use struct dma_buf_map in dma_buf_vunmap() interfaces
This patch updates dma_buf_vunmap() and dma-buf's vunmap callback to
use struct dma_buf_map. The interfaces used to receive a buffer address.
This address is now given in an instance of the structure.

Users of the functions are updated accordingly. This is only an interface
change. It is currently expected that dma-buf memory can be accessed with
system memory load/store operations.

v2:
	* include dma-buf-heaps and i915 selftests (kernel test robot)
	* initialize cma_obj before using it in drm_gem_cma_free_object()
	  (kernel test robot)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sumit Semwal <sumit.semwal@linaro.org>
Acked-by: Christian König <christian.koenig@amd.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Tomasz Figa <tfiga@chromium.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200925115601.23955-4-tzimmermann@suse.de
2020-09-29 12:41:21 +02:00
..
cec cec-api: prevent leaking memory through hole in structure 2020-07-19 07:43:14 +02:00
common dma-buf: Use struct dma_buf_map in dma_buf_vunmap() interfaces 2020-09-29 12:41:21 +02:00
dvb-core treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
dvb-frontends treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
firewire media: firewire: Using uninitialized values in node_probe() 2020-07-04 11:57:10 +02:00
i2c media: max9286: Depend on OF_GPIO 2020-08-28 11:03:36 +02:00
mc media: media-request: Fix crash if memory allocation fails 2020-06-23 15:19:37 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
platform media fixes for v5.9-rc4 2020-09-03 08:22:16 -07:00
radio treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
rc media fixes for v5.9-rc4 2020-09-03 08:22:16 -07:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: vicodec: add missing v4l2_ctrl_request_hdl_put() 2020-08-27 09:30:20 +02:00
tuners treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
usb media: dib0700: Fix identation issue in dib8096_set_param_override() 2020-08-27 15:36:28 -05:00
v4l2-core media fixes for v5.9-rc4 2020-09-03 08:22:16 -07:00
Kconfig media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00