All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] drm/fb-helper: Use drm_file to get a dumb framebuffer
@ 2017-09-11 14:31 Noralf Trønnes
  2017-09-11 14:31 ` [PATCH 1/8] drm: provide management functions for drm_file Noralf Trønnes
                   ` (10 more replies)
  0 siblings, 11 replies; 19+ messages in thread
From: Noralf Trønnes @ 2017-09-11 14:31 UTC (permalink / raw)
  To: dri-devel
  Cc: daniel.vetter, intel-gfx, Noralf Trønnes, laurent.pinchart,
	dh.herrmann

Hi,

I want to start out by saying that this patchset is low priority for me
and if no one has interest or time to review this, that is just fine. I
was in the flow and just typed it out.

This patchset adds a way for fbdev emulation code to create a
framebuffer that is backed by a dumb buffer. drm_fb_helper gets a
drm_file to hang the objects on, drm_framebuffer_create_dumb() creates
the framebuffer and drm_fb_helper_fini() destroys it.
I have verified that all cma drivers supports dumb buffers, so
converting the library should be fine for all.

A patch by David Herrmann from a year ago made this easy. It was the
last piece in his work to make it possible to create a drm_file for
in-kernel use, but it never got merged.

I've cc'ed intel-gfx since that will give CI runs of the core patches if
I understood Daniel right.

Noralf.

David Herrmann (1):
  drm: provide management functions for drm_file

Noralf Trønnes (7):
  drm/framebuffer: Add drm_framebuffer_create_dumb()
  drm/auth: Export drm_dropmaster_ioctl()
  drm/fb-helper: Allocate a drm_file
  drm/fb-cma-helper: Use drm_framebuffer_create_dumb()
  drm/fb-cma-helper: Drop unnecessary fbdev buffer offset
  drm/tinydrm: Use drm_fbdev_cma_init()
  drm/fb-cma-helper: Remove drm_fbdev_cma_init_with_funcs()

 drivers/gpu/drm/drm_auth.c                  |   1 +
 drivers/gpu/drm/drm_fb_cma_helper.c         | 111 ++--------
 drivers/gpu/drm/drm_fb_helper.c             |  22 +-
 drivers/gpu/drm/drm_file.c                  | 323 ++++++++++++++++------------
 drivers/gpu/drm/drm_framebuffer.c           |  61 ++++++
 drivers/gpu/drm/drm_internal.h              |   2 -
 drivers/gpu/drm/tinydrm/core/tinydrm-core.c |   5 +-
 include/drm/drm_auth.h                      |   2 +
 include/drm/drm_fb_helper.h                 |   9 +
 include/drm/drm_file.h                      |   2 +
 include/drm/drm_framebuffer.h               |   4 +
 11 files changed, 305 insertions(+), 237 deletions(-)

-- 
2.7.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2017-09-17  1:40 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-11 14:31 [PATCH 0/8] drm/fb-helper: Use drm_file to get a dumb framebuffer Noralf Trønnes
2017-09-11 14:31 ` [PATCH 1/8] drm: provide management functions for drm_file Noralf Trønnes
2017-09-11 14:31 ` [PATCH 2/8] drm/framebuffer: Add drm_framebuffer_create_dumb() Noralf Trønnes
2017-09-11 14:31 ` [PATCH 3/8] drm/auth: Export drm_dropmaster_ioctl() Noralf Trønnes
2017-09-11 14:31 ` [PATCH 4/8] drm/fb-helper: Allocate a drm_file Noralf Trønnes
2017-09-17  1:40   ` [lkp-robot] [drm/fb] a583bc678d: WARNING:at_kernel/workqueue.c:#flush_workqueue kernel test robot
2017-09-17  1:40     ` kernel test robot
2017-09-11 14:31 ` [PATCH 5/8] drm/fb-cma-helper: Use drm_framebuffer_create_dumb() Noralf Trønnes
2017-09-11 14:32 ` [PATCH 6/8] drm/fb-cma-helper: Drop unnecessary fbdev buffer offset Noralf Trønnes
2017-09-11 14:32 ` [PATCH 7/8] drm/tinydrm: Use drm_fbdev_cma_init() Noralf Trønnes
2017-09-11 14:32 ` [PATCH 8/8] drm/fb-cma-helper: Remove drm_fbdev_cma_init_with_funcs() Noralf Trønnes
2017-09-11 14:51 ` ✓ Fi.CI.BAT: success for drm/fb-helper: Use drm_file to get a dumb framebuffer Patchwork
2017-09-11 18:39 ` ✓ Fi.CI.IGT: " Patchwork
2017-09-13  5:09 ` [PATCH 0/8] " Laurent Pinchart
2017-09-13 15:19   ` Noralf Trønnes
2017-09-14 22:29     ` Laurent Pinchart
2017-09-15 16:37       ` Noralf Trønnes
2017-09-16 12:37         ` Noralf Trønnes
2017-09-16 14:45           ` Noralf Trønnes

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.