lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 16 Jan 2024 15:24:39 +0530
From: Vignesh Raman <vignesh.raman@...labora.com>
To: dri-devel@...ts.freedesktop.org
Cc: daniel@...ishbar.org,
	helen.koike@...labora.com,
	airlied@...il.com,
	daniel@...ll.ch,
	david.heidelberg@...labora.com,
	guilherme.gallo@...labora.com,
	sergi.blanch.torne@...labora.com,
	linux-mediatek@...ts.infradead.org,
	linux-rockchip@...ts.infradead.org,
	linux-amlogic@...ts.infradead.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH v2 7/7] drm/ci: rockchip: Add job to test panfrost GPU driver

For rockchip rk3288 and rk3399, the GPU driver is panfrost.
So add support in drm-ci to test panfrost driver for rockchip
SOC and update xfails.

Signed-off-by: Vignesh Raman <vignesh.raman@...labora.com>
---

v2:
  - Add panfrost GPU jobs for rockchip SOC with new xfails.

---
 drivers/gpu/drm/ci/test.yml                   | 14 ++++
 .../ci/xfails/panfrost-rk3288-gpu-fails.txt   | 54 +++++++++++++
 .../ci/xfails/panfrost-rk3288-gpu-skips.txt   | 52 +++++++++++++
 .../ci/xfails/panfrost-rk3399-gpu-fails.txt   | 75 +++++++++++++++++++
 .../ci/xfails/panfrost-rk3399-gpu-flakes.txt  |  7 ++
 .../ci/xfails/panfrost-rk3399-gpu-skips.txt   |  5 ++
 6 files changed, 207 insertions(+)
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-rk3288-gpu-fails.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-rk3288-gpu-skips.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-rk3399-gpu-fails.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-rk3399-gpu-flakes.txt
 create mode 100644 drivers/gpu/drm/ci/xfails/panfrost-rk3399-gpu-skips.txt

diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml
index c9ba58571882..4d44421ec510 100644
--- a/drivers/gpu/drm/ci/test.yml
+++ b/drivers/gpu/drm/ci/test.yml
@@ -175,6 +175,13 @@ msm:sdm845:
     KERNEL_IMAGE_TYPE: ""
     RUNNER_TAG: mesa-ci-x86-64-lava-rk3399-gru-kevin
 
+rockchip:rk3288-gpu:
+  extends:
+    - .rk3288
+  variables:
+    GPU_VERSION: rk3288-gpu
+    DRIVER_NAME: panfrost
+
 rockchip:rk3288-display:
   extends:
     - .rk3288
@@ -182,6 +189,13 @@ rockchip:rk3288-display:
     GPU_VERSION: rk3288-display
     DRIVER_NAME: rockchip
 
+rockchip:rk3399-gpu:
+  extends:
+    - .rk3399
+  variables:
+    GPU_VERSION: rk3399-gpu
+    DRIVER_NAME: panfrost
+
 rockchip:rk3399-display:
   extends:
     - .rk3399
