[RFC PATCH v2 0/2] Implement standard color keying properties for DRM planes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux