dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] drm/exynos: introduce generic zpos property
@ 2016-01-11 11:03 Marek Szyprowski
  2016-01-11 11:03 ` [PATCH v2 1/3] drm: add " Marek Szyprowski
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Marek Szyprowski @ 2016-01-11 11:03 UTC (permalink / raw)
  To: dri-devel, linux-samsung-soc
  Cc: Marek Szyprowski, Inki Dae, Daniel Vetter,
	Ville Syrjälä, Joonyoung Shim, Seung-Woo Kim,
	Andrzej Hajda, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz,
	Tobias Jakobi, Gustavo Padovan, Benjamin Gaignard, vincent.abriou,
	fabien.dessenne

Hello all,

This patch series is a continuation of rework of blending support in
Exynos DRM driver. Some background can be found here:
http://www.spinics.net/lists/dri-devel/msg96969.html

Daniel Vetter suggested that zpos property should be made generic, with
well-defined semantics. This patchset is my proposal for such generic
zpos property:
- added zpos properties to drm core and plane state structures,
- added helpers for normalizing zpos properties of given set of planes,
- well defined semantics: planes are sorted by zpos values and then plane
  id value if zpos equals.

Patches are based on top of latest exynos-drm-next branch.

Best regards
Marek Szyprowski
Samsung R&D Institute Poland

Changelog:

v2:
- dropped 2 fixes for Exynos DRM, which got merged in meantime
- added more comments and kernel docs for core functions as suggested
  by Daniel Vetter
- reworked initialization of zpos properties (moved assiging property
  class to common code), now the code in the driver is even simpler
- while reworking of intialization of zpos property code, did the same
  change to generic rotation property

v1: http://www.spinics.net/lists/dri-devel/msg97709.html
- initial version

Patch summary:

Marek Szyprowski (3):
  drm: add generic zpos property
  drm/exynos: use generic code for managing zpos plane property
  drm: simplify initialization of rotation property

 Documentation/DocBook/gpu.tmpl                  | 14 ++++-
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 10 ++--
 drivers/gpu/drm/drm_atomic.c                    |  4 ++
 drivers/gpu/drm/drm_atomic_helper.c             | 45 +++++++++++++++
 drivers/gpu/drm/drm_crtc.c                      | 73 +++++++++++++++++++++++--
 drivers/gpu/drm/exynos/exynos_drm_drv.h         |  1 -
 drivers/gpu/drm/exynos/exynos_drm_plane.c       | 66 +++++-----------------
 drivers/gpu/drm/exynos/exynos_mixer.c           | 19 ++++++-
 drivers/gpu/drm/i915/intel_display.c            |  6 +-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c       |  3 +-
 drivers/gpu/drm/omapdrm/omap_drv.c              |  3 +-
 include/drm/drm_atomic_helper.h                 |  2 +
 include/drm/drm_crtc.h                          | 16 +++++-
 13 files changed, 182 insertions(+), 80 deletions(-)

-- 
1.9.2

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

end of thread, other threads:[~2016-01-12 10:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-11 11:03 [PATCH v2 0/3] drm/exynos: introduce generic zpos property Marek Szyprowski
2016-01-11 11:03 ` [PATCH v2 1/3] drm: add " Marek Szyprowski
2016-01-11 15:14   ` Daniel Vetter
2016-01-11 11:03 ` [PATCH v2 2/3] drm/exynos: use generic code for managing zpos plane property Marek Szyprowski
2016-01-11 15:13   ` Daniel Vetter
2016-01-12  9:34     ` Marek Szyprowski
2016-01-12 10:39       ` Daniel Vetter
2016-01-11 11:03 ` [PATCH v2 3/3] drm: simplify initialization of rotation property Marek Szyprowski

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