Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <helen.koike@collabora.com>
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
Signed-off-by: Helen Koike <helen.koike@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231207091831.660054-7-vignesh.raman@collabora.com

authored by

Vignesh Raman and committed by
Helen Koike
3f1c87dd 34ec9287

+8 -1
+8 -1
drivers/gpu/drm/ci/igt_runner.sh
··· 20 20 set -e 21 21 22 22 case "$DRIVER_NAME" in 23 - rockchip|mediatek|meson) 23 + rockchip|meson) 24 24 export IGT_FORCE_DRIVER="panfrost" 25 + ;; 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 25 32 ;; 26 33 amdgpu) 27 34 # Cannot use HWCI_KERNEL_MODULES as at that point we don't have the module in /lib