]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm: mali-dp: Add writeback connector
authorBrian Starkey <brian.starkey@arm.com>
Thu, 2 Nov 2017 16:49:51 +0000 (16:49 +0000)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Thu, 5 Jul 2018 14:19:03 +0000 (15:19 +0100)
commit8cbc5caf36ef7a299b5cbedf55f27fd898d700bf
tree4cbd93fbd445f1b6072dfd8b4b0c7d7ec66abe35
parent09368e32a97587d4e118b800c206b4c86b4db845
drm: mali-dp: Add writeback connector

Mali-DP has a memory writeback engine which can be used to write the
composition result to a memory buffer. Expose this functionality as a
DRM writeback connector on supported hardware.

Changes since v1:
 Daniel Vetter:
 - Don't require a modeset when writeback routing changes
 - Make writeback connector always disconnected

Changes since v2:
 - Rebase onto new drm_writeback_connector
 - Add reset callback, allocating subclassed state
 Daniel Vetter:
 - Squash out-fence support into this commit
 Gustavo Padovan:
 - Don't signal fence directly from driver (and drop malidp_mw_job)

Changes since v3:
 - Modifications to fit with Mali-DP commit tail changes

Signed-off-by: Brian Starkey <brian.starkey@arm.com>
[rebased and fixed conflicts]
Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/Makefile
drivers/gpu/drm/arm/malidp_crtc.c
drivers/gpu/drm/arm/malidp_drv.c
drivers/gpu/drm/arm/malidp_drv.h
drivers/gpu/drm/arm/malidp_hw.c
drivers/gpu/drm/arm/malidp_mw.c [new file with mode: 0644]
drivers/gpu/drm/arm/malidp_mw.h [new file with mode: 0644]
drivers/gpu/drm/drm_atomic.c