2023-09-14 14:28:40

by Vignesh Raman

[permalink] [raw]
Subject: [PATCH v4 0/7] drm: ci: fixes

The patch series contains improvements, enabling new ci jobs which
enables testing for Mediatek MT8173, Qualcomm APQ 8016 and VirtIO GPU,
fixing issues with the ci jobs and updating the expectation files.
This series is intended for drm branch drm-next.

v2:
- Use fdtoverlay command to merge overlay dtbo with the base dtb instead of modifying the kernel sources
- Reworded the commit message for enabling jobs
- Added a new patch in the series to use scripts/config to enable/disable configs

v3:
- New patch in the series to add device tree overlay in arch/arm64/boot/dts/qcom
- drm-ci scripts to use device tree overlay from arch/arm64/boot/dts/qcom and compile base device tree with overlay support
- New patch in the series to enable CONFIG_REGULATOR_DA9211 in defconfig
- Remove CONFIG_RTC_DRV_MT6397=y as it is already enabled in defconfig

v4:
- Drop 'enable CONFIG_REGULATOR_DA9211 in defconfig' patch as it is sent upstream as a seperate patch
- Use apq8016-sbc-usb-host.dtb which allows the USB controllers to work in host mode.
This patch depends on https://lore.kernel.org/lkml/[email protected]/

Vignesh Raman (7):
drm: ci: igt_runner: Remove todo
drm: ci: Force db410c to host mode
drm: ci: virtio: Update ci variables
drm: ci: Enable regulator
drm: ci: Update xfails
drm: ci: Enable new jobs
drm: ci: Use scripts/config to enable/disable configs

drivers/gpu/drm/ci/arm64.config | 1 +
drivers/gpu/drm/ci/build.sh | 16 ++++++++--------
drivers/gpu/drm/ci/igt_runner.sh | 1 -
drivers/gpu/drm/ci/test.yml | 16 +++++-----------
.../gpu/drm/ci/xfails/amdgpu-stoney-fails.txt | 1 -
drivers/gpu/drm/ci/xfails/i915-cml-fails.txt | 1 -
drivers/gpu/drm/ci/xfails/i915-cml-flakes.txt | 2 ++
drivers/gpu/drm/ci/xfails/i915-glk-flakes.txt | 1 +
.../gpu/drm/ci/xfails/mediatek-mt8173-fails.txt | 2 --
.../gpu/drm/ci/xfails/mediatek-mt8173-flakes.txt | 16 ++++++++++++++++
drivers/gpu/drm/ci/xfails/msm-apq8016-flakes.txt | 2 ++
.../gpu/drm/ci/xfails/rockchip-rk3288-flakes.txt | 1 +
.../gpu/drm/ci/xfails/rockchip-rk3399-fails.txt | 4 ++--
.../gpu/drm/ci/xfails/rockchip-rk3399-flakes.txt | 3 +++
14 files changed, 41 insertions(+), 26 deletions(-)

--
2.40.1


2023-09-14 14:46:08

by Vignesh Raman

[permalink] [raw]
Subject: [PATCH v4 2/7] drm: ci: Force db410c to host mode

Force db410c to host mode to fix network issue which results in failure
to mount root fs via NFS.
See https://gitlab.freedesktop.org/gfx-ci/linux/-/commit/cb72a629b8c15c80a54dda510743cefd1c4b65b8

Use apq8016-sbc-usb-host.dtb which allows the USB controllers
to work in host mode.

Acked-by: Helen Koike <[email protected]>
Signed-off-by: Vignesh Raman <[email protected]>
---

v2:
- Use fdtoverlay command to merge overlay dtbo with the base dtb instead of modifying the kernel sources

v3:
- drm-ci scripts to use device tree overlay from arch/arm64/boot/dts/qcom and compile base device tree with overlay support

v4:
- Use apq8016-sbc-usb-host.dtb which allows the USB controllers to work in host mode.
This patch depends on https://lore.kernel.org/lkml/[email protected]/

