[Intel-gfx] [PATCH v5 0/8] drm: Add generic fbdev emulation
Noralf Trønnes
noralf at tronnes.org
Tue Jul 10 13:10:55 UTC 2018
Den 03.07.2018 18.03, skrev Noralf Trønnes:
> This patchset adds generic fbdev emulation for drivers that supports GEM
> based dumb buffers which support .gem_prime_vmap and gem_prime_mmap. An
> API is begun to support in-kernel clients in general.
>
> I've squashed the client patches to ease review.
> All patches have ack's and rb's so I'll apply this next week unless
> something more comes up. It's taken me 6 months to get this done so I
> look forward to getting it applied.
>
> Thanks a lot Daniel for helping me make this happen!
>
> Noralf.
>
> Changes since version 4:
> - Squash the two client patches to ease review.
> - Remove drm_client_put() doc references.
> - Remove drm_client_funcs->release, it's use went away in version 3.
> - Add drm_client_dev_hotplug() doc
>
> Changes since version 3:
> - drm/cma-helper: Use the generic fbdev emulation: Fix error path
> - Remove setting .lastclose in new tinydrm driver ili9341
>
> Changes since version 2:
> - Applied first 3 patches to drm-misc-next
> - Drop client reference counting and only allow the driver to release
> clients.
>
> Noralf Trønnes (8):
> drm: Begin an API for in-kernel clients
> drm/fb-helper: Add generic fbdev emulation .fb_probe function
> drm/pl111: Set .gem_prime_vmap and .gem_prime_mmap
> drm/cma-helper: Use the generic fbdev emulation
> drm/debugfs: Add internal client debugfs file
> drm/fb-helper: Finish the generic fbdev emulation
> drm/tinydrm: Use drm_fbdev_generic_setup()
> drm/cma-helper: Remove drm_fb_cma_fbdev_init_with_funcs()
Series applied to drm-misc, thanks for reviewing.
Noralf.
> Documentation/gpu/drm-client.rst | 12 +
> Documentation/gpu/index.rst | 1 +
> drivers/gpu/drm/Makefile | 2 +-
> drivers/gpu/drm/drm_client.c | 415 ++++++++++++++++++++++++++++
> drivers/gpu/drm/drm_debugfs.c | 7 +
> drivers/gpu/drm/drm_drv.c | 8 +
> drivers/gpu/drm/drm_fb_cma_helper.c | 379 +++----------------------
> drivers/gpu/drm/drm_fb_helper.c | 316 ++++++++++++++++++++-
> drivers/gpu/drm/drm_file.c | 3 +
> drivers/gpu/drm/drm_probe_helper.c | 3 +
> drivers/gpu/drm/pl111/pl111_drv.c | 2 +
> drivers/gpu/drm/tinydrm/core/tinydrm-core.c | 3 +-
> drivers/gpu/drm/tinydrm/ili9225.c | 1 -
> drivers/gpu/drm/tinydrm/ili9341.c | 1 -
> drivers/gpu/drm/tinydrm/mi0283qt.c | 1 -
> drivers/gpu/drm/tinydrm/st7586.c | 1 -
> drivers/gpu/drm/tinydrm/st7735r.c | 1 -
> include/drm/drm_client.h | 139 ++++++++++
> include/drm/drm_device.h | 21 ++
> include/drm/drm_fb_cma_helper.h | 6 -
> include/drm/drm_fb_helper.h | 38 +++
> 21 files changed, 1007 insertions(+), 353 deletions(-)
> create mode 100644 Documentation/gpu/drm-client.rst
> create mode 100644 drivers/gpu/drm/drm_client.c
> create mode 100644 include/drm/drm_client.h
>
More information about the Intel-gfx
mailing list