drm: add mmap() to drm_gem_object_funcs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drm: add mmap() to drm_gem_object_funcsdrivers/ include/ | +13 | 0 replies | |
| 2/3 | drm: switch shmem helper to drm_gem_object_funcs->mmapdrivers/ drivers/ drivers/ +1 more | +11 | 0 replies | |
| 3/3 | drm: drop DEFINE_DRM_GEM_SHMEM_FOPSdrivers/ drivers/ drivers/ +1 more | +3 | 0 replies | |
| 3/3 | drm: drop DEFINE_DRM_GEM_SHMEM_FOPSdrivers/ drivers/ drivers/ +1 more | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] drm: add mmap() to drm_gem_object_funcs
Add a new callback where drivers can handle mmap setup without having to override gem_driver->fops->mmap.
Switch shmem helper over as demo.
cheers,
Gerd
Gerd Hoffmann (3):
drm: add mmap() to drm_gem_object_funcs
drm: switch shmem helper to drm_gem_object_funcs->mmap
drm: drop DEFINE_DRM_GEM_SHMEM_FOPS
include/drm/drm_gem.h | 9 ++++++++ include/drm/drm_gem_shmem_helper.h | 28 +------------------------ drivers/gpu/drm/cirrus/cirrus.c | 2 +- drivers/gpu/drm/drm_gem.c | 4 ++++ drivers/gpu/drm/drm_gem_shmem_helper.c | 18 +++++++--------- drivers/gpu/drm/panfrost/panfrost_drv.c | 2 +- drivers/gpu/drm/panfrost/panfrost_gem.c | 1 + drivers/gpu/drm/v3d/v3d_bo.c | 1 + drivers/gpu/drm/v3d/v3d_drv.c | 2 +- 9 files changed, 26 insertions(+), 41 deletions(-)
Signature · 6 lines
2.18.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel