Re: [PATCH 0/5] drm/gem: Add drm_gem_object_funcs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Den 10.11.2018 15.56, skrev Noralf Trønnes:
This patchset adds a GEM object function table and makes use of it in
the CMA helper.

This was originally part of a shmem helper series[1] that didn't make
it. Daniel and Christian showed interest in the vtable part so I have
hooked it up to some refactoring in tinydrm in order to have a user. The
tinydrm refactoring is part of a long term plan to get rid of
tinydrm.ko.

Noralf.

[1] https://patchwork.freedesktop.org/series/27184/

Noralf Trønnes (5):
   drm/driver: Add defaults for .gem_prime_export/import callbacks
   drm/prime: Add drm_gem_prime_mmap()
   drm/gem: Add drm_gem_object_funcs
   drm/cma-helper: Add DRM_GEM_CMA_VMAP_DRIVER_OPS
   drm/tinydrm: Use DRM_GEM_CMA_VMAP_DRIVER_OPS


Applied to drm-misc-next. Thanks for ack and review.

Noralf.

  Documentation/gpu/todo.rst                     |  13 +++
  drivers/gpu/drm/drm_client.c                   |  12 +--
  drivers/gpu/drm/drm_gem.c                      | 109 ++++++++++++++++++--
  drivers/gpu/drm/drm_gem_cma_helper.c           |  86 ++++++++++++++++
  drivers/gpu/drm/drm_prime.c                    |  79 +++++++++++----
  drivers/gpu/drm/tinydrm/core/tinydrm-core.c    |  71 --------------
  drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c |   6 ++
  drivers/gpu/drm/tinydrm/hx8357d.c              |   4 +-
  drivers/gpu/drm/tinydrm/ili9225.c              |   5 +-
  drivers/gpu/drm/tinydrm/ili9341.c              |   4 +-
  drivers/gpu/drm/tinydrm/mi0283qt.c             |   6 +-
  drivers/gpu/drm/tinydrm/mipi-dbi.c             |  10 +-
  drivers/gpu/drm/tinydrm/repaper.c              |   4 +-
  drivers/gpu/drm/tinydrm/st7586.c               |   5 +-
  drivers/gpu/drm/tinydrm/st7735r.c              |   4 +-
  include/drm/drm_drv.h                          |   4 +
  include/drm/drm_gem.h                          | 131 +++++++++++++++++++++++++
  include/drm/drm_gem_cma_helper.h               |  24 +++++
  include/drm/drm_prime.h                        |   1 +
  include/drm/tinydrm/tinydrm.h                  |  35 ++-----
  20 files changed, 462 insertions(+), 151 deletions(-)

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux