mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v10 0/3] drm: Introduce writeback connectors
@ 2018-06-12 13:52 Liviu Dudau
  2018-06-12 13:52 ` [PATCH v10 1/3] drm: Add writeback connector type Liviu Dudau
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Liviu Dudau @ 2018-06-12 13:52 UTC (permalink / raw)
  To: Gustavo Padovan
  Cc: Maarten Lankhorst, Sean Paul, Jonathan Corbet, dri-devel,
	linux-kernel, David Airlie, Brian Starkey,
	Alexandru-Cosmin Gheorghe, Eric Anholt, Boris Brezillon,
	Maxime Ripard, Daniel Stone, Rob Clark

Hi,

This is v10 of the writeback connector series. Compared to v9 I've
reverted to the v6 way of cleaning up the writeback job in the cleanup_work()
function, where we also drop the reference to the job's framebuffer. I was
trying to come up with a reference counted implementation for the job, but
Sean Paul pointed out to Brian that it seems to be safe to free work_struct
structures in the workqueue callback, so we are going back to the original
implementation.

While doing that, I've also updated the patcheset to use the latest
drm_framebuffer_{put,get,assign} functions for managing the framebuffer
reference that the wriback job holds.

I will ask Gustavo to pull this series into drm-misc if there are no further
comments.

Best regards,
Liviu

Brian Starkey (2):
  drm: Add writeback connector type
  drm: writeback: Add out-fences for writeback connectors

Liviu Dudau (1):
  drm: writeback: Add client capability for exposing writeback
    connectors

 Documentation/gpu/drm-kms.rst            |   9 +
 drivers/gpu/drm/Makefile                 |   2 +-
 drivers/gpu/drm/drm_atomic.c             | 223 ++++++++++++++-
 drivers/gpu/drm/drm_atomic_helper.c      |  25 ++
 drivers/gpu/drm/drm_connector.c          |   4 +-
 drivers/gpu/drm/drm_ioctl.c              |   7 +
 drivers/gpu/drm/drm_mode_config.c        |   5 +
 drivers/gpu/drm/drm_writeback.c          | 350 +++++++++++++++++++++++
 include/drm/drm_atomic.h                 |  11 +
 include/drm/drm_connector.h              |  13 +
 include/drm/drm_file.h                   |   7 +
 include/drm/drm_mode_config.h            |  23 ++
 include/drm/drm_modeset_helper_vtables.h |  11 +
 include/drm/drm_writeback.h              | 130 +++++++++
 include/uapi/drm/drm.h                   |   9 +
 include/uapi/drm/drm_mode.h              |   1 +
 16 files changed, 819 insertions(+), 11 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_writeback.c
 create mode 100644 include/drm/drm_writeback.h

-- 
2.17.1


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

end of thread, other threads:[~2018-06-13 10:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-12 13:52 [PATCH v10 0/3] drm: Introduce writeback connectors Liviu Dudau
2018-06-12 13:52 ` [PATCH v10 1/3] drm: Add writeback connector type Liviu Dudau
2018-06-12 13:52 ` [PATCH v10 2/3] drm: writeback: Add out-fences for writeback connectors Liviu Dudau
2018-06-12 13:52 ` [PATCH v10 3/3] drm: writeback: Add client capability for exposing " Liviu Dudau
2018-06-13 10:26   ` Brian Starkey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®