diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2021-06-24 11:55:02 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2021-10-21 12:46:23 +0200 |
commit | f8b5307074f8be80a9806d85b01e5ba933dd0360 (patch) | |
tree | 109c1994f2edba707f8efb54b61e8f656ae234c3 /include/linux/dma-buf.h | |
parent | a3c09a02ef9f7d77c35c8bdcf91a97de6784d2f5 (diff) |
drm/rockchip: Implement mmap as GEM object function
Moving the driver-specific mmap code into a GEM object function allows
for using DRM helpers for various mmap callbacks.
The respective rockchip functions are being removed. The file_operations
structure fops is now being created by the helper macro
DEFINE_DRM_GEM_FOPS().
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
[On rk3288 (pinky), rk3399 (gru-kevin, puma) and rk3328 (rock64)]
Tested-by: Heiko Stuebner <heiko@sntech.de>
[On RK3188/RK3066 (without iommu)]
Tested-by: Alex Bee <knaerzche@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210624095502.8945-1-tzimmermann@suse.de
Diffstat (limited to 'include/linux/dma-buf.h')
0 files changed, 0 insertions, 0 deletions