All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/2] Implement standard color keying properties for DRM planes
@ 2018-05-26 15:56 Dmitry Osipenko
  2018-05-26 15:56 ` [RFC PATCH v2 1/2] drm: Add generic colorkey properties Dmitry Osipenko
  2018-05-26 15:56 ` [RFC PATCH v2 2/2] drm/tegra: plane: Implement generic colorkey property for older Tegra's Dmitry Osipenko
  0 siblings, 2 replies; 30+ messages in thread
From: Dmitry Osipenko @ 2018-05-26 15:56 UTC (permalink / raw)
  To: Laurent Pinchart, Ville Syrjälä,
	Thierry Reding, Neil Armstrong, Maxime Ripard, dri-devel
  Cc: linux-media, linux-renesas-soc, Alexandru Gheorghe, Russell King,
	Ben Skeggs, Sinclair Yeh, Thomas Hellstrom, Jani Nikula,
	Joonas Lahtinen, Rodrigo Vivi, linux-tegra, linux-kernel

Hello, DRM maintainers!

Laurent Pinchart kindly agreed to allow me to pick up his work on
the generic colorkey DRM plane property [0]. I've reworked the original
patch a tad, hopefully making it flexible enough to cover various HW
capabilities.

Changes I've made:

	- Some code clean up and reshuffle.

	- Took into account some the Ville's Syrjälä review comments to [0].

	- The number of common DRM colorkey properties grows from 4 to 9.
	  New properties:
		- colorkey.mask
		- colorkey.format
		- colorkey.inverted-match
		- colorkey.replacement-mask
		- colorkey.replacement-format

	  Renamed properties:
		- colorkey.value -> colorkey.replacement-value

	- colorkey.mode userspace-property ENUM's got a bit more explicit
	  names, like "src" -> "src-match-src-replace".

	- No driver-specific modes / properties allowed, all unsupported
	  features are simply rejected by the drivers.

This patchset includes initial colorkey property implementation for the
older NVIDIA Tegra's.

Please review, thanks.

[0] https://lists.freedesktop.org/archives/dri-devel/2017-December/160510.html

Dmitry Osipenko (2):
  drm: Add generic colorkey properties
  drm/tegra: plane: Implement generic colorkey property for older
    Tegra's

 drivers/gpu/drm/drm_atomic.c  |  36 ++++++
 drivers/gpu/drm/drm_blend.c   | 229 ++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/tegra/dc.c    |  31 +++++
 drivers/gpu/drm/tegra/dc.h    |   7 ++
 drivers/gpu/drm/tegra/plane.c | 147 ++++++++++++++++++++++
 drivers/gpu/drm/tegra/plane.h |   1 +
 include/drm/drm_blend.h       |   3 +
 include/drm/drm_plane.h       |  77 ++++++++++++
 8 files changed, 531 insertions(+)

-- 
2.17.0

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

end of thread, other threads:[~2018-06-20 12:20 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-26 15:56 [RFC PATCH v2 0/2] Implement standard color keying properties for DRM planes Dmitry Osipenko
2018-05-26 15:56 ` [RFC PATCH v2 1/2] drm: Add generic colorkey properties Dmitry Osipenko
2018-05-26 16:16   ` Laurent Pinchart
2018-05-26 16:16     ` Laurent Pinchart
2018-05-26 16:18     ` Laurent Pinchart
2018-05-26 16:18       ` Laurent Pinchart
2018-05-26 16:29       ` Dmitry Osipenko
2018-05-26 16:27     ` Dmitry Osipenko
2018-05-28 13:15   ` Ville Syrjälä
2018-05-28 13:15     ` Ville Syrjälä
2018-05-28 13:15     ` Ville Syrjälä
2018-05-28 23:48     ` Dmitry Osipenko
2018-05-28 23:58       ` Dmitry Osipenko
2018-05-29  7:11       ` Ville Syrjälä
2018-05-29  7:11         ` Ville Syrjälä
2018-05-29  7:11         ` Ville Syrjälä
2018-06-19 17:40         ` Russell King - ARM Linux
2018-06-19 17:40           ` Russell King - ARM Linux
2018-06-20  9:17           ` Daniel Vetter
2018-06-20  9:17             ` Daniel Vetter
2018-06-20  9:17             ` Daniel Vetter
2018-06-20  9:33             ` Russell King - ARM Linux
2018-06-20 10:10               ` Daniel Vetter
2018-06-20 10:10                 ` Daniel Vetter
2018-06-20 12:20                 ` Dmitry Osipenko
2018-06-20 12:20           ` Dmitry Osipenko
2018-05-29  7:17   ` Ville Syrjälä
2018-05-29  7:17     ` Ville Syrjälä
2018-06-02 22:56     ` Dmitry Osipenko
2018-05-26 15:56 ` [RFC PATCH v2 2/2] drm/tegra: plane: Implement generic colorkey property for older Tegra's Dmitry Osipenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.