diff --git a/drivers/gpu/drm/ci/xfails/panfrost-rk3288-gpu-fails.txt b/drivers/gpu/drm/ci/xfails/panfrost-rk3288-gpu-fails.txt
new file mode 100644
index 000000000000..90c63f519e9e
--- /dev/null
+++ b/drivers/gpu/drm/ci/xfails/panfrost-rk3288-gpu-fails.txt
@@ -0,0 +1,54 @@
+kms_3d,Crash
+kms_bw@...ear-tiling-2-displays-1920x1080p,Fail
+kms_bw@...ear-tiling-2-displays-2560x1440p,Fail
+kms_bw@...ear-tiling-2-displays-3840x2160p,Fail
+kms_bw@...ear-tiling-3-displays-1920x1080p,Fail
+kms_bw@...ear-tiling-3-displays-2560x1440p,Fail
+kms_bw@...ear-tiling-3-displays-3840x2160p,Fail
+kms_flip@...p-vs-modeset-vs-hang,Crash
+kms_flip@...p-vs-panning-vs-hang,Crash
+kms_force_connector_basic@...ce-load-detect,Fail
+kms_invalid_mode@...-max-clock,Crash
+kms_pipe_crc_basic@...pare-crc-sanitycheck-nv12,Crash
+kms_pipe_crc_basic@...blocking-crc-frame-sequence,Crash
+kms_pipe_crc_basic@...d-crc-frame-sequence,Crash
+kms_plane@...el-format,Crash
+kms_plane@...el-format-source-clamping,Crash
+kms_plane@...ne-position-hole,Crash
+kms_plane@...ne-position-hole-dpms,Crash
+kms_plane_cursor@...rlay,Crash
+kms_plane_cursor@...e-A-overlay-size-128,Fail
+kms_plane_cursor@...e-A-overlay-size-256,Fail
+kms_plane_cursor@...e-A-overlay-size-64,Fail
+kms_plane_cursor@...e-A-primary-size-128,Fail
+kms_plane_cursor@...e-A-primary-size-256,Fail
+kms_plane_cursor@...e-A-primary-size-64,Fail
+kms_plane_cursor@...e-A-viewport-size-128,Fail
+kms_plane_cursor@...e-A-viewport-size-256,Fail
+kms_plane_cursor@...e-A-viewport-size-64,Fail
+kms_plane_cursor@...e-B-overlay-size-128,Fail
+kms_plane_cursor@...e-B-overlay-size-256,Fail
+kms_plane_cursor@...e-B-overlay-size-64,Fail
+kms_plane_cursor@...e-B-primary-size-128,Fail
+kms_plane_cursor@...e-B-primary-size-256,Fail
+kms_plane_cursor@...e-B-primary-size-64,Fail
+kms_plane_cursor@...e-B-viewport-size-128,Fail
+kms_plane_cursor@...e-B-viewport-size-256,Fail
+kms_plane_cursor@...e-B-viewport-size-64,Fail
+kms_plane_cursor@...mary,Crash
+kms_plane_cursor@...wport,Crash
+kms_plane_lowres@...ing-none,Fail
+kms_plane_scaling@...nscale-with-modifier-factor-0-25,Fail
+kms_plane_scaling@...nscale-with-rotation-factor-0-25,Fail
+kms_plane_scaling@...cale-with-modifier-20x20,Fail
+kms_plane_scaling@...cale-with-modifier-factor-0-25,Fail
+kms_plane_scaling@...cale-with-pixel-format-20x20,Fail
+kms_plane_scaling@...cale-with-pixel-format-factor-0-25,Fail
+kms_plane_scaling@...cale-with-rotation-20x20,Fail
+kms_prime@...ic-crc,Fail
+kms_properties@...nector-properties-atomic,Crash
+kms_properties@...nector-properties-legacy,Crash
+kms_properties@..._properties-sanity-atomic,Crash
+kms_properties@..._properties-sanity-non-atomic,Crash
+kms_rmfb@...se-fd,Crash
+kms_setmode@...alid-clone-single-crtc,Crash
diff --git a/drivers/gpu/drm/ci/xfails/panfrost-rk3288-gpu-skips.txt b/drivers/gpu/drm/ci/xfails/panfrost-rk3288-gpu-skips.txt
new file mode 100644
index 000000000000..f20c3574b75a
--- /dev/null
+++ b/drivers/gpu/drm/ci/xfails/panfrost-rk3288-gpu-skips.txt
@@ -0,0 +1,52 @@
+# Suspend to RAM seems to be broken on this machine
+.*suspend.*
+
+# Too unstable, machine ends up hanging after lots of Oopses
+kms_cursor_legacy.*
+
+# Started hanging the machine on Linux 5.19-rc2:
+#
+# [IGT] kms_plane_lowres: executing
+# [IGT] kms_plane_lowres: starting subtest pipe-F-tiling-y
+# [IGT] kms_plane_lowres: exiting, ret=77
+# Console: switching to colour frame buffer device 170x48
+# rockchip-drm display-subsystem: [drm] *ERROR* flip_done timed out
+# rockchip-drm display-subsystem: [drm] *ERROR* [CRTC:35:crtc-0] commit wait timed out
+# BUG: spinlock bad magic on CPU#3, kms_plane_lowre/482
+# 8<--- cut here ---
+# Unable to handle kernel paging request at virtual address 7812078e
+# [7812078e] *pgd=00000000
+# Internal error: Oops: 5 [#1] SMP ARM
+# Modules linked in:
+# CPU: 3 PID: 482 Comm: kms_plane_lowre Tainted: G        W         5.19.0-rc2-323596-g00535de92171 #1
+# Hardware name: Rockchip (Device Tree)
+# Process kms_plane_lowre (pid: 482, stack limit = 0x1193ac2b)
+#  spin_dump from do_raw_spin_lock+0xa4/0xe8
+#  do_raw_spin_lock from wait_for_completion_timeout+0x2c/0x120
+#  wait_for_completion_timeout from drm_crtc_commit_wait+0x18/0x7c
+#  drm_crtc_commit_wait from drm_atomic_helper_wait_for_dependencies+0x44/0x168
+#  drm_atomic_helper_wait_for_dependencies from commit_tail+0x34/0x180
+#  commit_tail from drm_atomic_helper_commit+0x164/0x18c
+#  drm_atomic_helper_commit from drm_atomic_commit+0xac/0xe4
+#  drm_atomic_commit from drm_client_modeset_commit_atomic+0x23c/0x284
+#  drm_client_modeset_commit_atomic from drm_client_modeset_commit_locked+0x60/0x1c8
+#  drm_client_modeset_commit_locked from drm_client_modeset_commit+0x24/0x40
+#  drm_client_modeset_commit from drm_fbdev_client_restore+0x58/0x94
+#  drm_fbdev_client_restore from drm_client_dev_restore+0x70/0xbc
+#  drm_client_dev_restore from drm_release+0xf4/0x114
+#  drm_release from __fput+0x74/0x240
+#  __fput from task_work_run+0x84/0xb4
+#  task_work_run from do_exit+0x34c/0xa20
+#  do_exit from do_group_exit+0x34/0x98
+#  do_group_exit from __wake_up_parent+0x0/0x18
+# Code: e595c008 12843d19 03e00000 03093168 (15940508)
+# ---[ end trace 0000000000000000 ]---
+# note: kms_plane_lowre[482] exited with preempt_count 1
+# Fixing recursive fault but reboot is needed!
+kms_plane_lowres@...e-F-tiling-y
+
+# Take too long, we have only two machines, and these are very flaky
+kms_cursor_crc.*
+
+# Machine is hanging in this test, so skip it
+kms_pipe_crc_basic@...able-crc-after-crtc
\ No newline at end of file
diff --git a/drivers/gpu/drm/ci/xfails/panfrost-rk3399-gpu-fails.txt b/drivers/gpu/drm/ci/xfails/panfrost-rk3399-gpu-fails.txt
new file mode 100644
index 000000000000..d516d9c1d546
--- /dev/null
+++ b/drivers/gpu/drm/ci/xfails/panfrost-rk3399-gpu-fails.txt
@@ -0,0 +1,75 @@
+kms_color@...ma,Fail
+kms_color@...acy-gamma,Fail
+kms_color@...e-A-legacy-gamma,Fail
+kms_color@...e-B-legacy-gamma,Fail
+kms_cursor_crc@...sor-alpha-opaque,Fail
+kms_cursor_crc@...sor-alpha-transparent,Fail
+kms_cursor_crc@...sor-dpms,Fail
+kms_cursor_crc@...sor-offscreen-32x10,Fail
+kms_cursor_crc@...sor-offscreen-32x32,Fail
+kms_cursor_crc@...sor-offscreen-64x64,Fail
+kms_cursor_crc@...sor-onscreen-32x10,Fail
+kms_cursor_crc@...sor-onscreen-32x32,Fail
+kms_cursor_crc@...sor-onscreen-64x21,Fail
+kms_cursor_crc@...sor-onscreen-64x64,Fail
+kms_cursor_crc@...sor-random-32x10,Fail
+kms_cursor_crc@...sor-random-32x32,Fail
+kms_cursor_crc@...sor-random-64x21,Fail
+kms_cursor_crc@...sor-random-64x64,Fail
+kms_cursor_crc@...sor-rapid-movement-32x32,Fail
+kms_cursor_crc@...sor-rapid-movement-64x21,Fail
+kms_cursor_crc@...sor-rapid-movement-64x64,Fail
+kms_cursor_crc@...sor-size-change,Fail
+kms_cursor_crc@...sor-sliding-32x10,Fail
+kms_cursor_crc@...sor-sliding-32x32,Fail
+kms_cursor_crc@...sor-sliding-64x21,Fail
+kms_cursor_crc@...sor-sliding-64x64,Fail
+kms_flip@...ic-flip-vs-wf_vblank,Fail
+kms_flip@...cking-wf_vblank,Fail
+kms_flip@...s-vs-vblank-race,Fail
+kms_flip@...p-vs-absolute-wf_vblank,Fail
+kms_flip@...p-vs-absolute-wf_vblank-interruptible,Fail
+kms_flip@...p-vs-blocking-wf-vblank,Fail
+kms_flip@...p-vs-modeset-vs-hang,Fail
+kms_flip@...p-vs-panning,Fail
+kms_flip@...p-vs-panning-interruptible,Fail
+kms_flip@...p-vs-panning-vs-hang,Fail
+kms_flip@...eset-vs-vblank-race,Fail
+kms_flip@...in-flip-fb-recreate,Fail
+kms_flip@...in-flip-fb-recreate-interruptible,Fail
+kms_flip@...in-flip-ts-check,Fail
+kms_flip@...in-flip-ts-check-interruptible,Fail
+kms_flip@...vblank-ts-check,Fail
+kms_flip@...vblank-ts-check-interruptible,Fail
+kms_invalid_mode@...-max-clock,Fail
+kms_pipe_crc_basic@...pare-crc-sanitycheck-nv12,Fail
+kms_pipe_crc_basic@...pare-crc-sanitycheck-xr24,Fail
+kms_pipe_crc_basic@...able-crc-after-crtc,Fail
+kms_pipe_crc_basic@...blocking-crc,Fail
+kms_pipe_crc_basic@...blocking-crc-frame-sequence,Fail
+kms_pipe_crc_basic@...d-crc,Fail
+kms_pipe_crc_basic@...d-crc-frame-sequence,Fail
+kms_plane@...el-format,Fail
+kms_plane@...el-format-source-clamping,Fail
+kms_plane@...ne-panning-bottom-right,Fail
+kms_plane@...ne-panning-top-left,Fail
+kms_plane@...ne-position-covered,Fail
+kms_plane@...ne-position-hole,Fail
+kms_plane@...ne-position-hole-dpms,Fail
+kms_plane_cursor@...rlay,Fail
+kms_plane_cursor@...e-B-overlay-size-128,Fail
+kms_plane_cursor@...e-B-overlay-size-256,Fail
+kms_plane_cursor@...e-B-overlay-size-64,Fail
+kms_plane_cursor@...e-B-primary-size-128,Fail
+kms_plane_cursor@...e-B-primary-size-256,Fail
+kms_plane_cursor@...e-B-primary-size-64,Fail
+kms_plane_cursor@...e-B-viewport-size-128,Fail
+kms_plane_cursor@...e-B-viewport-size-256,Fail
+kms_plane_cursor@...e-B-viewport-size-64,Fail
+kms_plane_cursor@...mary,Fail
+kms_plane_cursor@...wport,Fail
+kms_plane_multiple@...mic-pipe-B-tiling-none,Fail
+kms_plane_multiple@...ing-none,Fail
+kms_prime@...ic-crc,Fail
+kms_rmfb@...se-fd,Fail
+kms_universal_plane@...versal-plane-pipe-B-functional,Fail
diff --git a/drivers/gpu/drm/ci/xfails/panfrost-rk3399-gpu-flakes.txt b/drivers/gpu/drm/ci/xfails/panfrost-rk3399-gpu-flakes.txt
new file mode 100644
index 000000000000..c9fdc623ab91
--- /dev/null
+++ b/drivers/gpu/drm/ci/xfails/panfrost-rk3399-gpu-flakes.txt
@@ -0,0 +1,7 @@
+kms_bw@...ear-tiling-2-displays-1920x1080p
+kms_cursor_crc@...sor-offscreen-64x21
+kms_flip@...s-vs-vblank-race-interruptible
+kms_flip@...p-vs-wf_vblank-interruptible
+kms_plane_cursor@...rlay
+kms_plane_cursor@...mary
+kms_plane_cursor@...wport
diff --git a/drivers/gpu/drm/ci/xfails/panfrost-rk3399-gpu-skips.txt b/drivers/gpu/drm/ci/xfails/panfrost-rk3399-gpu-skips.txt
new file mode 100644
index 000000000000..10c3d81a919a
--- /dev/null
+++ b/drivers/gpu/drm/ci/xfails/panfrost-rk3399-gpu-skips.txt
@@ -0,0 +1,5 @@
+# Suspend to RAM seems to be broken on this machine
+.*suspend.*
+
+# Too unstable, machine ends up hanging after lots of Oopses
+kms_cursor_legacy.*
-- 
2.40.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