Skip to content

Commit 3f1c87d

Browse files
vigneshramanHelen Koike
authored andcommitted
drm: ci: mt8173: Do not set IGT_FORCE_DRIVER to panfrost
Mediatek 8173 and 8183 SOCs have a separate display controller and GPU with different drivers for each. For mt8173, the GPU driver is powervr and the display driver is mediatek. In the case of mt8183, the GPU driver is panfrost and the display driver is mediatek. Setting IGT_FORCE_DRIVER to panfrost for mt8173 is not the expected driver. So set mediatek for mt8173. Support to test both GPU and display drivers for these ARM SOCs will be added in the next patch series to increase test coverage. Acked-by: Helen Koike <[email protected]> Signed-off-by: Vignesh Raman <[email protected]> Signed-off-by: Helen Koike <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 34ec928 commit 3f1c87d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

drivers/gpu/drm/ci/igt_runner.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,16 @@ cat /sys/kernel/debug/dri/*/state
2020
set -e
2121

2222
case "$DRIVER_NAME" in
23-
rockchip|mediatek|meson)
23+
rockchip|meson)
2424
export IGT_FORCE_DRIVER="panfrost"
2525
;;
26+
mediatek)
27+
if [ "$GPU_VERSION" = "mt8173" ]; then
28+
export IGT_FORCE_DRIVER=${DRIVER_NAME}
29+
elif [ "$GPU_VERSION" = "mt8183" ]; then
30+
export IGT_FORCE_DRIVER="panfrost"
31+
fi
32+
;;
2633
amdgpu)
2734
# Cannot use HWCI_KERNEL_MODULES as at that point we don't have the module in /lib
2835
mv /install/modules/lib/modules/* /lib/modules/.

0 commit comments

Comments
 (0)