linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/3] drm: Introduce writeback connectors
@ 2018-02-28 16:50 Liviu Dudau
  2018-02-28 16:50 ` [PATCH v6 1/3] drm: Add writeback connector type Liviu Dudau
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Liviu Dudau @ 2018-02-28 16:50 UTC (permalink / raw)
  To: DRI-devel
  Cc: Daniel Vetter, Sean Paul, David Airlie, Gustavo Padovan,
	Maarten Lankhorst, Rob Clark, Boris Brezillon, LKML,
	Brian Starkey, Mali DP Maintainers

Hi,

This is v6 of the writeback connector series. Based on renewed
interest in the feature and recent efforts from Rob Clark I'm
refreshing the series to address some comments and feedback.

Main changes are to incorporate Rob Clark's atomic_commit() vfunc
for the connector helper funcs, change the signature of the
create_writeback_properties() function to return the error code
rather than a boolean false and making sure that the writeback job
doesn't get freed in the cleanup_work() function but when the
connector state gets discarded.

Additionally, based on Sean Paul's comments, I'm providing the
3rd patch in the series that adds a client cap for exposing the
writeback connectors to userspace. The idea was initially considered
unnecessary by Daniel Vetter here [1] but Sean thinks it is useful.
Note that the patch depends on the cleanup patch [2] sent earlier.


Comments are welcome on the suitability of this series.

Best regards,
Liviu


[1] https://lists.freedesktop.org/archives/dri-devel/2016-October/120519.html
[2] https://lists.freedesktop.org/archives/dri-devel/2018-February/167677.html

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             | 227 ++++++++++++++++++-
 drivers/gpu/drm/drm_atomic_helper.c      |  30 +++
 drivers/gpu/drm/drm_connector.c          |   4 +-
 drivers/gpu/drm/drm_ioctl.c              |   5 +
 drivers/gpu/drm/drm_mode_config.c        |   5 +
 drivers/gpu/drm/drm_writeback.c          | 360 +++++++++++++++++++++++++++++++
 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              | 129 +++++++++++
 include/uapi/drm/drm.h                   |   9 +
 include/uapi/drm/drm_mode.h              |   1 +
 16 files changed, 835 insertions(+), 11 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_writeback.c
 create mode 100644 include/drm/drm_writeback.h

-- 
2.16.2

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

end of thread, other threads:[~2018-02-28 16:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-28 16:50 [PATCH v6 0/3] drm: Introduce writeback connectors Liviu Dudau
2018-02-28 16:50 ` [PATCH v6 1/3] drm: Add writeback connector type Liviu Dudau
2018-02-28 16:50 ` [PATCH v6 2/3] drm: writeback: Add out-fences for writeback connectors Liviu Dudau
2018-02-28 16:50 ` [PATCH v6 3/3] drm: writeback: Add client capability for exposing " Liviu Dudau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).