Commit 75830999 authored by Vignesh Raman's avatar Vignesh Raman Committed by Helen Koike

drm/ci: mediatek: add tests for mediatek display driver

For mediatek mt8183, the display driver is mediatek, while the
gpu driver is panfrost. Currently, in drm-ci for mt8183, only
the gpu driver is tested. Refactor the existing mediatek jobs
and add support in drm-ci to test both display and gpu driver
for mt8183 and update xfails.

Since the correct driver name is passed from the job to test gpu
and display driver, remove the check to set IGT_FORCE_DRIVER
based on driver name for mediatek jobs.

Update the MAINTAINERS file to include xfails for panfrost driver.
Acked-by: default avatarHelen Koike <helen.koike@collabora.com>
Reviewed-by: default avatarDaniel Stone <daniels@collabora.com>
Signed-off-by: default avatarVignesh Raman <vignesh.raman@collabora.com>
Signed-off-by: default avatarHelen Koike <helen.koike@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240730021545.912271-4-vignesh.raman@collabora.com
parent 0b8778af
...@@ -1748,6 +1748,7 @@ L: dri-devel@lists.freedesktop.org ...@@ -1748,6 +1748,7 @@ L: dri-devel@lists.freedesktop.org
S: Supported S: Supported
T: git https://gitlab.freedesktop.org/drm/misc/kernel.git T: git https://gitlab.freedesktop.org/drm/misc/kernel.git
F: Documentation/gpu/panfrost.rst F: Documentation/gpu/panfrost.rst
F: drivers/gpu/drm/ci/xfails/panfrost*
F: drivers/gpu/drm/panfrost/ F: drivers/gpu/drm/panfrost/
F: include/uapi/drm/panfrost_drm.h F: include/uapi/drm/panfrost_drm.h
......
...@@ -121,8 +121,8 @@ stages: ...@@ -121,8 +121,8 @@ stages:
- mediatek - mediatek
- meson - meson
- msm - msm
- panfrost
- rockchip - rockchip
- virtio-gpu
- software-driver - software-driver
# YAML anchors for rule conditions # YAML anchors for rule conditions
......
...@@ -23,13 +23,6 @@ case "$DRIVER_NAME" in ...@@ -23,13 +23,6 @@ case "$DRIVER_NAME" in
rockchip|meson) rockchip|meson)
export IGT_FORCE_DRIVER="panfrost" export IGT_FORCE_DRIVER="panfrost"
;; ;;
mediatek)
if [ "$GPU_VERSION" = "mt8173" ]; then
export IGT_FORCE_DRIVER=${DRIVER_NAME}
elif [ "$GPU_VERSION" = "mt8183" ]; then
export IGT_FORCE_DRIVER="panfrost"
fi
;;
amdgpu|vkms) amdgpu|vkms)
# Cannot use HWCI_KERNEL_MODULES as at that point we don't have the module in /lib # Cannot use HWCI_KERNEL_MODULES as at that point we don't have the module in /lib
mv /install/modules/lib/modules/* /lib/modules/. || true mv /install/modules/lib/modules/* /lib/modules/. || true
......
...@@ -280,38 +280,62 @@ amdgpu:stoney: ...@@ -280,38 +280,62 @@ amdgpu:stoney:
GPU_VERSION: stoney GPU_VERSION: stoney
RUNNER_TAG: mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt RUNNER_TAG: mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
.mediatek: .mediatek-device:
extends: extends:
- .lava-igt:arm64 - .lava-igt:arm64
stage: mediatek stage: mediatek
variables: variables:
DRIVER_NAME: mediatek
DTB: ${DEVICE_TYPE} DTB: ${DEVICE_TYPE}
BOOT_METHOD: depthcharge BOOT_METHOD: depthcharge
KERNEL_IMAGE_TYPE: "" KERNEL_IMAGE_TYPE: ""
mediatek:mt8173: .mediatek-display:
stage: mediatek
variables:
DRIVER_NAME: mediatek
.panfrost-gpu:
stage: panfrost
variables:
DRIVER_NAME: panfrost
.mt8173:
extends: extends:
- .mediatek - .mediatek-device
parallel: 4 parallel: 4
variables: variables:
DEVICE_TYPE: mt8173-elm-hana DEVICE_TYPE: mt8173-elm-hana
GPU_VERSION: mt8173 GPU_VERSION: mt8173
RUNNER_TAG: mesa-ci-x86-64-lava-mt8173-elm-hana RUNNER_TAG: mesa-ci-x86-64-lava-mt8173-elm-hana
mediatek:mt8183: .mt8183:
extends: extends:
- .mediatek - .mediatek-device
parallel: 3 parallel: 3
variables: variables:
DEVICE_TYPE: mt8183-kukui-jacuzzi-juniper-sku16 DEVICE_TYPE: mt8183-kukui-jacuzzi-juniper-sku16
GPU_VERSION: mt8183 GPU_VERSION: mt8183
RUNNER_TAG: mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16 RUNNER_TAG: mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
mediatek:mt8173:
extends:
- .mt8173
- .mediatek-display
mediatek:mt8183:
extends:
- .mt8183
- .mediatek-display
panfrost:mt8183:
extends:
- .mt8183
- .panfrost-gpu
# drm-mtk doesn't even probe yet in mainline for mt8192 # drm-mtk doesn't even probe yet in mainline for mt8192
.mediatek:mt8192: .mediatek:mt8192:
extends: extends:
- .mediatek - .mediatek-device
parallel: 3 parallel: 3
variables: variables:
DEVICE_TYPE: mt8192-asurada-spherion-r0 DEVICE_TYPE: mt8192-asurada-spherion-r0
......
dumb_buffer@create-clear,Fail core_setmaster@master-drop-set-shared-fd,Fail
dumb_buffer@create-valid-dumb,Fail device_reset@cold-reset-bound,Fail
device_reset@reset-bound,Fail
device_reset@unbind-cold-reset-rebind,Fail
device_reset@unbind-reset-rebind,Fail
dumb_buffer@create-clear,Crash
dumb_buffer@invalid-bpp,Fail dumb_buffer@invalid-bpp,Fail
dumb_buffer@map-invalid-size,Fail fbdev@eof,Fail
dumb_buffer@map-uaf,Fail fbdev@pan,Fail
dumb_buffer@map-valid,Fail fbdev@read,Fail
panfrost/panfrost_prime@gem-prime-import,Fail fbdev@unaligned-read,Fail
kms_bw@connected-linear-tiling-1-displays-1920x1080p,Fail
kms_bw@connected-linear-tiling-1-displays-2160x1440p,Fail
kms_bw@connected-linear-tiling-1-displays-2560x1440p,Fail
kms_bw@linear-tiling-1-displays-1920x1080p,Fail
kms_bw@linear-tiling-1-displays-3840x2160p,Fail
kms_color@invalid-gamma-lut-sizes,Fail
kms_flip@flip-vs-panning-vs-hang,Fail
kms_flip@flip-vs-suspend,Fail
kms_lease@lease-uevent,Fail
kms_properties@plane-properties-atomic,Fail
kms_rmfb@close-fd,Fail
# Board Name: mt8183-kukui-jacuzzi-juniper-sku16
# Bug Report: https://lore.kernel.org/linux-mediatek/0b2a1899-15dd-42fa-8f63-ea0ca28dbb17@collabora.com/T/#u
# Failure Rate: 100
# IGT Version: 1.28-gf13702b8e
# Linux Version: 6.10.0-rc5
kms_bw@linear-tiling-1-displays-2560x1440p
# Board Name: mt8183-kukui-jacuzzi-juniper-sku16
# Bug Report: https://lore.kernel.org/linux-mediatek/0b2a1899-15dd-42fa-8f63-ea0ca28dbb17@collabora.com/T/#u
# Failure Rate: 100
# IGT Version: 1.28-gf13702b8e
# Linux Version: 6.10.0-rc5
kms_cursor_legacy@cursor-vs-flip-atomic-transitions
# Board Name: mt8183-kukui-jacuzzi-juniper-sku16
# Bug Report: https://lore.kernel.org/linux-mediatek/0b2a1899-15dd-42fa-8f63-ea0ca28dbb17@collabora.com/T/#u
# Failure Rate: 100
# IGT Version: 1.28-gf13702b8e
# Linux Version: 6.10.0-rc5
fbdev@write
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
^amdgpu.* ^amdgpu.*
^msm.* ^msm.*
nouveau_.* nouveau_.*
^panfrost.*
^v3d.* ^v3d.*
^vc4.* ^vc4.*
^vmwgfx* ^vmwgfx*
...@@ -11,9 +12,6 @@ gem_.* ...@@ -11,9 +12,6 @@ gem_.*
i915_.* i915_.*
tools_test.* tools_test.*
# Panfrost is not a KMS driver, so skip the KMS tests
kms_.*
# Currently fails and causes coverage loss for other tests # Currently fails and causes coverage loss for other tests
# since core_getversion also fails. # since core_getversion also fails.
core_hotunplug.* core_hotunplug.*
panfrost/panfrost_prime@gem-prime-import,Fail
# Skip driver specific tests
^amdgpu.*
^msm.*
nouveau_.*
^v3d.*
^vc4.*
^vmwgfx*
# Skip intel specific tests
gem_.*
i915_.*
tools_test.*
# Panfrost is not a KMS driver, so skip the KMS tests
kms_.*
# Skip display functionality tests for GPU-only drivers
dumb_buffer.*
fbdev.*
# Currently fails and causes coverage loss for other tests
# since core_getversion also fails.
core_hotunplug.*
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment