[PATCH 00/14] drm/exynos: cleanup and update gem/dma-buf

Joonyoung Shim jy0922.shim at samsung.com
Tue Jul 28 01:52:48 PDT 2015


This patchset improves gem and dma-buf codes of exynos drm.

Major changes:

- remove needless using sg table.
- use prime helpers instead of exynos specific dma-buf functions.
- merge struct exynos_drm_gem_buf in struct exynos_drm_gem.
- remove simple functions.
- cleanup.

Thanks.

Joonyoung Shim (14):
      drm/exynos: stop using sgtable in page fault handler
      drm/exynos: remove function convert_to_vm_err_msg
      drm/exynos: remove mutex locking in pagefault handler
      drm/exynos: remove function exynos_drm_gem_map_buf
      drm/exynos: stop copying sg table
      drm/exynos: remove unused fields of struct exynos_drm_gem_buf
      drm/exynos: use ERR_PTR instead of NULL in exynos_drm_gem_init
      drm/exynos: create a fake mmap offset with gem creation
      drm/exynos: remove call to drm_gem_free_mmap_offset()
      drm/exynos: remove function check_gem_flags
      drm/exynos: remove function update_vm_cache_attr
      drm/exynos: remove function roundup_gem_size
      drm/exynos: use prime helpers
      drm/exynos: merge exynos_drm_buf.c to exynos_drm_gem.c

 drivers/gpu/drm/exynos/Makefile            |   3 +-
 drivers/gpu/drm/exynos/exynos_drm_buf.c    | 186 ---------------
 drivers/gpu/drm/exynos/exynos_drm_buf.h    |  33 ---
 drivers/gpu/drm/exynos/exynos_drm_dmabuf.c | 286 ----------------------
 drivers/gpu/drm/exynos/exynos_drm_dmabuf.h |  20 --
 drivers/gpu/drm/exynos/exynos_drm_drv.c    |   9 +-
 drivers/gpu/drm/exynos/exynos_drm_fb.c     |  14 +-
 drivers/gpu/drm/exynos/exynos_drm_fb.h     |   4 +-
 drivers/gpu/drm/exynos/exynos_drm_fbdev.c  |  30 ++-
 drivers/gpu/drm/exynos/exynos_drm_gem.c    | 365 +++++++++++++++++------------
 drivers/gpu/drm/exynos/exynos_drm_gem.h    |  58 ++---
 drivers/gpu/drm/exynos/exynos_drm_plane.c  |  10 +-
 12 files changed, 277 insertions(+), 741 deletions(-)
 delete mode 100644 drivers/gpu/drm/exynos/exynos_drm_buf.c
 delete mode 100644 drivers/gpu/drm/exynos/exynos_drm_buf.h
 delete mode 100644 drivers/gpu/drm/exynos/exynos_drm_dmabuf.c
 delete mode 100644 drivers/gpu/drm/exynos/exynos_drm_dmabuf.h


More information about the dri-devel mailing list