mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/vkms: Fix plane blending z-order
@ 2025-08-01 14:43 Louis Chauvet
  2025-08-01 14:43 ` [PATCH 1/2] drm/vkms: Add zpos property to planes Louis Chauvet
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Louis Chauvet @ 2025-08-01 14:43 UTC (permalink / raw)
  To: Haneen Mohammed, Simona Vetter, Melissa Wen, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, David Airlie
  Cc: thomas.petazzoni, dri-devel, linux-kernel, Louis Chauvet

As reported by Marius [1], the current blending algorithm for vkms planes 
is not future-proof. Currently the z-ordering is only garanteed by the 
creation order. As the future ConfigFS interface will allows to create 
planes, this order may vary.

To avoid this, add the zpos property and blend the planes according to 
this zpos order.

[1]:https://lore.kernel.org/all/aHpGGxZyimpJ8Ehz@xpredator/

Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
---
Louis Chauvet (2):
      drm/vkms: Add zpos property to planes
      drm/vkms: Properly order plane for blending

 drivers/gpu/drm/vkms/vkms_crtc.c  | 26 ++++++++++++++++++++------
 drivers/gpu/drm/vkms/vkms_drv.c   |  1 +
 drivers/gpu/drm/vkms/vkms_plane.c | 12 ++++++++++++
 3 files changed, 33 insertions(+), 6 deletions(-)
---
base-commit: 82928cc1c2b2be16ea6ee9e23799ca182e1cd37c
change-id: 20250801-vkms-fix-zpos-1dc6a3f51a50

Best regards,
-- 
Louis Chauvet <louis.chauvet@bootlin.com>


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

end of thread, other threads:[~2025-09-01 15:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-01 14:43 [PATCH 0/2] drm/vkms: Fix plane blending z-order Louis Chauvet
2025-08-01 14:43 ` [PATCH 1/2] drm/vkms: Add zpos property to planes Louis Chauvet
2025-08-01 14:43 ` [PATCH 2/2] drm/vkms: Properly order plane for blending Louis Chauvet
2025-09-01 14:52 ` [PATCH 0/2] drm/vkms: Fix plane blending z-order José Expósito
2025-09-01 15:33   ` Louis Chauvet

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

all inboxes | Powered by JetHome®