mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/vkms: guard the empty-plane path, re-enable the cursor CRC tests
@ 2026-12-02 10:11 Oarora Etimis
  2026-12-02 10:11 ` [PATCH 1/2] drm/ci: re-enable the vkms " Oarora Etimis
  2026-12-02 10:11 ` [PATCH 2/2] drm/vkms: skip planes that have no framebuffer Oarora Etimis
  0 siblings, 2 replies; 3+ messages in thread
From: Oarora Etimis @ 2026-12-02 10:11 UTC (permalink / raw)
  To: Louis Chauvet, Haneen Mohammed, Simona Vetter, Melissa Wen,
	Oarora Etimis, Helen Koike, Vignesh Raman, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, David Airlie
  Cc: dri-devel, linux-kernel

69c0d83f0eea skipped kms_cursor_crc after a panic in
compose_active_planes(). The three subtests pass now on 6.18.63,
drm-misc-next and a vng run on 7.4.0-rc2, so the skip is stale.

Patch 1 drops the skip and the expected failures. Patch 2 keeps planes
without a framebuffer out of active_planes, so a later change cannot
bring that state back.

---
Oarora Etimis (2):
      drm/ci: re-enable the vkms cursor CRC tests
      drm/vkms: skip planes that have no framebuffer

 drivers/gpu/drm/ci/xfails/vkms-none-fails.txt | 3 ---
 drivers/gpu/drm/ci/xfails/vkms-none-skips.txt | 1 -
 drivers/gpu/drm/vkms/vkms_crtc.c              | 4 ++--
 3 files changed, 2 insertions(+), 6 deletions(-)
---
base-commit: 5ce32a0c94a827ff44ee60898c28060714dcff75
change-id: 20261130-vkms-cursor-ci-94264c8f9f46

Best regards,
--  
Oarora Etimis <oaroraetimis@gmail.com>


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

* [PATCH 1/2] drm/ci: re-enable the vkms cursor CRC tests
  2026-12-02 10:11 [PATCH 0/2] drm/vkms: guard the empty-plane path, re-enable the cursor CRC tests Oarora Etimis
@ 2026-12-02 10:11 ` Oarora Etimis
  2026-12-02 10:11 ` [PATCH 2/2] drm/vkms: skip planes that have no framebuffer Oarora Etimis
  1 sibling, 0 replies; 3+ messages in thread
From: Oarora Etimis @ 2026-12-02 10:11 UTC (permalink / raw)
  To: Louis Chauvet, Haneen Mohammed, Simona Vetter, Melissa Wen,
	Oarora Etimis, Helen Koike, Vignesh Raman, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, David Airlie
  Cc: dri-devel, linux-kernel

Both 6.18.63 and drm-misc-next pass the three subtests now, so drop the
skip and the three expected failures.

Signed-off-by: Oarora Etimis <oaroraetimis@gmail.com>
---
 drivers/gpu/drm/ci/xfails/vkms-none-fails.txt | 3 ---
 drivers/gpu/drm/ci/xfails/vkms-none-skips.txt | 1 -
 2 files changed, 4 deletions(-)

diff --git a/drivers/gpu/drm/ci/xfails/vkms-none-fails.txt b/drivers/gpu/drm/ci/xfails/vkms-none-fails.txt
index 029bd4956e85..83346e60e211 100644
--- a/drivers/gpu/drm/ci/xfails/vkms-none-fails.txt
+++ b/drivers/gpu/drm/ci/xfails/vkms-none-fails.txt
@@ -1,6 +1,3 @@
-kms_cursor_crc@cursor-rapid-movement-256x85,Fail
-kms_cursor_crc@cursor-rapid-movement-32x10,Fail
-kms_cursor_crc@cursor-rapid-movement-64x64,Fail
 kms_cursor_legacy@basic-flip-before-cursor-atomic,Fail
 kms_cursor_legacy@basic-flip-before-cursor-legacy,Fail
 kms_cursor_legacy@cursor-vs-flip-atomic,Fail
diff --git a/drivers/gpu/drm/ci/xfails/vkms-none-skips.txt b/drivers/gpu/drm/ci/xfails/vkms-none-skips.txt
index afcc09d1683d..e44157445276 100644
--- a/drivers/gpu/drm/ci/xfails/vkms-none-skips.txt
+++ b/drivers/gpu/drm/ci/xfails/vkms-none-skips.txt
@@ -3,7 +3,6 @@ kms_invalid_mode@int-max-clock
 kms_invalid_mode@overflow-vrefresh
 
 # kernel panic seen with kms_cursor_crc tests
-kms_cursor_crc.*
 # kms_cursor_crc@cursor-rapid-movement-32x10
 # Oops: 0000 [#1] PREEMPT SMP NOPTI
 # CPU: 0 PID: 2635 Comm: kworker/u8:13 Not tainted 6.9.0-rc7-g40935263a1fd #1

-- 
2.56.1


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

* [PATCH 2/2] drm/vkms: skip planes that have no framebuffer
  2026-12-02 10:11 [PATCH 0/2] drm/vkms: guard the empty-plane path, re-enable the cursor CRC tests Oarora Etimis
  2026-12-02 10:11 ` [PATCH 1/2] drm/ci: re-enable the vkms " Oarora Etimis
@ 2026-12-02 10:11 ` Oarora Etimis
  1 sibling, 0 replies; 3+ messages in thread
From: Oarora Etimis @ 2026-12-02 10:11 UTC (permalink / raw)
  To: Louis Chauvet, Haneen Mohammed, Simona Vetter, Melissa Wen,
	Oarora Etimis, Helen Koike, Vignesh Raman, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, David Airlie
  Cc: dri-devel, linux-kernel

A visible plane with no framebuffer has no mapping, so check_iosys_map()
rejects the whole frame. Leave such planes out of active_planes.

Signed-off-by: Oarora Etimis <oaroraetimis@gmail.com>
---
 drivers/gpu/drm/vkms/vkms_crtc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/vkms/vkms_crtc.c b/drivers/gpu/drm/vkms/vkms_crtc.c
index 019d7bc90cdc..3f98fac7ce92 100644
--- a/drivers/gpu/drm/vkms/vkms_crtc.c
+++ b/drivers/gpu/drm/vkms/vkms_crtc.c
@@ -133,7 +133,7 @@ static int vkms_crtc_atomic_check(struct drm_crtc *crtc,
 		plane_state = drm_atomic_get_new_plane_state(crtc_state->state, plane);
 		WARN_ON(!plane_state);
 
-		if (!plane_state->visible)
+		if (!plane_state->visible || !plane_state->fb)
 			continue;
 
 		i++;
@@ -148,7 +148,7 @@ static int vkms_crtc_atomic_check(struct drm_crtc *crtc,
 	drm_for_each_plane_mask(plane, crtc->dev, crtc_state->plane_mask) {
 		plane_state = drm_atomic_get_new_plane_state(crtc_state->state, plane);
 
-		if (!plane_state->visible)
+		if (!plane_state->visible || !plane_state->fb)
 			continue;
 
 		vkms_state->active_planes[i++] =

-- 
2.56.1


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

end of thread, other threads:[~2026-12-02 10:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-02 10:11 [PATCH 0/2] drm/vkms: guard the empty-plane path, re-enable the cursor CRC tests Oarora Etimis
2026-12-02 10:11 ` [PATCH 1/2] drm/ci: re-enable the vkms " Oarora Etimis
2026-12-02 10:11 ` [PATCH 2/2] drm/vkms: skip planes that have no framebuffer Oarora Etimis

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®