diff options
| author | Thomas Zimmermann <[email protected]> | 2021-06-24 09:55:02 +0000 |
|---|---|---|
| committer | Heiko Stuebner <[email protected]> | 2021-10-21 10:46:23 +0000 |
| commit | f8b5307074f8be80a9806d85b01e5ba933dd0360 (patch) | |
| tree | 109c1994f2edba707f8efb54b61e8f656ae234c3 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
| parent | drm/sun4i: virtual CMA addresses are not needed (diff) | |
| download | kernel-f8b5307074f8be80a9806d85b01e5ba933dd0360.tar.gz kernel-f8b5307074f8be80a9806d85b01e5ba933dd0360.zip | |
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 <[email protected]>
[On rk3288 (pinky), rk3399 (gru-kevin, puma) and rk3328 (rock64)]
Tested-by: Heiko Stuebner <[email protected]>
[On RK3188/RK3066 (without iommu)]
Tested-by: Alex Bee <[email protected]>
Signed-off-by: Heiko Stuebner <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions
