[PATCH v10 0/3] drm: Introduce writeback connectors

Liviu Dudau Liviu.Dudau at arm.com
Tue Jun 12 13:52:30 UTC 2018


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



More information about the dri-devel mailing list