---
drivers/gpu/drm/ci/build.sh | 2 +-
drivers/gpu/drm/ci/test.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh
index 7b014287a041..58b71538f489 100644
--- a/drivers/gpu/drm/ci/build.sh
+++ b/drivers/gpu/drm/ci/build.sh
@@ -19,7 +19,7 @@ if [[ "$KERNEL_ARCH" = "arm64" ]]; then
DEVICE_TREES+=" arch/arm64/boot/dts/amlogic/meson-gxl-s805x-libretech-ac.dtb"
DEVICE_TREES+=" arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dtb"
DEVICE_TREES+=" arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dtb"
- DEVICE_TREES+=" arch/arm64/boot/dts/qcom/apq8016-sbc.dtb"
+ DEVICE_TREES+=" arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb"
DEVICE_TREES+=" arch/arm64/boot/dts/qcom/apq8096-db820c.dtb"
DEVICE_TREES+=" arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dtb"
DEVICE_TREES+=" arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtb"
diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml
index 6473cddaa7a9..56009e5495cc 100644
--- a/drivers/gpu/drm/ci/test.yml
+++ b/drivers/gpu/drm/ci/test.yml
@@ -102,7 +102,7 @@ msm:apq8016:
stage: msm
variables:
DRIVER_NAME: msm
- BM_DTB: https://${PIPELINE_ARTIFACTS_BASE}/arm64/apq8016-sbc.dtb
+ BM_DTB: https://${PIPELINE_ARTIFACTS_BASE}/arm64/apq8016-sbc-usb-host.dtb
GPU_VERSION: apq8016
BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 $BM_KERNEL_EXTRA_ARGS root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init $BM_KERNELARGS"
RUNNER_TAG: google-freedreno-db410c
--
2.40.1

2023-09-22 20:18:40

by Helen Koike

[permalink] [raw]
Subject: Re: [PATCH v4 0/7] drm: ci: fixes



On 14/09/2023 05:54, Vignesh Raman wrote:
> The patch series contains improvements, enabling new ci jobs which
> enables testing for Mediatek MT8173, Qualcomm APQ 8016 and VirtIO GPU,
> fixing issues with the ci jobs and updating the expectation files.
> This series is intended for drm branch drm-next.
>
> v2:
> - Use fdtoverlay command to merge overlay dtbo with the base dtb instead of modifying the kernel sources
> - Reworded the commit message for enabling jobs
> - Added a new patch in the series to use scripts/config to enable/disable configs
>
> v3:
> - New patch in the series to add device tree overlay in arch/arm64/boot/dts/qcom
> - drm-ci scripts to use device tree overlay from arch/arm64/boot/dts/qcom and compile base device tree with overlay support
> - New patch in the series to enable CONFIG_REGULATOR_DA9211 in defconfig
> - Remove CONFIG_RTC_DRV_MT6397=y as it is already enabled in defconfig
>
> v4:
> - Drop 'enable CONFIG_REGULATOR_DA9211 in defconfig' patch as it is sent upstream as a seperate patch
> - Use apq8016-sbc-usb-host.dtb which allows the USB controllers to work in host mode.
> This patch depends on https://lore.kernel.org/lkml/[email protected]/

Jfyi, this patch got applied, see
https://lore.kernel.org/lkml/[email protected]/

Regards,
Helen
>
> Vignesh Raman (7):
> drm: ci: igt_runner: Remove todo
> drm: ci: Force db410c to host mode
> drm: ci: virtio: Update ci variables
> drm: ci: Enable regulator
> drm: ci: Update xfails
> drm: ci: Enable new jobs
> drm: ci: Use scripts/config to enable/disable configs
>
> drivers/gpu/drm/ci/arm64.config | 1 +
> drivers/gpu/drm/ci/build.sh | 16 ++++++++--------
> drivers/gpu/drm/ci/igt_runner.sh | 1 -
> drivers/gpu/drm/ci/test.yml | 16 +++++-----------
> .../gpu/drm/ci/xfails/amdgpu-stoney-fails.txt | 1 -
> drivers/gpu/drm/ci/xfails/i915-cml-fails.txt | 1 -
> drivers/gpu/drm/ci/xfails/i915-cml-flakes.txt | 2 ++
> drivers/gpu/drm/ci/xfails/i915-glk-flakes.txt | 1 +
> .../gpu/drm/ci/xfails/mediatek-mt8173-fails.txt | 2 --
> .../gpu/drm/ci/xfails/mediatek-mt8173-flakes.txt | 16 ++++++++++++++++
> drivers/gpu/drm/ci/xfails/msm-apq8016-flakes.txt | 2 ++
> .../gpu/drm/ci/xfails/rockchip-rk3288-flakes.txt | 1 +
> .../gpu/drm/ci/xfails/rockchip-rk3399-fails.txt | 4 ++--
> .../gpu/drm/ci/xfails/rockchip-rk3399-flakes.txt | 3 +++
> 14 files changed, 41 insertions(+), 26 deletions(-)
>