The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v2 0/4] drm: zynqmp: Make the video plane primary
@ 2026-01-06 16:42 Sean Anderson
  2026-01-06 16:42 ` [PATCH v2 1/4] drm/drm_blend: Allow specifying blend mode default Sean Anderson
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Sean Anderson @ 2026-01-06 16:42 UTC (permalink / raw)
  To: Laurent Pinchart, Tomi Valkeinen, dri-devel
  Cc: Simona Vetter, Thomas Zimmermann, linux-kernel, Maxime Ripard,
	David Airlie, linux-arm-kernel, Michal Simek, Anatoliy Klymenko,
	Maarten Lankhorst, Mike Looijmans, Sean Anderson

The graphics plane does not support XRGB8888, which is the default mode
X uses for 24-bit color. Because of this, X must be set to use 16-bit
color, which has a measurable performance penalty. Make the video plane
the primary plane as it natively supports XRGB8888. An alternative
approach to add XRGB8888 to the graphics plane is discussed in [1], as
well as in patch 2.

[1] https://lore.kernel.org/dri-devel/20250627145058.6880-1-mike.looijmans@topic.nl/

Changes in v2:
- Allow specifying blend mode default
- Advertise coverage instead of premulti, since that's what the hardware
  supports.
- Set default blend mode to none since that's what the default was
  before this series.

Sean Anderson (4):
  drm/drm_blend: Allow specifying blend mode default
  drm: zynqmp: Check property creation status
  drm: zynqmp: Make the video plane primary
  drm: zynqmp: Add blend mode property to graphics plane

 drivers/gpu/drm/drm_blend.c       | 22 ++++++-------
 drivers/gpu/drm/xlnx/zynqmp_kms.c | 53 +++++++++++++++++++++++++------
 include/drm/drm_blend.h           | 26 +++++++++++++--
 3 files changed, 78 insertions(+), 23 deletions(-)

-- 
2.35.1.1320.gc452695387.dirty


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

end of thread, other threads:[~2026-01-22 13:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-06 16:42 [PATCH v2 0/4] drm: zynqmp: Make the video plane primary Sean Anderson
2026-01-06 16:42 ` [PATCH v2 1/4] drm/drm_blend: Allow specifying blend mode default Sean Anderson
2026-01-06 16:42 ` [PATCH v2 2/4] drm: zynqmp: Check property creation status Sean Anderson
2026-01-06 16:42 ` [PATCH v2 3/4] drm: zynqmp: Make the video plane primary Sean Anderson
2026-01-06 16:42 ` [PATCH v2 4/4] drm: zynqmp: Add blend mode property to graphics plane Sean Anderson
2026-01-22 13:48 ` [PATCH v2 0/4] drm: zynqmp: Make the video plane primary Tomi Valkeinen

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