All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/9] drm: ci: fixes
@ 2023-09-08 15:22 ` Vignesh Raman
  0 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: helen.koike, guilherme.gallo, sergi.blanch.torne,
	david.heidelberg, daniels, gustavo.padovan,
	angelogioacchino.delregno, emma, robclark, robdclark, anholt,
	robdclark, airlied, daniel, jani.nikula, mripard,
	dmitry.baryshkov, matthias.bgg, agross, andersson, konrad.dybcio,
	robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree,
	linux-kernel, linux-mediatek, virtualization, linux-arm-msm

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 topic/drm-ci.

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

Vignesh Raman (9):
  drm: ci: igt_runner: Remove todo
  arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode
  drm: ci: Force db410c to host mode
  drm: ci: virtio: Update ci variables
  drm: ci: Enable regulator
  arm64: defconfig: Enable DA9211 regulator
  drm: ci: Update xfails
  drm: ci: Enable new jobs
  drm: ci: Use scripts/config to enable/disable configs

 .../boot/dts/qcom/apq8016-sbc-usb-host.dtso   |  8 +++++++
 arch/arm64/configs/defconfig                  |  1 +
 drivers/gpu/drm/ci/arm64.config               |  1 +
 drivers/gpu/drm/ci/build.sh                   | 21 ++++++++++++-------
 drivers/gpu/drm/ci/igt_runner.sh              |  1 -
 drivers/gpu/drm/ci/test.yml                   | 14 ++++---------
 .../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 +
 .../drm/ci/xfails/mediatek-mt8173-fails.txt   |  2 --
 .../drm/ci/xfails/mediatek-mt8173-flakes.txt  | 16 ++++++++++++++
 .../gpu/drm/ci/xfails/msm-apq8016-flakes.txt  |  2 ++
 .../drm/ci/xfails/rockchip-rk3288-flakes.txt  |  1 +
 .../drm/ci/xfails/rockchip-rk3399-fails.txt   |  4 ++--
 .../drm/ci/xfails/rockchip-rk3399-flakes.txt  |  3 +++
 16 files changed, 54 insertions(+), 25 deletions(-)
 create mode 100644 arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso

-- 
2.40.1


^ permalink raw reply	[flat|nested] 49+ messages in thread

* [PATCH v3 0/9] drm: ci: fixes
@ 2023-09-08 15:22 ` Vignesh Raman
  0 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard,
	helen.koike, anholt, linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, andersson, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, guilherme.gallo

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 topic/drm-ci.

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

Vignesh Raman (9):
  drm: ci: igt_runner: Remove todo
  arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode
  drm: ci: Force db410c to host mode
  drm: ci: virtio: Update ci variables
  drm: ci: Enable regulator
  arm64: defconfig: Enable DA9211 regulator
  drm: ci: Update xfails
  drm: ci: Enable new jobs
  drm: ci: Use scripts/config to enable/disable configs

 .../boot/dts/qcom/apq8016-sbc-usb-host.dtso   |  8 +++++++
 arch/arm64/configs/defconfig                  |  1 +
 drivers/gpu/drm/ci/arm64.config               |  1 +
 drivers/gpu/drm/ci/build.sh                   | 21 ++++++++++++-------
 drivers/gpu/drm/ci/igt_runner.sh              |  1 -
 drivers/gpu/drm/ci/test.yml                   | 14 ++++---------
 .../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 +
 .../drm/ci/xfails/mediatek-mt8173-fails.txt   |  2 --
 .../drm/ci/xfails/mediatek-mt8173-flakes.txt  | 16 ++++++++++++++
 .../gpu/drm/ci/xfails/msm-apq8016-flakes.txt  |  2 ++
 .../drm/ci/xfails/rockchip-rk3288-flakes.txt  |  1 +
 .../drm/ci/xfails/rockchip-rk3399-fails.txt   |  4 ++--
 .../drm/ci/xfails/rockchip-rk3399-flakes.txt  |  3 +++
 16 files changed, 54 insertions(+), 25 deletions(-)
 create mode 100644 arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso

-- 
2.40.1


^ permalink raw reply	[flat|nested] 49+ messages in thread

* [PATCH v3 1/9] drm: ci: igt_runner: Remove todo
  2023-09-08 15:22 ` Vignesh Raman
@ 2023-09-08 15:22   ` Vignesh Raman
  -1 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: helen.koike, guilherme.gallo, sergi.blanch.torne,
	david.heidelberg, daniels, gustavo.padovan,
	angelogioacchino.delregno, emma, robclark, robdclark, anholt,
	robdclark, airlied, daniel, jani.nikula, mripard,
	dmitry.baryshkov, matthias.bgg, agross, andersson, konrad.dybcio,
	robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree,
	linux-kernel, linux-mediatek, virtualization, linux-arm-msm

/sys/kernel/debug/dri/*/state exist for every atomic KMS driver.
We do not test non-atomic drivers, so remove the todo.

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

v2:
  - No changes

v3:
  - No changes
  
---
 drivers/gpu/drm/ci/igt_runner.sh | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/ci/igt_runner.sh b/drivers/gpu/drm/ci/igt_runner.sh
index 2bb759165063..5bf130ac57c9 100755
--- a/drivers/gpu/drm/ci/igt_runner.sh
+++ b/drivers/gpu/drm/ci/igt_runner.sh
@@ -15,7 +15,6 @@ cat /sys/kernel/debug/device_component/*
 '
 
 # Dump drm state to confirm that kernel was able to find a connected display:
-# TODO this path might not exist for all drivers.. maybe run modetest instead?
 set +e
 cat /sys/kernel/debug/dri/*/state
 set -e
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH v3 1/9] drm: ci: igt_runner: Remove todo
@ 2023-09-08 15:22   ` Vignesh Raman
  0 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard,
	helen.koike, anholt, linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, andersson, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, guilherme.gallo

/sys/kernel/debug/dri/*/state exist for every atomic KMS driver.
We do not test non-atomic drivers, so remove the todo.

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

v2:
  - No changes

v3:
  - No changes
  
---
 drivers/gpu/drm/ci/igt_runner.sh | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/ci/igt_runner.sh b/drivers/gpu/drm/ci/igt_runner.sh
index 2bb759165063..5bf130ac57c9 100755
--- a/drivers/gpu/drm/ci/igt_runner.sh
+++ b/drivers/gpu/drm/ci/igt_runner.sh
@@ -15,7 +15,6 @@ cat /sys/kernel/debug/device_component/*
 '
 
 # Dump drm state to confirm that kernel was able to find a connected display:
-# TODO this path might not exist for all drivers.. maybe run modetest instead?
 set +e
 cat /sys/kernel/debug/dri/*/state
 set -e
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH v3 2/9] arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode
  2023-09-08 15:22 ` Vignesh Raman
@ 2023-09-08 15:22   ` Vignesh Raman
  -1 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: helen.koike, guilherme.gallo, sergi.blanch.torne,
	david.heidelberg, daniels, gustavo.padovan,
	angelogioacchino.delregno, emma, robclark, robdclark, anholt,
	robdclark, airlied, daniel, jani.nikula, mripard,
	dmitry.baryshkov, matthias.bgg, agross, andersson, konrad.dybcio,
	robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree,
	linux-kernel, linux-mediatek, virtualization, linux-arm-msm

Due to the presence of the fastboot micro cable in the CI farm,
it causes the hardware to remain in gadget mode instead of host mode.
So it doesn't find the network, which results in failure to mount root
fs via NFS.

Add an overlay dtso file that sets the dr_mode to host, allowing
the USB controllers to work in host mode. This dtso file will be used
in drm-ci, mesa-ci.

Overlay DT file uses the sugar syntax [suggested by Dmitry Baryshkov and Maxime Ripard]

Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Suggested-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
---

v3:
  - New patch in the series to add device tree overlay in arch/arm64/boot/dts/qcom

---
 arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso

diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso b/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
new file mode 100644
index 000000000000..a82c26b7eae8
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+
+/dts-v1/;
+/plugin/;
+
+&usb {
+         dr_mode = "host";
+};
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH v3 2/9] arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode
@ 2023-09-08 15:22   ` Vignesh Raman
  0 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard,
	helen.koike, anholt, linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, andersson, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, guilherme.gallo

Due to the presence of the fastboot micro cable in the CI farm,
it causes the hardware to remain in gadget mode instead of host mode.
So it doesn't find the network, which results in failure to mount root
fs via NFS.

Add an overlay dtso file that sets the dr_mode to host, allowing
the USB controllers to work in host mode. This dtso file will be used
in drm-ci, mesa-ci.

Overlay DT file uses the sugar syntax [suggested by Dmitry Baryshkov and Maxime Ripard]

Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Suggested-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
---

v3:
  - New patch in the series to add device tree overlay in arch/arm64/boot/dts/qcom

---
 arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso

diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso b/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
new file mode 100644
index 000000000000..a82c26b7eae8
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+
+/dts-v1/;
+/plugin/;
+
+&usb {
+         dr_mode = "host";
+};
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH v3 3/9] drm: ci: Force db410c to host mode
  2023-09-08 15:22 ` Vignesh Raman
@ 2023-09-08 15:22   ` Vignesh Raman
  -1 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: helen.koike, guilherme.gallo, sergi.blanch.torne,
	david.heidelberg, daniels, gustavo.padovan,
	angelogioacchino.delregno, emma, robclark, robdclark, anholt,
	robdclark, airlied, daniel, jani.nikula, mripard,
	dmitry.baryshkov, matthias.bgg, agross, andersson, konrad.dybcio,
	robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree,
	linux-kernel, linux-mediatek, virtualization, linux-arm-msm

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

Compile the base device tree with overlay support and use fdtoverlay
command to merge base device tree with an overlay which contains the
fix for USB controllers to work in host mode. [suggested by Maxime Ripard]

Suggested-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
---

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

---
 drivers/gpu/drm/ci/build.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh
index 7b014287a041..092c195af242 100644
--- a/drivers/gpu/drm/ci/build.sh
+++ b/drivers/gpu/drm/ci/build.sh
@@ -91,7 +91,12 @@ for image in ${KERNEL_IMAGE_NAME}; do
 done
 
 if [[ -n ${DEVICE_TREES} ]]; then
-    make dtbs
+    make DTC_FLAGS=-@ dtbs
+    if [[ -e arch/arm64/boot/dts/qcom/apq8016-sbc.dtb ]]; then
+        dtc -@ -I dts -O dtb -o arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtbo arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
+        fdtoverlay -i arch/arm64/boot/dts/qcom/apq8016-sbc.dtb -o arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtbo
+        mv arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb arch/arm64/boot/dts/qcom/apq8016-sbc.dtb
+    fi
     cp ${DEVICE_TREES} /lava-files/.
 fi
 
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH v3 3/9] drm: ci: Force db410c to host mode
@ 2023-09-08 15:22   ` Vignesh Raman
  0 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard,
	helen.koike, anholt, linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, andersson, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, guilherme.gallo

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

Compile the base device tree with overlay support and use fdtoverlay
command to merge base device tree with an overlay which contains the
fix for USB controllers to work in host mode. [suggested by Maxime Ripard]

Suggested-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
---

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

---
 drivers/gpu/drm/ci/build.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh
index 7b014287a041..092c195af242 100644
--- a/drivers/gpu/drm/ci/build.sh
+++ b/drivers/gpu/drm/ci/build.sh
@@ -91,7 +91,12 @@ for image in ${KERNEL_IMAGE_NAME}; do
 done
 
 if [[ -n ${DEVICE_TREES} ]]; then
-    make dtbs
+    make DTC_FLAGS=-@ dtbs
+    if [[ -e arch/arm64/boot/dts/qcom/apq8016-sbc.dtb ]]; then
+        dtc -@ -I dts -O dtb -o arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtbo arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
+        fdtoverlay -i arch/arm64/boot/dts/qcom/apq8016-sbc.dtb -o arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtbo
+        mv arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb arch/arm64/boot/dts/qcom/apq8016-sbc.dtb
+    fi
     cp ${DEVICE_TREES} /lava-files/.
 fi
 
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH v3 4/9] drm: ci: virtio: Update ci variables
  2023-09-08 15:22 ` Vignesh Raman
@ 2023-09-08 15:22   ` Vignesh Raman
  -1 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: helen.koike, guilherme.gallo, sergi.blanch.torne,
	david.heidelberg, daniels, gustavo.padovan,
	angelogioacchino.delregno, emma, robclark, robdclark, anholt,
	robdclark, airlied, daniel, jani.nikula, mripard,
	dmitry.baryshkov, matthias.bgg, agross, andersson, konrad.dybcio,
	robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree,
	linux-kernel, linux-mediatek, virtualization, linux-arm-msm

Update ci variables to fix the below error,
ERROR - Igt error: malloc(): corrupted top size
ERROR - Igt error: Received signal SIGABRT.
ERROR - Igt error: Stack trace:
ERROR - Igt error:  #0 [fatal_sig_handler+0x17b]

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

v2:
  - No changes

v3:
  - No changes

---
 drivers/gpu/drm/ci/test.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml
index 6473cddaa7a9..d85add39f425 100644
--- a/drivers/gpu/drm/ci/test.yml
+++ b/drivers/gpu/drm/ci/test.yml
@@ -316,8 +316,11 @@ virtio_gpu:none:
   stage: virtio-gpu
   variables:
     CROSVM_GALLIUM_DRIVER: llvmpipe
-    DRIVER_NAME: virtio_gpu
+    DRIVER_NAME: virtio
     GPU_VERSION: none
+    CROSVM_MEMORY: 12288
+    CROSVM_CPU: $FDO_CI_CONCURRENT
+    CROSVM_GPU_ARGS: "vulkan=true,gles=false,backend=virglrenderer,egl=true,surfaceless=true"
   extends:
     - .test-gl
   tags:
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH v3 4/9] drm: ci: virtio: Update ci variables
@ 2023-09-08 15:22   ` Vignesh Raman
  0 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard,
	helen.koike, anholt, linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, andersson, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, guilherme.gallo

Update ci variables to fix the below error,
ERROR - Igt error: malloc(): corrupted top size
ERROR - Igt error: Received signal SIGABRT.
ERROR - Igt error: Stack trace:
ERROR - Igt error:  #0 [fatal_sig_handler+0x17b]

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

v2:
  - No changes

v3:
  - No changes

---
 drivers/gpu/drm/ci/test.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml
index 6473cddaa7a9..d85add39f425 100644
--- a/drivers/gpu/drm/ci/test.yml
+++ b/drivers/gpu/drm/ci/test.yml
@@ -316,8 +316,11 @@ virtio_gpu:none:
   stage: virtio-gpu
   variables:
     CROSVM_GALLIUM_DRIVER: llvmpipe
-    DRIVER_NAME: virtio_gpu
+    DRIVER_NAME: virtio
     GPU_VERSION: none
+    CROSVM_MEMORY: 12288
+    CROSVM_CPU: $FDO_CI_CONCURRENT
+    CROSVM_GPU_ARGS: "vulkan=true,gles=false,backend=virglrenderer,egl=true,surfaceless=true"
   extends:
     - .test-gl
   tags:
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH v3 5/9] drm: ci: Enable regulator
  2023-09-08 15:22 ` Vignesh Raman
@ 2023-09-08 15:22   ` Vignesh Raman
  -1 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: helen.koike, guilherme.gallo, sergi.blanch.torne,
	david.heidelberg, daniels, gustavo.padovan,
	angelogioacchino.delregno, emma, robclark, robdclark, anholt,
	robdclark, airlied, daniel, jani.nikula, mripard,
	dmitry.baryshkov, matthias.bgg, agross, andersson, konrad.dybcio,
	robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree,
	linux-kernel, linux-mediatek, virtualization, linux-arm-msm

Enable CONFIG_REGULATOR_DA9211=y to fix mt8173 boot issue.

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

v2:
  - No changes

v3:
  - Remove CONFIG_RTC_DRV_MT6397=y as it is already enabled in defconfig

---
 drivers/gpu/drm/ci/arm64.config | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/ci/arm64.config b/drivers/gpu/drm/ci/arm64.config
index 817e18ddfd4f..ca95e141a7ae 100644
--- a/drivers/gpu/drm/ci/arm64.config
+++ b/drivers/gpu/drm/ci/arm64.config
@@ -184,6 +184,7 @@ CONFIG_HW_RANDOM_MTK=y
 CONFIG_MTK_DEVAPC=y
 CONFIG_PWM_MTK_DISP=y
 CONFIG_MTK_CMDQ=y
+CONFIG_REGULATOR_DA9211=y
 
 # For nouveau.  Note that DRM must be a module so that it's loaded after NFS is up to provide the firmware.
 CONFIG_ARCH_TEGRA=y
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH v3 5/9] drm: ci: Enable regulator
@ 2023-09-08 15:22   ` Vignesh Raman
  0 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard,
	helen.koike, anholt, linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, andersson, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, guilherme.gallo

Enable CONFIG_REGULATOR_DA9211=y to fix mt8173 boot issue.

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

v2:
  - No changes

v3:
  - Remove CONFIG_RTC_DRV_MT6397=y as it is already enabled in defconfig

---
 drivers/gpu/drm/ci/arm64.config | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/ci/arm64.config b/drivers/gpu/drm/ci/arm64.config
index 817e18ddfd4f..ca95e141a7ae 100644
--- a/drivers/gpu/drm/ci/arm64.config
+++ b/drivers/gpu/drm/ci/arm64.config
@@ -184,6 +184,7 @@ CONFIG_HW_RANDOM_MTK=y
 CONFIG_MTK_DEVAPC=y
 CONFIG_PWM_MTK_DISP=y
 CONFIG_MTK_CMDQ=y
+CONFIG_REGULATOR_DA9211=y
 
 # For nouveau.  Note that DRM must be a module so that it's loaded after NFS is up to provide the firmware.
 CONFIG_ARCH_TEGRA=y
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH v3 6/9] arm64: defconfig: Enable DA9211 regulator
  2023-09-08 15:22 ` Vignesh Raman
@ 2023-09-08 15:22   ` Vignesh Raman
  -1 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: helen.koike, guilherme.gallo, sergi.blanch.torne,
	david.heidelberg, daniels, gustavo.padovan,
	angelogioacchino.delregno, emma, robclark, robdclark, anholt,
	robdclark, airlied, daniel, jani.nikula, mripard,
	dmitry.baryshkov, matthias.bgg, agross, andersson, konrad.dybcio,
	robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree,
	linux-kernel, linux-mediatek, virtualization, linux-arm-msm

Mediatek mt8173 board fails to boot with DA9211 regulator disabled.
Enabling CONFIG_REGULATOR_DA9211=y in drm-ci fixes the issue.

So enable it in the defconfig since kernel-ci also requires it.

Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
---

v3:
  - New patch in the series to enable CONFIG_REGULATOR_DA9211 in defconfig

---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index a25d783dfb95..ef22b532b63a 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -711,6 +711,7 @@ CONFIG_REGULATOR_AXP20X=y
 CONFIG_REGULATOR_BD718XX=y
 CONFIG_REGULATOR_BD9571MWV=y
 CONFIG_REGULATOR_CROS_EC=y
+CONFIG_REGULATOR_DA9211=m
 CONFIG_REGULATOR_FAN53555=y
 CONFIG_REGULATOR_GPIO=y
 CONFIG_REGULATOR_HI6421V530=y
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH v3 6/9] arm64: defconfig: Enable DA9211 regulator
@ 2023-09-08 15:22   ` Vignesh Raman
  0 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard,
	helen.koike, anholt, linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, andersson, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, guilherme.gallo

Mediatek mt8173 board fails to boot with DA9211 regulator disabled.
Enabling CONFIG_REGULATOR_DA9211=y in drm-ci fixes the issue.

So enable it in the defconfig since kernel-ci also requires it.

Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
---

v3:
  - New patch in the series to enable CONFIG_REGULATOR_DA9211 in defconfig

---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index a25d783dfb95..ef22b532b63a 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -711,6 +711,7 @@ CONFIG_REGULATOR_AXP20X=y
 CONFIG_REGULATOR_BD718XX=y
 CONFIG_REGULATOR_BD9571MWV=y
 CONFIG_REGULATOR_CROS_EC=y
+CONFIG_REGULATOR_DA9211=m
 CONFIG_REGULATOR_FAN53555=y
 CONFIG_REGULATOR_GPIO=y
 CONFIG_REGULATOR_HI6421V530=y
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH v3 7/9] drm: ci: Update xfails
  2023-09-08 15:22 ` Vignesh Raman
@ 2023-09-08 15:22   ` Vignesh Raman
  -1 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: helen.koike, guilherme.gallo, sergi.blanch.torne,
	david.heidelberg, daniels, gustavo.padovan,
	angelogioacchino.delregno, emma, robclark, robdclark, anholt,
	robdclark, airlied, daniel, jani.nikula, mripard,
	dmitry.baryshkov, matthias.bgg, agross, andersson, konrad.dybcio,
	robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree,
	linux-kernel, linux-mediatek, virtualization, linux-arm-msm

Update amdgpu-stoney-fails, mediatek-mt8173-flakes,
mediatek-mt8173-fails, rockchip-rk3399-fails, rockchip-rk3399-flakes,
rockchip-rk3288-flakes, i915-cml-fails, i915-cml-flakes,
msm-apq8016-flakes files.

Add tests that fail sometimes into the *-flakes file and tests
that are failing into the *-fails file.

Signed-off-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
---

v2:
  - No changes

v3:
  - No changes

---
 .../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 +++
 10 files changed, 27 insertions(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/ci/xfails/amdgpu-stoney-fails.txt b/drivers/gpu/drm/ci/xfails/amdgpu-stoney-fails.txt
index bd9392536e7c..58bfded8a3fc 100644
--- a/drivers/gpu/drm/ci/xfails/amdgpu-stoney-fails.txt
+++ b/drivers/gpu/drm/ci/xfails/amdgpu-stoney-fails.txt
@@ -1,7 +1,6 @@
 kms_addfb_basic@bad-pitch-65536,Fail
 kms_addfb_basic@bo-too-small,Fail
 kms_async_flips@invalid-async-flip,Fail
-kms_atomic@plane-immutable-zpos,Fail
 kms_atomic_transition@plane-toggle-modeset-transition,Fail
 kms_bw@linear-tiling-1-displays-2560x1440p,Fail
 kms_bw@linear-tiling-1-displays-3840x2160p,Fail
diff --git a/drivers/gpu/drm/ci/xfails/i915-cml-fails.txt b/drivers/gpu/drm/ci/xfails/i915-cml-fails.txt
index 6139b410e767..5f513c638beb 100644
--- a/drivers/gpu/drm/ci/xfails/i915-cml-fails.txt
+++ b/drivers/gpu/drm/ci/xfails/i915-cml-fails.txt
@@ -1,4 +1,3 @@
-kms_color@ctm-0-25,Fail
 kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-downscaling,Fail
 kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-upscaling,Fail
 kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling,Fail
diff --git a/drivers/gpu/drm/ci/xfails/i915-cml-flakes.txt b/drivers/gpu/drm/ci/xfails/i915-cml-flakes.txt
index 0514a7b3fdb0..f06f1a5b16f9 100644
--- a/drivers/gpu/drm/ci/xfails/i915-cml-flakes.txt
+++ b/drivers/gpu/drm/ci/xfails/i915-cml-flakes.txt
@@ -7,6 +7,8 @@ kms_bw@linear-tiling-3-displays-3840x2160p
 kms_bw@linear-tiling-4-displays-1920x1080p
 kms_bw@linear-tiling-4-displays-2560x1440p
 kms_bw@linear-tiling-4-displays-3840x2160p
+kms_color@ctm-0-25
+kms_cursor_legacy@torture-move
 kms_draw_crc@draw-method-xrgb8888-render-xtiled
 kms_flip@flip-vs-suspend
 kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling
diff --git a/drivers/gpu/drm/ci/xfails/i915-glk-flakes.txt b/drivers/gpu/drm/ci/xfails/i915-glk-flakes.txt
index fc41d13a2d56..3aee1f11ee90 100644
--- a/drivers/gpu/drm/ci/xfails/i915-glk-flakes.txt
+++ b/drivers/gpu/drm/ci/xfails/i915-glk-flakes.txt
@@ -8,6 +8,7 @@ kms_bw@linear-tiling-3-displays-3840x2160p
 kms_bw@linear-tiling-4-displays-1920x1080p
 kms_bw@linear-tiling-4-displays-2560x1440p
 kms_bw@linear-tiling-4-displays-3840x2160p
+kms_cursor_legacy@torture-bo
 kms_flip@blocking-wf_vblank
 kms_flip@wf_vblank-ts-check
 kms_flip@wf_vblank-ts-check-interruptible
diff --git a/drivers/gpu/drm/ci/xfails/mediatek-mt8173-fails.txt b/drivers/gpu/drm/ci/xfails/mediatek-mt8173-fails.txt
index 671916067dba..c8e64bbfd480 100644
--- a/drivers/gpu/drm/ci/xfails/mediatek-mt8173-fails.txt
+++ b/drivers/gpu/drm/ci/xfails/mediatek-mt8173-fails.txt
@@ -1,5 +1,4 @@
 kms_3d,Fail
-kms_addfb_basic@addfb25-bad-modifier,Fail
 kms_bw@linear-tiling-1-displays-1920x1080p,Fail
 kms_bw@linear-tiling-1-displays-2560x1440p,Fail
 kms_bw@linear-tiling-1-displays-3840x2160p,Fail
@@ -11,7 +10,6 @@ kms_bw@linear-tiling-3-displays-2560x1440p,Fail
 kms_bw@linear-tiling-3-displays-3840x2160p,Fail
 kms_color@pipe-A-invalid-gamma-lut-sizes,Fail
 kms_color@pipe-B-invalid-gamma-lut-sizes,Fail
-kms_force_connector_basic@force-connector-state,Fail
 kms_force_connector_basic@force-edid,Fail
 kms_force_connector_basic@force-load-detect,Fail
 kms_force_connector_basic@prune-stale-modes,Fail
diff --git a/drivers/gpu/drm/ci/xfails/mediatek-mt8173-flakes.txt b/drivers/gpu/drm/ci/xfails/mediatek-mt8173-flakes.txt
index e69de29bb2d1..9ed6722df2c2 100644
--- a/drivers/gpu/drm/ci/xfails/mediatek-mt8173-flakes.txt
+++ b/drivers/gpu/drm/ci/xfails/mediatek-mt8173-flakes.txt
@@ -0,0 +1,16 @@
+core_setmaster_vs_auth
+kms_addfb_basic@addfb25-bad-modifier
+kms_color@invalid-gamma-lut-sizes
+kms_cursor_legacy@cursor-vs-flip-atomic
+kms_cursor_legacy@cursor-vs-flip-legacy
+kms_force_connector_basic@force-connector-state
+kms_hdmi_inject@inject-4k
+kms_plane_scaling@plane-scaler-with-pixel-format-unity-scaling
+kms_plane_scaling@plane-upscale-with-modifiers-20x20
+kms_plane_scaling@plane-upscale-with-pixel-format-20x20
+kms_plane_scaling@plane-upscale-with-rotation-20x20
+kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20
+kms_plane_scaling@planes-downscale-factor-0-5-upscale-20x20
+kms_plane_scaling@planes-downscale-factor-0-75-upscale-20x20
+kms_prop_blob@invalid-set-prop
+kms_prop_blob@invalid-set-prop-any
diff --git a/drivers/gpu/drm/ci/xfails/msm-apq8016-flakes.txt b/drivers/gpu/drm/ci/xfails/msm-apq8016-flakes.txt
index 0e3b60d3fade..cd48a8c1d569 100644
--- a/drivers/gpu/drm/ci/xfails/msm-apq8016-flakes.txt
+++ b/drivers/gpu/drm/ci/xfails/msm-apq8016-flakes.txt
@@ -1,3 +1,5 @@
+kms_cursor_legacy@forked-bo
+kms_cursor_legacy@forked-move
 kms_force_connector_basic@force-connector-state
 kms_force_connector_basic@force-edid
 kms_force_connector_basic@force-load-detect
diff --git a/drivers/gpu/drm/ci/xfails/rockchip-rk3288-flakes.txt b/drivers/gpu/drm/ci/xfails/rockchip-rk3288-flakes.txt
index 45c54c75c899..081fe6f8d488 100644
--- a/drivers/gpu/drm/ci/xfails/rockchip-rk3288-flakes.txt
+++ b/drivers/gpu/drm/ci/xfails/rockchip-rk3288-flakes.txt
@@ -1,6 +1,7 @@
 kms_addfb_basic@addfb25-bad-modifier
 kms_cursor_crc@.*
 kms_flip@basic-flip-vs-wf_vblank
+kms_flip@blocking-wf_vblank
 kms_invalid_mode@int-max-clock,Crash
 kms_pipe_crc_basic@.*
 kms_properties@connector-properties-atomic,Crash
diff --git a/drivers/gpu/drm/ci/xfails/rockchip-rk3399-fails.txt b/drivers/gpu/drm/ci/xfails/rockchip-rk3399-fails.txt
index 6db08ba6b008..029a3be3164d 100644
--- a/drivers/gpu/drm/ci/xfails/rockchip-rk3399-fails.txt
+++ b/drivers/gpu/drm/ci/xfails/rockchip-rk3399-fails.txt
@@ -2,14 +2,13 @@ kms_color@legacy-gamma,Fail
 kms_color@pipe-A-legacy-gamma,Fail
 kms_color@pipe-B-legacy-gamma,Fail
 kms_flip@basic-flip-vs-wf_vblank,Fail
-kms_flip@blocking-wf_vblank,Fail
 kms_flip@dpms-vs-vblank-race,Fail
 kms_flip@flip-vs-absolute-wf_vblank,Fail
 kms_flip@flip-vs-absolute-wf_vblank-interruptible,Fail
 kms_flip@flip-vs-blocking-wf-vblank,Fail
 kms_flip@flip-vs-panning,Fail
 kms_flip@flip-vs-panning-interruptible,Fail
-kms_flip@flip-vs-wf_vblank-interruptible,Fail
+kms_flip@modeset-vs-vblank-race,Fail
 kms_flip@plain-flip-fb-recreate,Fail
 kms_flip@plain-flip-fb-recreate-interruptible,Fail
 kms_flip@plain-flip-ts-check,Fail
@@ -35,3 +34,4 @@ kms_plane_multiple@atomic-pipe-B-tiling-none,Fail
 kms_plane_multiple@tiling-none,Fail
 kms_prime@basic-crc,Fail
 kms_rmfb@close-fd,Fail
+kms_universal_plane@universal-plane-pipe-B-functional,Fail
diff --git a/drivers/gpu/drm/ci/xfails/rockchip-rk3399-flakes.txt b/drivers/gpu/drm/ci/xfails/rockchip-rk3399-flakes.txt
index 4c0539b4beaf..869426a02cbd 100644
--- a/drivers/gpu/drm/ci/xfails/rockchip-rk3399-flakes.txt
+++ b/drivers/gpu/drm/ci/xfails/rockchip-rk3399-flakes.txt
@@ -1,7 +1,10 @@
 
+kms_color@gamma
 kms_cursor_crc@.*
+kms_flip@blocking-wf_vblank
 kms_flip@dpms-vs-vblank-race-interruptible
 kms_flip@flip-vs-expired-vblank
+kms_flip@flip-vs-wf_vblank-interruptible
 kms_flip@modeset-vs-vblank-race-interruptible
 kms_pipe_crc_basic@.*
 kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-A
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH v3 7/9] drm: ci: Update xfails
@ 2023-09-08 15:22   ` Vignesh Raman
  0 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard,
	helen.koike, anholt, linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, andersson, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, guilherme.gallo

Update amdgpu-stoney-fails, mediatek-mt8173-flakes,
mediatek-mt8173-fails, rockchip-rk3399-fails, rockchip-rk3399-flakes,
rockchip-rk3288-flakes, i915-cml-fails, i915-cml-flakes,
msm-apq8016-flakes files.

Add tests that fail sometimes into the *-flakes file and tests
that are failing into the *-fails file.

Signed-off-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
---

v2:
  - No changes

v3:
  - No changes

---
 .../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 +++
 10 files changed, 27 insertions(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/ci/xfails/amdgpu-stoney-fails.txt b/drivers/gpu/drm/ci/xfails/amdgpu-stoney-fails.txt
index bd9392536e7c..58bfded8a3fc 100644
--- a/drivers/gpu/drm/ci/xfails/amdgpu-stoney-fails.txt
+++ b/drivers/gpu/drm/ci/xfails/amdgpu-stoney-fails.txt
@@ -1,7 +1,6 @@
 kms_addfb_basic@bad-pitch-65536,Fail
 kms_addfb_basic@bo-too-small,Fail
 kms_async_flips@invalid-async-flip,Fail
-kms_atomic@plane-immutable-zpos,Fail
 kms_atomic_transition@plane-toggle-modeset-transition,Fail
 kms_bw@linear-tiling-1-displays-2560x1440p,Fail
 kms_bw@linear-tiling-1-displays-3840x2160p,Fail
diff --git a/drivers/gpu/drm/ci/xfails/i915-cml-fails.txt b/drivers/gpu/drm/ci/xfails/i915-cml-fails.txt
index 6139b410e767..5f513c638beb 100644
--- a/drivers/gpu/drm/ci/xfails/i915-cml-fails.txt
+++ b/drivers/gpu/drm/ci/xfails/i915-cml-fails.txt
@@ -1,4 +1,3 @@
-kms_color@ctm-0-25,Fail
 kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-downscaling,Fail
 kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-upscaling,Fail
 kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling,Fail
diff --git a/drivers/gpu/drm/ci/xfails/i915-cml-flakes.txt b/drivers/gpu/drm/ci/xfails/i915-cml-flakes.txt
index 0514a7b3fdb0..f06f1a5b16f9 100644
--- a/drivers/gpu/drm/ci/xfails/i915-cml-flakes.txt
+++ b/drivers/gpu/drm/ci/xfails/i915-cml-flakes.txt
@@ -7,6 +7,8 @@ kms_bw@linear-tiling-3-displays-3840x2160p
 kms_bw@linear-tiling-4-displays-1920x1080p
 kms_bw@linear-tiling-4-displays-2560x1440p
 kms_bw@linear-tiling-4-displays-3840x2160p
+kms_color@ctm-0-25
+kms_cursor_legacy@torture-move
 kms_draw_crc@draw-method-xrgb8888-render-xtiled
 kms_flip@flip-vs-suspend
 kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling
diff --git a/drivers/gpu/drm/ci/xfails/i915-glk-flakes.txt b/drivers/gpu/drm/ci/xfails/i915-glk-flakes.txt
index fc41d13a2d56..3aee1f11ee90 100644
--- a/drivers/gpu/drm/ci/xfails/i915-glk-flakes.txt
+++ b/drivers/gpu/drm/ci/xfails/i915-glk-flakes.txt
@@ -8,6 +8,7 @@ kms_bw@linear-tiling-3-displays-3840x2160p
 kms_bw@linear-tiling-4-displays-1920x1080p
 kms_bw@linear-tiling-4-displays-2560x1440p
 kms_bw@linear-tiling-4-displays-3840x2160p
+kms_cursor_legacy@torture-bo
 kms_flip@blocking-wf_vblank
 kms_flip@wf_vblank-ts-check
 kms_flip@wf_vblank-ts-check-interruptible
diff --git a/drivers/gpu/drm/ci/xfails/mediatek-mt8173-fails.txt b/drivers/gpu/drm/ci/xfails/mediatek-mt8173-fails.txt
index 671916067dba..c8e64bbfd480 100644
--- a/drivers/gpu/drm/ci/xfails/mediatek-mt8173-fails.txt
+++ b/drivers/gpu/drm/ci/xfails/mediatek-mt8173-fails.txt
@@ -1,5 +1,4 @@
 kms_3d,Fail
-kms_addfb_basic@addfb25-bad-modifier,Fail
 kms_bw@linear-tiling-1-displays-1920x1080p,Fail
 kms_bw@linear-tiling-1-displays-2560x1440p,Fail
 kms_bw@linear-tiling-1-displays-3840x2160p,Fail
@@ -11,7 +10,6 @@ kms_bw@linear-tiling-3-displays-2560x1440p,Fail
 kms_bw@linear-tiling-3-displays-3840x2160p,Fail
 kms_color@pipe-A-invalid-gamma-lut-sizes,Fail
 kms_color@pipe-B-invalid-gamma-lut-sizes,Fail
-kms_force_connector_basic@force-connector-state,Fail
 kms_force_connector_basic@force-edid,Fail
 kms_force_connector_basic@force-load-detect,Fail
 kms_force_connector_basic@prune-stale-modes,Fail
diff --git a/drivers/gpu/drm/ci/xfails/mediatek-mt8173-flakes.txt b/drivers/gpu/drm/ci/xfails/mediatek-mt8173-flakes.txt
index e69de29bb2d1..9ed6722df2c2 100644
--- a/drivers/gpu/drm/ci/xfails/mediatek-mt8173-flakes.txt
+++ b/drivers/gpu/drm/ci/xfails/mediatek-mt8173-flakes.txt
@@ -0,0 +1,16 @@
+core_setmaster_vs_auth
+kms_addfb_basic@addfb25-bad-modifier
+kms_color@invalid-gamma-lut-sizes
+kms_cursor_legacy@cursor-vs-flip-atomic
+kms_cursor_legacy@cursor-vs-flip-legacy
+kms_force_connector_basic@force-connector-state
+kms_hdmi_inject@inject-4k
+kms_plane_scaling@plane-scaler-with-pixel-format-unity-scaling
+kms_plane_scaling@plane-upscale-with-modifiers-20x20
+kms_plane_scaling@plane-upscale-with-pixel-format-20x20
+kms_plane_scaling@plane-upscale-with-rotation-20x20
+kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20
+kms_plane_scaling@planes-downscale-factor-0-5-upscale-20x20
+kms_plane_scaling@planes-downscale-factor-0-75-upscale-20x20
+kms_prop_blob@invalid-set-prop
+kms_prop_blob@invalid-set-prop-any
diff --git a/drivers/gpu/drm/ci/xfails/msm-apq8016-flakes.txt b/drivers/gpu/drm/ci/xfails/msm-apq8016-flakes.txt
index 0e3b60d3fade..cd48a8c1d569 100644
--- a/drivers/gpu/drm/ci/xfails/msm-apq8016-flakes.txt
+++ b/drivers/gpu/drm/ci/xfails/msm-apq8016-flakes.txt
@@ -1,3 +1,5 @@
+kms_cursor_legacy@forked-bo
+kms_cursor_legacy@forked-move
 kms_force_connector_basic@force-connector-state
 kms_force_connector_basic@force-edid
 kms_force_connector_basic@force-load-detect
diff --git a/drivers/gpu/drm/ci/xfails/rockchip-rk3288-flakes.txt b/drivers/gpu/drm/ci/xfails/rockchip-rk3288-flakes.txt
index 45c54c75c899..081fe6f8d488 100644
--- a/drivers/gpu/drm/ci/xfails/rockchip-rk3288-flakes.txt
+++ b/drivers/gpu/drm/ci/xfails/rockchip-rk3288-flakes.txt
@@ -1,6 +1,7 @@
 kms_addfb_basic@addfb25-bad-modifier
 kms_cursor_crc@.*
 kms_flip@basic-flip-vs-wf_vblank
+kms_flip@blocking-wf_vblank
 kms_invalid_mode@int-max-clock,Crash
 kms_pipe_crc_basic@.*
 kms_properties@connector-properties-atomic,Crash
diff --git a/drivers/gpu/drm/ci/xfails/rockchip-rk3399-fails.txt b/drivers/gpu/drm/ci/xfails/rockchip-rk3399-fails.txt
index 6db08ba6b008..029a3be3164d 100644
--- a/drivers/gpu/drm/ci/xfails/rockchip-rk3399-fails.txt
+++ b/drivers/gpu/drm/ci/xfails/rockchip-rk3399-fails.txt
@@ -2,14 +2,13 @@ kms_color@legacy-gamma,Fail
 kms_color@pipe-A-legacy-gamma,Fail
 kms_color@pipe-B-legacy-gamma,Fail
 kms_flip@basic-flip-vs-wf_vblank,Fail
-kms_flip@blocking-wf_vblank,Fail
 kms_flip@dpms-vs-vblank-race,Fail
 kms_flip@flip-vs-absolute-wf_vblank,Fail
 kms_flip@flip-vs-absolute-wf_vblank-interruptible,Fail
 kms_flip@flip-vs-blocking-wf-vblank,Fail
 kms_flip@flip-vs-panning,Fail
 kms_flip@flip-vs-panning-interruptible,Fail
-kms_flip@flip-vs-wf_vblank-interruptible,Fail
+kms_flip@modeset-vs-vblank-race,Fail
 kms_flip@plain-flip-fb-recreate,Fail
 kms_flip@plain-flip-fb-recreate-interruptible,Fail
 kms_flip@plain-flip-ts-check,Fail
@@ -35,3 +34,4 @@ kms_plane_multiple@atomic-pipe-B-tiling-none,Fail
 kms_plane_multiple@tiling-none,Fail
 kms_prime@basic-crc,Fail
 kms_rmfb@close-fd,Fail
+kms_universal_plane@universal-plane-pipe-B-functional,Fail
diff --git a/drivers/gpu/drm/ci/xfails/rockchip-rk3399-flakes.txt b/drivers/gpu/drm/ci/xfails/rockchip-rk3399-flakes.txt
index 4c0539b4beaf..869426a02cbd 100644
--- a/drivers/gpu/drm/ci/xfails/rockchip-rk3399-flakes.txt
+++ b/drivers/gpu/drm/ci/xfails/rockchip-rk3399-flakes.txt
@@ -1,7 +1,10 @@
 
+kms_color@gamma
 kms_cursor_crc@.*
+kms_flip@blocking-wf_vblank
 kms_flip@dpms-vs-vblank-race-interruptible
 kms_flip@flip-vs-expired-vblank
+kms_flip@flip-vs-wf_vblank-interruptible
 kms_flip@modeset-vs-vblank-race-interruptible
 kms_pipe_crc_basic@.*
 kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-A
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH v3 8/9] drm: ci: Enable new jobs
  2023-09-08 15:22 ` Vignesh Raman
@ 2023-09-08 15:22   ` Vignesh Raman
  -1 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: helen.koike, guilherme.gallo, sergi.blanch.torne,
	david.heidelberg, daniels, gustavo.padovan,
	angelogioacchino.delregno, emma, robclark, robdclark, anholt,
	robdclark, airlied, daniel, jani.nikula, mripard,
	dmitry.baryshkov, matthias.bgg, agross, andersson, konrad.dybcio,
	robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree,
	linux-kernel, linux-mediatek, virtualization, linux-arm-msm

Enable the following jobs, as the issues noted in the
TODO comments have been resolved. This will ensure that these jobs
are now included and executed as part of the CI/CD pipeline.

msm:apq8016:
TODO: current issue: it is not fiding the NFS root. Fix and remove this rule.

mediatek:mt8173:
TODO: current issue: device is hanging. Fix and remove this rule.

virtio_gpu:none:
TODO: current issue: malloc(): corrupted top size. Fix and remove this rule.

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

v2:
  - Reworded the commit message

v3:
  - No changes

---
 drivers/gpu/drm/ci/test.yml | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml
index d85add39f425..1771af21e2d9 100644
--- a/drivers/gpu/drm/ci/test.yml
+++ b/drivers/gpu/drm/ci/test.yml
@@ -108,9 +108,6 @@ msm:apq8016:
     RUNNER_TAG: google-freedreno-db410c
   script:
     - ./install/bare-metal/fastboot.sh
-  rules:
-    # TODO: current issue: it is not fiding the NFS root. Fix and remove this rule.
-    - when: never
 
 msm:apq8096:
   extends:
@@ -273,9 +270,6 @@ mediatek:mt8173:
     DEVICE_TYPE: mt8173-elm-hana
     GPU_VERSION: mt8173
     RUNNER_TAG: mesa-ci-x86-64-lava-mt8173-elm-hana
-  rules:
-    # TODO: current issue: device is hanging. Fix and remove this rule.
-    - when: never
 
 mediatek:mt8183:
   extends:
@@ -333,6 +327,3 @@ virtio_gpu:none:
     - debian/x86_64_test-gl
     - testing:x86_64
     - igt:x86_64
-  rules:
-    # TODO: current issue: malloc(): corrupted top size. Fix and remove this rule.
-    - when: never
\ No newline at end of file
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH v3 8/9] drm: ci: Enable new jobs
@ 2023-09-08 15:22   ` Vignesh Raman
  0 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard,
	helen.koike, anholt, linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, andersson, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, guilherme.gallo

Enable the following jobs, as the issues noted in the
TODO comments have been resolved. This will ensure that these jobs
are now included and executed as part of the CI/CD pipeline.

msm:apq8016:
TODO: current issue: it is not fiding the NFS root. Fix and remove this rule.

mediatek:mt8173:
TODO: current issue: device is hanging. Fix and remove this rule.

virtio_gpu:none:
TODO: current issue: malloc(): corrupted top size. Fix and remove this rule.

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

v2:
  - Reworded the commit message

v3:
  - No changes

---
 drivers/gpu/drm/ci/test.yml | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml
index d85add39f425..1771af21e2d9 100644
--- a/drivers/gpu/drm/ci/test.yml
+++ b/drivers/gpu/drm/ci/test.yml
@@ -108,9 +108,6 @@ msm:apq8016:
     RUNNER_TAG: google-freedreno-db410c
   script:
     - ./install/bare-metal/fastboot.sh
-  rules:
-    # TODO: current issue: it is not fiding the NFS root. Fix and remove this rule.
-    - when: never
 
 msm:apq8096:
   extends:
@@ -273,9 +270,6 @@ mediatek:mt8173:
     DEVICE_TYPE: mt8173-elm-hana
     GPU_VERSION: mt8173
     RUNNER_TAG: mesa-ci-x86-64-lava-mt8173-elm-hana
-  rules:
-    # TODO: current issue: device is hanging. Fix and remove this rule.
-    - when: never
 
 mediatek:mt8183:
   extends:
@@ -333,6 +327,3 @@ virtio_gpu:none:
     - debian/x86_64_test-gl
     - testing:x86_64
     - igt:x86_64
-  rules:
-    # TODO: current issue: malloc(): corrupted top size. Fix and remove this rule.
-    - when: never
\ No newline at end of file
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH v3 9/9] drm: ci: Use scripts/config to enable/disable configs
  2023-09-08 15:22 ` Vignesh Raman
@ 2023-09-08 15:22   ` Vignesh Raman
  -1 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: helen.koike, guilherme.gallo, sergi.blanch.torne,
	david.heidelberg, daniels, gustavo.padovan,
	angelogioacchino.delregno, emma, robclark, robdclark, anholt,
	robdclark, airlied, daniel, jani.nikula, mripard,
	dmitry.baryshkov, matthias.bgg, agross, andersson, konrad.dybcio,
	robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree,
	linux-kernel, linux-mediatek, virtualization, linux-arm-msm

Instead of modifying files in git to enable/disable
configs, use scripts/config on the .config file which
will be used for building the kernel.

Suggested-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
---

v2:
  - Added a new patch in the series to use scripts/config to enable/disable configs

v3:
  - No changes

---
 drivers/gpu/drm/ci/build.sh | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh
index 092c195af242..093929a115de 100644
--- a/drivers/gpu/drm/ci/build.sh
+++ b/drivers/gpu/drm/ci/build.sh
@@ -70,19 +70,19 @@ if [ -z "$CI_MERGE_REQUEST_PROJECT_PATH" ]; then
     fi
 fi
 
-for opt in $ENABLE_KCONFIGS; do
-  echo CONFIG_$opt=y >> drivers/gpu/drm/ci/${KERNEL_ARCH}.config
-done
-for opt in $DISABLE_KCONFIGS; do
-  echo CONFIG_$opt=n >> drivers/gpu/drm/ci/${KERNEL_ARCH}.config
-done
-
 if [[ -n "${MERGE_FRAGMENT}" ]]; then
     ./scripts/kconfig/merge_config.sh ${DEFCONFIG} drivers/gpu/drm/ci/${MERGE_FRAGMENT}
 else
     make `basename ${DEFCONFIG}`
 fi
 
+for opt in $ENABLE_KCONFIGS; do
+    ./scripts/config --enable CONFIG_$opt
+done
+for opt in $DISABLE_KCONFIGS; do
+    ./scripts/config --disable CONFIG_$opt
+done
+
 make ${KERNEL_IMAGE_NAME}
 
 mkdir -p /lava-files/
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH v3 9/9] drm: ci: Use scripts/config to enable/disable configs
@ 2023-09-08 15:22   ` Vignesh Raman
  0 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-08 15:22 UTC (permalink / raw)
  To: dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard,
	helen.koike, anholt, linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, andersson, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, guilherme.gallo

Instead of modifying files in git to enable/disable
configs, use scripts/config on the .config file which
will be used for building the kernel.

Suggested-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
---

v2:
  - Added a new patch in the series to use scripts/config to enable/disable configs

v3:
  - No changes

---
 drivers/gpu/drm/ci/build.sh | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh
index 092c195af242..093929a115de 100644
--- a/drivers/gpu/drm/ci/build.sh
+++ b/drivers/gpu/drm/ci/build.sh
@@ -70,19 +70,19 @@ if [ -z "$CI_MERGE_REQUEST_PROJECT_PATH" ]; then
     fi
 fi
 
-for opt in $ENABLE_KCONFIGS; do
-  echo CONFIG_$opt=y >> drivers/gpu/drm/ci/${KERNEL_ARCH}.config
-done
-for opt in $DISABLE_KCONFIGS; do
-  echo CONFIG_$opt=n >> drivers/gpu/drm/ci/${KERNEL_ARCH}.config
-done
-
 if [[ -n "${MERGE_FRAGMENT}" ]]; then
     ./scripts/kconfig/merge_config.sh ${DEFCONFIG} drivers/gpu/drm/ci/${MERGE_FRAGMENT}
 else
     make `basename ${DEFCONFIG}`
 fi
 
+for opt in $ENABLE_KCONFIGS; do
+    ./scripts/config --enable CONFIG_$opt
+done
+for opt in $DISABLE_KCONFIGS; do
+    ./scripts/config --disable CONFIG_$opt
+done
+
 make ${KERNEL_IMAGE_NAME}
 
 mkdir -p /lava-files/
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 3/9] drm: ci: Force db410c to host mode
  2023-09-08 15:22   ` Vignesh Raman
@ 2023-09-11  7:56     ` Maxime Ripard
  -1 siblings, 0 replies; 49+ messages in thread
From: Maxime Ripard @ 2023-09-11  7:56 UTC (permalink / raw)
  To: Vignesh Raman
  Cc: dri-devel, helen.koike, guilherme.gallo, sergi.blanch.torne,
	david.heidelberg, daniels, gustavo.padovan,
	angelogioacchino.delregno, emma, robclark, robdclark, anholt,
	robdclark, airlied, daniel, jani.nikula, dmitry.baryshkov,
	matthias.bgg, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, devicetree, linux-kernel,
	linux-mediatek, virtualization, linux-arm-msm

[-- Attachment #1: Type: text/plain, Size: 2069 bytes --]

On Fri, Sep 08, 2023 at 08:52:19PM +0530, Vignesh Raman wrote:
> 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
> 
> Compile the base device tree with overlay support and use fdtoverlay
> command to merge base device tree with an overlay which contains the
> fix for USB controllers to work in host mode. [suggested by Maxime Ripard]
> 
> Suggested-by: Maxime Ripard <mripard@kernel.org>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
> ---
> 
> 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
> 
> ---
>  drivers/gpu/drm/ci/build.sh | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh
> index 7b014287a041..092c195af242 100644
> --- a/drivers/gpu/drm/ci/build.sh
> +++ b/drivers/gpu/drm/ci/build.sh
> @@ -91,7 +91,12 @@ for image in ${KERNEL_IMAGE_NAME}; do
>  done
>  
>  if [[ -n ${DEVICE_TREES} ]]; then
> -    make dtbs
> +    make DTC_FLAGS=-@ dtbs
> +    if [[ -e arch/arm64/boot/dts/qcom/apq8016-sbc.dtb ]]; then
> +        dtc -@ -I dts -O dtb -o arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtbo arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso

You don't need to compile it by hand, make dtbs should do it for you

> +        fdtoverlay -i arch/arm64/boot/dts/qcom/apq8016-sbc.dtb -o arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtbo
> +        mv arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb arch/arm64/boot/dts/qcom/apq8016-sbc.dtb
> +    fi

That is also supported by the build system already, see
k3-am642-tqma64xxl-mbax4xxl-sdcard-dtbs in
arch/arm64/boot/dts/ti/Makefile for example.

Maxime

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 3/9] drm: ci: Force db410c to host mode
@ 2023-09-11  7:56     ` Maxime Ripard
  0 siblings, 0 replies; 49+ messages in thread
From: Maxime Ripard @ 2023-09-11  7:56 UTC (permalink / raw)
  To: Vignesh Raman
  Cc: emma, dri-devel, virtualization, krzysztof.kozlowski+dt,
	robdclark, david.heidelberg, sergi.blanch.torne, gustavo.padovan,
	agross, devicetree, conor+dt, daniels, linux-arm-msm,
	helen.koike, anholt, linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, andersson, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, guilherme.gallo

[-- Attachment #1: Type: text/plain, Size: 2069 bytes --]

On Fri, Sep 08, 2023 at 08:52:19PM +0530, Vignesh Raman wrote:
> 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
> 
> Compile the base device tree with overlay support and use fdtoverlay
> command to merge base device tree with an overlay which contains the
> fix for USB controllers to work in host mode. [suggested by Maxime Ripard]
> 
> Suggested-by: Maxime Ripard <mripard@kernel.org>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
> ---
> 
> 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
> 
> ---
>  drivers/gpu/drm/ci/build.sh | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh
> index 7b014287a041..092c195af242 100644
> --- a/drivers/gpu/drm/ci/build.sh
> +++ b/drivers/gpu/drm/ci/build.sh
> @@ -91,7 +91,12 @@ for image in ${KERNEL_IMAGE_NAME}; do
>  done
>  
>  if [[ -n ${DEVICE_TREES} ]]; then
> -    make dtbs
> +    make DTC_FLAGS=-@ dtbs
> +    if [[ -e arch/arm64/boot/dts/qcom/apq8016-sbc.dtb ]]; then
> +        dtc -@ -I dts -O dtb -o arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtbo arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso

You don't need to compile it by hand, make dtbs should do it for you

> +        fdtoverlay -i arch/arm64/boot/dts/qcom/apq8016-sbc.dtb -o arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtbo
> +        mv arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb arch/arm64/boot/dts/qcom/apq8016-sbc.dtb
> +    fi

That is also supported by the build system already, see
k3-am642-tqma64xxl-mbax4xxl-sdcard-dtbs in
arch/arm64/boot/dts/ti/Makefile for example.

Maxime

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 2/9] arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode
  2023-09-08 15:22   ` Vignesh Raman
@ 2023-09-11  7:56     ` Maxime Ripard
  -1 siblings, 0 replies; 49+ messages in thread
From: Maxime Ripard @ 2023-09-11  7:56 UTC (permalink / raw)
  To: Vignesh Raman
  Cc: emma, dri-devel, virtualization, krzysztof.kozlowski+dt,
	robdclark, david.heidelberg, sergi.blanch.torne, gustavo.padovan,
	agross, devicetree, conor+dt, daniels, linux-arm-msm,
	helen.koike, anholt, linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, andersson, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, guilherme.gallo

[-- Attachment #1: Type: text/plain, Size: 1647 bytes --]

On Fri, Sep 08, 2023 at 08:52:18PM +0530, Vignesh Raman wrote:
> Due to the presence of the fastboot micro cable in the CI farm,
> it causes the hardware to remain in gadget mode instead of host mode.
> So it doesn't find the network, which results in failure to mount root
> fs via NFS.
> 
> Add an overlay dtso file that sets the dr_mode to host, allowing
> the USB controllers to work in host mode. This dtso file will be used
> in drm-ci, mesa-ci.
> 
> Overlay DT file uses the sugar syntax [suggested by Dmitry Baryshkov and Maxime Ripard]
> 
> Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Suggested-by: Maxime Ripard <mripard@kernel.org>
> Signed-off-by: Helen Koike <helen.koike@collabora.com>
> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
> ---
> 
> v3:
>   - New patch in the series to add device tree overlay in arch/arm64/boot/dts/qcom
> 
> ---
>  arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso | 8 ++++++++
>  1 file changed, 8 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
> 
> diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso b/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
> new file mode 100644
> index 000000000000..a82c26b7eae8
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
> @@ -0,0 +1,8 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +
> +/dts-v1/;
> +/plugin/;
> +
> +&usb {
> +         dr_mode = "host";
> +};
> -- 
> 2.40.1
> 

You need to add it to the Makefile too

Maxime

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 2/9] arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode
@ 2023-09-11  7:56     ` Maxime Ripard
  0 siblings, 0 replies; 49+ messages in thread
From: Maxime Ripard @ 2023-09-11  7:56 UTC (permalink / raw)
  To: Vignesh Raman
  Cc: dri-devel, helen.koike, guilherme.gallo, sergi.blanch.torne,
	david.heidelberg, daniels, gustavo.padovan,
	angelogioacchino.delregno, emma, robclark, robdclark, anholt,
	robdclark, airlied, daniel, jani.nikula, dmitry.baryshkov,
	matthias.bgg, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, devicetree, linux-kernel,
	linux-mediatek, virtualization, linux-arm-msm

[-- Attachment #1: Type: text/plain, Size: 1647 bytes --]

On Fri, Sep 08, 2023 at 08:52:18PM +0530, Vignesh Raman wrote:
> Due to the presence of the fastboot micro cable in the CI farm,
> it causes the hardware to remain in gadget mode instead of host mode.
> So it doesn't find the network, which results in failure to mount root
> fs via NFS.
> 
> Add an overlay dtso file that sets the dr_mode to host, allowing
> the USB controllers to work in host mode. This dtso file will be used
> in drm-ci, mesa-ci.
> 
> Overlay DT file uses the sugar syntax [suggested by Dmitry Baryshkov and Maxime Ripard]
> 
> Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Suggested-by: Maxime Ripard <mripard@kernel.org>
> Signed-off-by: Helen Koike <helen.koike@collabora.com>
> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
> ---
> 
> v3:
>   - New patch in the series to add device tree overlay in arch/arm64/boot/dts/qcom
> 
> ---
>  arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso | 8 ++++++++
>  1 file changed, 8 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
> 
> diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso b/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
> new file mode 100644
> index 000000000000..a82c26b7eae8
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
> @@ -0,0 +1,8 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +
> +/dts-v1/;
> +/plugin/;
> +
> +&usb {
> +         dr_mode = "host";
> +};
> -- 
> 2.40.1
> 

You need to add it to the Makefile too

Maxime

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 0/9] drm: ci: fixes
  2023-09-08 15:22 ` Vignesh Raman
@ 2023-09-11  8:06   ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 49+ messages in thread
From: Krzysztof Kozlowski @ 2023-09-11  8:06 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: helen.koike, guilherme.gallo, sergi.blanch.torne,
	david.heidelberg, daniels, gustavo.padovan,
	angelogioacchino.delregno, emma, robclark, robdclark, anholt,
	robdclark, airlied, daniel, jani.nikula, mripard,
	dmitry.baryshkov, matthias.bgg, agross, andersson, konrad.dybcio,
	robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree,
	linux-kernel, linux-mediatek, virtualization, linux-arm-msm

On 08/09/2023 17:22, 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 topic/drm-ci.

Please send DTS and defconfig separately. These patches should go via
subsystem maintainer, not drm.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 0/9] drm: ci: fixes
@ 2023-09-11  8:06   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 49+ messages in thread
From: Krzysztof Kozlowski @ 2023-09-11  8:06 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard,
	helen.koike, anholt, linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, andersson, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, guilherme.gallo

On 08/09/2023 17:22, 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 topic/drm-ci.

Please send DTS and defconfig separately. These patches should go via
subsystem maintainer, not drm.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 2/9] arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode
  2023-09-08 15:22   ` Vignesh Raman
@ 2023-09-11  8:09     ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 49+ messages in thread
From: Krzysztof Kozlowski @ 2023-09-11  8:09 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: helen.koike, guilherme.gallo, sergi.blanch.torne,
	david.heidelberg, daniels, gustavo.padovan,
	angelogioacchino.delregno, emma, robclark, robdclark, anholt,
	robdclark, airlied, daniel, jani.nikula, mripard,
	dmitry.baryshkov, matthias.bgg, agross, andersson, konrad.dybcio,
	robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree,
	linux-kernel, linux-mediatek, virtualization, linux-arm-msm

On 08/09/2023 17:22, Vignesh Raman wrote:
> Due to the presence of the fastboot micro cable in the CI farm,
> it causes the hardware to remain in gadget mode instead of host mode.
> So it doesn't find the network, which results in failure to mount root
> fs via NFS.
> 
> Add an overlay dtso file that sets the dr_mode to host, allowing
> the USB controllers to work in host mode. This dtso file will be used
> in drm-ci, mesa-ci.
> 
> Overlay DT file uses the sugar syntax [suggested by Dmitry Baryshkov and Maxime Ripard]
> 
> Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Suggested-by: Maxime Ripard <mripard@kernel.org>
> Signed-off-by: Helen Koike <helen.koike@collabora.com>
> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
> ---
> 
> v3:
>   - New patch in the series to add device tree overlay in arch/arm64/boot/dts/qcom
> 
> ---
>  arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso | 8 ++++++++
>  1 file changed, 8 insertions(+)

Split unrelated patches to separate patchsets. This has nothing to do
with DRM CI system.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 2/9] arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode
@ 2023-09-11  8:09     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 49+ messages in thread
From: Krzysztof Kozlowski @ 2023-09-11  8:09 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard,
	helen.koike, anholt, linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, andersson, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, guilherme.gallo

On 08/09/2023 17:22, Vignesh Raman wrote:
> Due to the presence of the fastboot micro cable in the CI farm,
> it causes the hardware to remain in gadget mode instead of host mode.
> So it doesn't find the network, which results in failure to mount root
> fs via NFS.
> 
> Add an overlay dtso file that sets the dr_mode to host, allowing
> the USB controllers to work in host mode. This dtso file will be used
> in drm-ci, mesa-ci.
> 
> Overlay DT file uses the sugar syntax [suggested by Dmitry Baryshkov and Maxime Ripard]
> 
> Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Suggested-by: Maxime Ripard <mripard@kernel.org>
> Signed-off-by: Helen Koike <helen.koike@collabora.com>
> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
> ---
> 
> v3:
>   - New patch in the series to add device tree overlay in arch/arm64/boot/dts/qcom
> 
> ---
>  arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso | 8 ++++++++
>  1 file changed, 8 insertions(+)

Split unrelated patches to separate patchsets. This has nothing to do
with DRM CI system.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 6/9] arm64: defconfig: Enable DA9211 regulator
  2023-09-08 15:22   ` Vignesh Raman
@ 2023-09-11  9:04     ` AngeloGioacchino Del Regno
  -1 siblings, 0 replies; 49+ messages in thread
From: AngeloGioacchino Del Regno @ 2023-09-11  9:04 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: helen.koike, guilherme.gallo, sergi.blanch.torne,
	david.heidelberg, daniels, gustavo.padovan, emma, robclark,
	robdclark, anholt, robdclark, airlied, daniel, jani.nikula,
	mripard, dmitry.baryshkov, matthias.bgg, agross, andersson,
	konrad.dybcio, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	devicetree, linux-kernel, linux-mediatek, virtualization,
	linux-arm-msm

Il 08/09/23 17:22, Vignesh Raman ha scritto:
> Mediatek mt8173 board fails to boot with DA9211 regulator disabled.
> Enabling CONFIG_REGULATOR_DA9211=y in drm-ci fixes the issue.
> 
> So enable it in the defconfig since kernel-ci also requires it.
> 
> Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

> ---
> 
> v3:
>    - New patch in the series to enable CONFIG_REGULATOR_DA9211 in defconfig
> 
> ---
>   arch/arm64/configs/defconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index a25d783dfb95..ef22b532b63a 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -711,6 +711,7 @@ CONFIG_REGULATOR_AXP20X=y
>   CONFIG_REGULATOR_BD718XX=y
>   CONFIG_REGULATOR_BD9571MWV=y
>   CONFIG_REGULATOR_CROS_EC=y
> +CONFIG_REGULATOR_DA9211=m
>   CONFIG_REGULATOR_FAN53555=y
>   CONFIG_REGULATOR_GPIO=y
>   CONFIG_REGULATOR_HI6421V530=y


^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 6/9] arm64: defconfig: Enable DA9211 regulator
@ 2023-09-11  9:04     ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 49+ messages in thread
From: AngeloGioacchino Del Regno @ 2023-09-11  9:04 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard,
	helen.koike, anholt, linux-mediatek, robclark, matthias.bgg,
	andersson, linux-kernel, konrad.dybcio, robh+dt,
	dmitry.baryshkov, guilherme.gallo

Il 08/09/23 17:22, Vignesh Raman ha scritto:
> Mediatek mt8173 board fails to boot with DA9211 regulator disabled.
> Enabling CONFIG_REGULATOR_DA9211=y in drm-ci fixes the issue.
> 
> So enable it in the defconfig since kernel-ci also requires it.
> 
> Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

> ---
> 
> v3:
>    - New patch in the series to enable CONFIG_REGULATOR_DA9211 in defconfig
> 
> ---
>   arch/arm64/configs/defconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index a25d783dfb95..ef22b532b63a 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -711,6 +711,7 @@ CONFIG_REGULATOR_AXP20X=y
>   CONFIG_REGULATOR_BD718XX=y
>   CONFIG_REGULATOR_BD9571MWV=y
>   CONFIG_REGULATOR_CROS_EC=y
> +CONFIG_REGULATOR_DA9211=m
>   CONFIG_REGULATOR_FAN53555=y
>   CONFIG_REGULATOR_GPIO=y
>   CONFIG_REGULATOR_HI6421V530=y


^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 2/9] arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode
  2023-09-08 15:22   ` Vignesh Raman
@ 2023-09-11 11:50     ` Konrad Dybcio
  -1 siblings, 0 replies; 49+ messages in thread
From: Konrad Dybcio @ 2023-09-11 11:50 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: helen.koike, guilherme.gallo, sergi.blanch.torne,
	david.heidelberg, daniels, gustavo.padovan,
	angelogioacchino.delregno, emma, robclark, robdclark, anholt,
	robdclark, airlied, daniel, jani.nikula, mripard,
	dmitry.baryshkov, matthias.bgg, agross, andersson, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, devicetree, linux-kernel,
	linux-mediatek, virtualization, linux-arm-msm

On 8.09.2023 17:22, Vignesh Raman wrote:
> Due to the presence of the fastboot micro cable in the CI farm,
> it causes the hardware to remain in gadget mode instead of host mode.
> So it doesn't find the network, which results in failure to mount root
> fs via NFS.
> 
> Add an overlay dtso file that sets the dr_mode to host, allowing
> the USB controllers to work in host mode. This dtso file will be used
> in drm-ci, mesa-ci.
> 
> Overlay DT file uses the sugar syntax [suggested by Dmitry Baryshkov and Maxime Ripard]
> 
> Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Suggested-by: Maxime Ripard <mripard@kernel.org>
> Signed-off-by: Helen Koike <helen.koike@collabora.com>
> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
> ---
For such a small change, maybe you can just use sed in your
scripts to alter this?

Konrad

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 2/9] arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode
@ 2023-09-11 11:50     ` Konrad Dybcio
  0 siblings, 0 replies; 49+ messages in thread
From: Konrad Dybcio @ 2023-09-11 11:50 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard,
	helen.koike, anholt, linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, andersson, linux-kernel, robh+dt,
	dmitry.baryshkov, guilherme.gallo

On 8.09.2023 17:22, Vignesh Raman wrote:
> Due to the presence of the fastboot micro cable in the CI farm,
> it causes the hardware to remain in gadget mode instead of host mode.
> So it doesn't find the network, which results in failure to mount root
> fs via NFS.
> 
> Add an overlay dtso file that sets the dr_mode to host, allowing
> the USB controllers to work in host mode. This dtso file will be used
> in drm-ci, mesa-ci.
> 
> Overlay DT file uses the sugar syntax [suggested by Dmitry Baryshkov and Maxime Ripard]
> 
> Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Suggested-by: Maxime Ripard <mripard@kernel.org>
> Signed-off-by: Helen Koike <helen.koike@collabora.com>
> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
> ---
For such a small change, maybe you can just use sed in your
scripts to alter this?

Konrad

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 2/9] arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode
  2023-09-11 11:50     ` Konrad Dybcio
@ 2023-09-11 12:38       ` Vignesh Raman
  -1 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-11 12:38 UTC (permalink / raw)
  To: Konrad Dybcio, dri-devel
  Cc: helen.koike, guilherme.gallo, sergi.blanch.torne,
	david.heidelberg, daniels, gustavo.padovan,
	angelogioacchino.delregno, emma, robclark, robdclark, anholt,
	robdclark, airlied, daniel, jani.nikula, mripard,
	dmitry.baryshkov, matthias.bgg, agross, andersson, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, devicetree, linux-kernel,
	linux-mediatek, virtualization, linux-arm-msm

Hi Konrad,

On 11/09/23 17:20, Konrad Dybcio wrote:
> On 8.09.2023 17:22, Vignesh Raman wrote:
>> Due to the presence of the fastboot micro cable in the CI farm,
>> it causes the hardware to remain in gadget mode instead of host mode.
>> So it doesn't find the network, which results in failure to mount root
>> fs via NFS.
>>
>> Add an overlay dtso file that sets the dr_mode to host, allowing
>> the USB controllers to work in host mode. This dtso file will be used
>> in drm-ci, mesa-ci.
>>
>> Overlay DT file uses the sugar syntax [suggested by Dmitry Baryshkov and Maxime Ripard]
>>
>> Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>> Suggested-by: Maxime Ripard <mripard@kernel.org>
>> Signed-off-by: Helen Koike <helen.koike@collabora.com>
>> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
>> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
>> ---
> For such a small change, maybe you can just use sed in your
> scripts to alter this?

This was the initial idea 
https://patchwork.kernel.org/project/linux-mediatek/patch/20230825122435.316272-3-vignesh.raman@collabora.com/

Since there was a review comment that CI should not make changes to the 
source tree before building, we went with DT overlay.

Regards,
Vignesh

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 2/9] arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode
@ 2023-09-11 12:38       ` Vignesh Raman
  0 siblings, 0 replies; 49+ messages in thread
From: Vignesh Raman @ 2023-09-11 12:38 UTC (permalink / raw)
  To: Konrad Dybcio, dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard,
	helen.koike, anholt, linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, andersson, linux-kernel, robh+dt,
	dmitry.baryshkov, guilherme.gallo

Hi Konrad,

On 11/09/23 17:20, Konrad Dybcio wrote:
> On 8.09.2023 17:22, Vignesh Raman wrote:
>> Due to the presence of the fastboot micro cable in the CI farm,
>> it causes the hardware to remain in gadget mode instead of host mode.
>> So it doesn't find the network, which results in failure to mount root
>> fs via NFS.
>>
>> Add an overlay dtso file that sets the dr_mode to host, allowing
>> the USB controllers to work in host mode. This dtso file will be used
>> in drm-ci, mesa-ci.
>>
>> Overlay DT file uses the sugar syntax [suggested by Dmitry Baryshkov and Maxime Ripard]
>>
>> Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>> Suggested-by: Maxime Ripard <mripard@kernel.org>
>> Signed-off-by: Helen Koike <helen.koike@collabora.com>
>> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
>> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
>> ---
> For such a small change, maybe you can just use sed in your
> scripts to alter this?

This was the initial idea 
https://patchwork.kernel.org/project/linux-mediatek/patch/20230825122435.316272-3-vignesh.raman@collabora.com/

Since there was a review comment that CI should not make changes to the 
source tree before building, we went with DT overlay.

Regards,
Vignesh

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 1/9] drm: ci: igt_runner: Remove todo
  2023-09-08 15:22   ` Vignesh Raman
@ 2023-09-12 16:50     ` Helen Koike
  -1 siblings, 0 replies; 49+ messages in thread
From: Helen Koike @ 2023-09-12 16:50 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: guilherme.gallo, sergi.blanch.torne, david.heidelberg, daniels,
	gustavo.padovan, angelogioacchino.delregno, emma, robclark,
	robdclark, anholt, robdclark, airlied, daniel, jani.nikula,
	mripard, dmitry.baryshkov, matthias.bgg, agross, andersson,
	konrad.dybcio, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	devicetree, linux-kernel, linux-mediatek, virtualization,
	linux-arm-msm



On 08/09/2023 12:22, Vignesh Raman wrote:
> /sys/kernel/debug/dri/*/state exist for every atomic KMS driver.
> We do not test non-atomic drivers, so remove the todo.
> 
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>

Acked-by: Helen Koike <helen.koike@collabora.com>

> ---
> 
> v2:
>    - No changes
> 
> v3:
>    - No changes
>    
> ---
>   drivers/gpu/drm/ci/igt_runner.sh | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/ci/igt_runner.sh b/drivers/gpu/drm/ci/igt_runner.sh
> index 2bb759165063..5bf130ac57c9 100755
> --- a/drivers/gpu/drm/ci/igt_runner.sh
> +++ b/drivers/gpu/drm/ci/igt_runner.sh
> @@ -15,7 +15,6 @@ cat /sys/kernel/debug/device_component/*
>   '
>   
>   # Dump drm state to confirm that kernel was able to find a connected display:
> -# TODO this path might not exist for all drivers.. maybe run modetest instead?
>   set +e
>   cat /sys/kernel/debug/dri/*/state
>   set -e

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 1/9] drm: ci: igt_runner: Remove todo
@ 2023-09-12 16:50     ` Helen Koike
  0 siblings, 0 replies; 49+ messages in thread
From: Helen Koike @ 2023-09-12 16:50 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard, anholt,
	linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, guilherme.gallo, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, andersson



On 08/09/2023 12:22, Vignesh Raman wrote:
> /sys/kernel/debug/dri/*/state exist for every atomic KMS driver.
> We do not test non-atomic drivers, so remove the todo.
> 
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>

Acked-by: Helen Koike <helen.koike@collabora.com>

> ---
> 
> v2:
>    - No changes
> 
> v3:
>    - No changes
>    
> ---
>   drivers/gpu/drm/ci/igt_runner.sh | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/ci/igt_runner.sh b/drivers/gpu/drm/ci/igt_runner.sh
> index 2bb759165063..5bf130ac57c9 100755
> --- a/drivers/gpu/drm/ci/igt_runner.sh
> +++ b/drivers/gpu/drm/ci/igt_runner.sh
> @@ -15,7 +15,6 @@ cat /sys/kernel/debug/device_component/*
>   '
>   
>   # Dump drm state to confirm that kernel was able to find a connected display:
> -# TODO this path might not exist for all drivers.. maybe run modetest instead?
>   set +e
>   cat /sys/kernel/debug/dri/*/state
>   set -e

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 2/9] arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode
  2023-09-08 15:22   ` Vignesh Raman
@ 2023-09-12 16:51     ` Helen Koike
  -1 siblings, 0 replies; 49+ messages in thread
From: Helen Koike @ 2023-09-12 16:51 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: guilherme.gallo, sergi.blanch.torne, david.heidelberg, daniels,
	gustavo.padovan, angelogioacchino.delregno, emma, robclark,
	robdclark, anholt, robdclark, airlied, daniel, jani.nikula,
	mripard, dmitry.baryshkov, matthias.bgg, agross, andersson,
	konrad.dybcio, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	devicetree, linux-kernel, linux-mediatek, virtualization,
	linux-arm-msm



On 08/09/2023 12:22, Vignesh Raman wrote:
> Due to the presence of the fastboot micro cable in the CI farm,
> it causes the hardware to remain in gadget mode instead of host mode.
> So it doesn't find the network, which results in failure to mount root
> fs via NFS.
> 
> Add an overlay dtso file that sets the dr_mode to host, allowing
> the USB controllers to work in host mode. This dtso file will be used
> in drm-ci, mesa-ci.
> 
> Overlay DT file uses the sugar syntax [suggested by Dmitry Baryshkov and Maxime Ripard]
> 
> Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Suggested-by: Maxime Ripard <mripard@kernel.org>
> Signed-off-by: Helen Koike <helen.koike@collabora.com>
> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>

Acked-by: Helen Koike <helen.koike@collabora.com>

> ---
> 
> v3:
>    - New patch in the series to add device tree overlay in arch/arm64/boot/dts/qcom
> 
> ---
>   arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso | 8 ++++++++
>   1 file changed, 8 insertions(+)
>   create mode 100644 arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
> 
> diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso b/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
> new file mode 100644
> index 000000000000..a82c26b7eae8
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
> @@ -0,0 +1,8 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +
> +/dts-v1/;
> +/plugin/;
> +
> +&usb {
> +         dr_mode = "host";
> +};

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 2/9] arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode
@ 2023-09-12 16:51     ` Helen Koike
  0 siblings, 0 replies; 49+ messages in thread
From: Helen Koike @ 2023-09-12 16:51 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard, anholt,
	linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, guilherme.gallo, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, andersson



On 08/09/2023 12:22, Vignesh Raman wrote:
> Due to the presence of the fastboot micro cable in the CI farm,
> it causes the hardware to remain in gadget mode instead of host mode.
> So it doesn't find the network, which results in failure to mount root
> fs via NFS.
> 
> Add an overlay dtso file that sets the dr_mode to host, allowing
> the USB controllers to work in host mode. This dtso file will be used
> in drm-ci, mesa-ci.
> 
> Overlay DT file uses the sugar syntax [suggested by Dmitry Baryshkov and Maxime Ripard]
> 
> Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Suggested-by: Maxime Ripard <mripard@kernel.org>
> Signed-off-by: Helen Koike <helen.koike@collabora.com>
> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>

Acked-by: Helen Koike <helen.koike@collabora.com>

> ---
> 
> v3:
>    - New patch in the series to add device tree overlay in arch/arm64/boot/dts/qcom
> 
> ---
>   arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso | 8 ++++++++
>   1 file changed, 8 insertions(+)
>   create mode 100644 arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
> 
> diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso b/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
> new file mode 100644
> index 000000000000..a82c26b7eae8
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
> @@ -0,0 +1,8 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +
> +/dts-v1/;
> +/plugin/;
> +
> +&usb {
> +         dr_mode = "host";
> +};

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 3/9] drm: ci: Force db410c to host mode
  2023-09-08 15:22   ` Vignesh Raman
@ 2023-09-12 16:52     ` Helen Koike
  -1 siblings, 0 replies; 49+ messages in thread
From: Helen Koike @ 2023-09-12 16:52 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: guilherme.gallo, sergi.blanch.torne, david.heidelberg, daniels,
	gustavo.padovan, angelogioacchino.delregno, emma, robclark,
	robdclark, anholt, robdclark, airlied, daniel, jani.nikula,
	mripard, dmitry.baryshkov, matthias.bgg, agross, andersson,
	konrad.dybcio, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	devicetree, linux-kernel, linux-mediatek, virtualization,
	linux-arm-msm



On 08/09/2023 12:22, Vignesh Raman wrote:
> 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
> 
> Compile the base device tree with overlay support and use fdtoverlay
> command to merge base device tree with an overlay which contains the
> fix for USB controllers to work in host mode. [suggested by Maxime Ripard]
> 
> Suggested-by: Maxime Ripard <mripard@kernel.org>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>

Acked-by: Helen Koike <helen.koike@collabora.com>

> ---
> 
> 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
> 
> ---
>   drivers/gpu/drm/ci/build.sh | 7 ++++++-
>   1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh
> index 7b014287a041..092c195af242 100644
> --- a/drivers/gpu/drm/ci/build.sh
> +++ b/drivers/gpu/drm/ci/build.sh
> @@ -91,7 +91,12 @@ for image in ${KERNEL_IMAGE_NAME}; do
>   done
>   
>   if [[ -n ${DEVICE_TREES} ]]; then
> -    make dtbs
> +    make DTC_FLAGS=-@ dtbs
> +    if [[ -e arch/arm64/boot/dts/qcom/apq8016-sbc.dtb ]]; then
> +        dtc -@ -I dts -O dtb -o arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtbo arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
> +        fdtoverlay -i arch/arm64/boot/dts/qcom/apq8016-sbc.dtb -o arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtbo
> +        mv arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb arch/arm64/boot/dts/qcom/apq8016-sbc.dtb
> +    fi
>       cp ${DEVICE_TREES} /lava-files/.
>   fi
>   

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 3/9] drm: ci: Force db410c to host mode
@ 2023-09-12 16:52     ` Helen Koike
  0 siblings, 0 replies; 49+ messages in thread
From: Helen Koike @ 2023-09-12 16:52 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard, anholt,
	linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, guilherme.gallo, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, andersson



On 08/09/2023 12:22, Vignesh Raman wrote:
> 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
> 
> Compile the base device tree with overlay support and use fdtoverlay
> command to merge base device tree with an overlay which contains the
> fix for USB controllers to work in host mode. [suggested by Maxime Ripard]
> 
> Suggested-by: Maxime Ripard <mripard@kernel.org>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>

Acked-by: Helen Koike <helen.koike@collabora.com>

> ---
> 
> 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
> 
> ---
>   drivers/gpu/drm/ci/build.sh | 7 ++++++-
>   1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh
> index 7b014287a041..092c195af242 100644
> --- a/drivers/gpu/drm/ci/build.sh
> +++ b/drivers/gpu/drm/ci/build.sh
> @@ -91,7 +91,12 @@ for image in ${KERNEL_IMAGE_NAME}; do
>   done
>   
>   if [[ -n ${DEVICE_TREES} ]]; then
> -    make dtbs
> +    make DTC_FLAGS=-@ dtbs
> +    if [[ -e arch/arm64/boot/dts/qcom/apq8016-sbc.dtb ]]; then
> +        dtc -@ -I dts -O dtb -o arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtbo arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
> +        fdtoverlay -i arch/arm64/boot/dts/qcom/apq8016-sbc.dtb -o arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtbo
> +        mv arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb arch/arm64/boot/dts/qcom/apq8016-sbc.dtb
> +    fi
>       cp ${DEVICE_TREES} /lava-files/.
>   fi
>   

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 4/9] drm: ci: virtio: Update ci variables
  2023-09-08 15:22   ` Vignesh Raman
@ 2023-09-12 16:52     ` Helen Koike
  -1 siblings, 0 replies; 49+ messages in thread
From: Helen Koike @ 2023-09-12 16:52 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: guilherme.gallo, sergi.blanch.torne, david.heidelberg, daniels,
	gustavo.padovan, angelogioacchino.delregno, emma, robclark,
	robdclark, anholt, robdclark, airlied, daniel, jani.nikula,
	mripard, dmitry.baryshkov, matthias.bgg, agross, andersson,
	konrad.dybcio, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	devicetree, linux-kernel, linux-mediatek, virtualization,
	linux-arm-msm



On 08/09/2023 12:22, Vignesh Raman wrote:
> Update ci variables to fix the below error,
> ERROR - Igt error: malloc(): corrupted top size
> ERROR - Igt error: Received signal SIGABRT.
> ERROR - Igt error: Stack trace:
> ERROR - Igt error:  #0 [fatal_sig_handler+0x17b]
> 
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>

Acked-by: Helen Koike <helen.koike@collabora.com>

> ---
> 
> v2:
>    - No changes
> 
> v3:
>    - No changes
> 
> ---
>   drivers/gpu/drm/ci/test.yml | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml
> index 6473cddaa7a9..d85add39f425 100644
> --- a/drivers/gpu/drm/ci/test.yml
> +++ b/drivers/gpu/drm/ci/test.yml
> @@ -316,8 +316,11 @@ virtio_gpu:none:
>     stage: virtio-gpu
>     variables:
>       CROSVM_GALLIUM_DRIVER: llvmpipe
> -    DRIVER_NAME: virtio_gpu
> +    DRIVER_NAME: virtio
>       GPU_VERSION: none
> +    CROSVM_MEMORY: 12288
> +    CROSVM_CPU: $FDO_CI_CONCURRENT
> +    CROSVM_GPU_ARGS: "vulkan=true,gles=false,backend=virglrenderer,egl=true,surfaceless=true"
>     extends:
>       - .test-gl
>     tags:

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 4/9] drm: ci: virtio: Update ci variables
@ 2023-09-12 16:52     ` Helen Koike
  0 siblings, 0 replies; 49+ messages in thread
From: Helen Koike @ 2023-09-12 16:52 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard, anholt,
	linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, guilherme.gallo, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, andersson



On 08/09/2023 12:22, Vignesh Raman wrote:
> Update ci variables to fix the below error,
> ERROR - Igt error: malloc(): corrupted top size
> ERROR - Igt error: Received signal SIGABRT.
> ERROR - Igt error: Stack trace:
> ERROR - Igt error:  #0 [fatal_sig_handler+0x17b]
> 
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>

Acked-by: Helen Koike <helen.koike@collabora.com>

> ---
> 
> v2:
>    - No changes
> 
> v3:
>    - No changes
> 
> ---
>   drivers/gpu/drm/ci/test.yml | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml
> index 6473cddaa7a9..d85add39f425 100644
> --- a/drivers/gpu/drm/ci/test.yml
> +++ b/drivers/gpu/drm/ci/test.yml
> @@ -316,8 +316,11 @@ virtio_gpu:none:
>     stage: virtio-gpu
>     variables:
>       CROSVM_GALLIUM_DRIVER: llvmpipe
> -    DRIVER_NAME: virtio_gpu
> +    DRIVER_NAME: virtio
>       GPU_VERSION: none
> +    CROSVM_MEMORY: 12288
> +    CROSVM_CPU: $FDO_CI_CONCURRENT
> +    CROSVM_GPU_ARGS: "vulkan=true,gles=false,backend=virglrenderer,egl=true,surfaceless=true"
>     extends:
>       - .test-gl
>     tags:

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 5/9] drm: ci: Enable regulator
  2023-09-08 15:22   ` Vignesh Raman
  (?)
@ 2023-09-12 16:53   ` Helen Koike
  -1 siblings, 0 replies; 49+ messages in thread
From: Helen Koike @ 2023-09-12 16:53 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard, anholt,
	linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, andersson, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, guilherme.gallo



On 08/09/2023 12:22, Vignesh Raman wrote:
> Enable CONFIG_REGULATOR_DA9211=y to fix mt8173 boot issue.
> 
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>

Acked-by: Helen Koike <helen.koike@collabora.com>

> ---
> 
> v2:
>    - No changes
> 
> v3:
>    - Remove CONFIG_RTC_DRV_MT6397=y as it is already enabled in defconfig
> 
> ---
>   drivers/gpu/drm/ci/arm64.config | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/ci/arm64.config b/drivers/gpu/drm/ci/arm64.config
> index 817e18ddfd4f..ca95e141a7ae 100644
> --- a/drivers/gpu/drm/ci/arm64.config
> +++ b/drivers/gpu/drm/ci/arm64.config
> @@ -184,6 +184,7 @@ CONFIG_HW_RANDOM_MTK=y
>   CONFIG_MTK_DEVAPC=y
>   CONFIG_PWM_MTK_DISP=y
>   CONFIG_MTK_CMDQ=y
> +CONFIG_REGULATOR_DA9211=y
>   
>   # For nouveau.  Note that DRM must be a module so that it's loaded after NFS is up to provide the firmware.
>   CONFIG_ARCH_TEGRA=y

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 6/9] arm64: defconfig: Enable DA9211 regulator
  2023-09-08 15:22   ` Vignesh Raman
@ 2023-09-12 16:56     ` Helen Koike
  -1 siblings, 0 replies; 49+ messages in thread
From: Helen Koike @ 2023-09-12 16:56 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: guilherme.gallo, sergi.blanch.torne, david.heidelberg, daniels,
	gustavo.padovan, angelogioacchino.delregno, emma, robclark,
	robdclark, anholt, robdclark, airlied, daniel, jani.nikula,
	mripard, dmitry.baryshkov, matthias.bgg, agross, andersson,
	konrad.dybcio, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	devicetree, linux-kernel, linux-mediatek, virtualization,
	linux-arm-msm



On 08/09/2023 12:22, Vignesh Raman wrote:
> Mediatek mt8173 board fails to boot with DA9211 regulator disabled.
> Enabling CONFIG_REGULATOR_DA9211=y in drm-ci fixes the issue.
> 
> So enable it in the defconfig since kernel-ci also requires it.

tbh, =m doesn't solve for mesa-ci (since we don't use an initrd, not 
sure if it solves for kernel-ci.

> 
> Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.co
In any case:

Acked-by: Helen Koike <helen.koike@collabora.com>

> ---
> 
> v3:
>    - New patch in the series to enable CONFIG_REGULATOR_DA9211 in defconfig
> 
> ---
>   arch/arm64/configs/defconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index a25d783dfb95..ef22b532b63a 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -711,6 +711,7 @@ CONFIG_REGULATOR_AXP20X=y
>   CONFIG_REGULATOR_BD718XX=y
>   CONFIG_REGULATOR_BD9571MWV=y
>   CONFIG_REGULATOR_CROS_EC=y
> +CONFIG_REGULATOR_DA9211=m

Question for the maintainers: would it be acceptable to make it a =y 
instead of =m here ? Since this is something required for booting.

Regards,
Helen

>   CONFIG_REGULATOR_FAN53555=y
>   CONFIG_REGULATOR_GPIO=y
>   CONFIG_REGULATOR_HI6421V530=y

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 6/9] arm64: defconfig: Enable DA9211 regulator
@ 2023-09-12 16:56     ` Helen Koike
  0 siblings, 0 replies; 49+ messages in thread
From: Helen Koike @ 2023-09-12 16:56 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard, anholt,
	linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, guilherme.gallo, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, andersson



On 08/09/2023 12:22, Vignesh Raman wrote:
> Mediatek mt8173 board fails to boot with DA9211 regulator disabled.
> Enabling CONFIG_REGULATOR_DA9211=y in drm-ci fixes the issue.
> 
> So enable it in the defconfig since kernel-ci also requires it.

tbh, =m doesn't solve for mesa-ci (since we don't use an initrd, not 
sure if it solves for kernel-ci.

> 
> Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.co
In any case:

Acked-by: Helen Koike <helen.koike@collabora.com>

> ---
> 
> v3:
>    - New patch in the series to enable CONFIG_REGULATOR_DA9211 in defconfig
> 
> ---
>   arch/arm64/configs/defconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index a25d783dfb95..ef22b532b63a 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -711,6 +711,7 @@ CONFIG_REGULATOR_AXP20X=y
>   CONFIG_REGULATOR_BD718XX=y
>   CONFIG_REGULATOR_BD9571MWV=y
>   CONFIG_REGULATOR_CROS_EC=y
> +CONFIG_REGULATOR_DA9211=m

Question for the maintainers: would it be acceptable to make it a =y 
instead of =m here ? Since this is something required for booting.

Regards,
Helen

>   CONFIG_REGULATOR_FAN53555=y
>   CONFIG_REGULATOR_GPIO=y
>   CONFIG_REGULATOR_HI6421V530=y

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 8/9] drm: ci: Enable new jobs
  2023-09-08 15:22   ` Vignesh Raman
@ 2023-09-12 17:01     ` Helen Koike
  -1 siblings, 0 replies; 49+ messages in thread
From: Helen Koike @ 2023-09-12 17:01 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: guilherme.gallo, sergi.blanch.torne, david.heidelberg, daniels,
	gustavo.padovan, angelogioacchino.delregno, emma, robclark,
	robdclark, anholt, robdclark, airlied, daniel, jani.nikula,
	mripard, dmitry.baryshkov, matthias.bgg, agross, andersson,
	konrad.dybcio, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	devicetree, linux-kernel, linux-mediatek, virtualization,
	linux-arm-msm



On 08/09/2023 12:22, Vignesh Raman wrote:
> Enable the following jobs, as the issues noted in the
> TODO comments have been resolved. This will ensure that these jobs
> are now included and executed as part of the CI/CD pipeline.
> 
> msm:apq8016:
> TODO: current issue: it is not fiding the NFS root. Fix and remove this rule.
> 
> mediatek:mt8173:
> TODO: current issue: device is hanging. Fix and remove this rule.
> 
> virtio_gpu:none:
> TODO: current issue: malloc(): corrupted top size. Fix and remove this rule.
> 
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>

Acked-by: Helen Koike <helen.koike@collabora.com>

> ---
> 
> v2:
>    - Reworded the commit message
> 
> v3:
>    - No changes
> 
> ---
>   drivers/gpu/drm/ci/test.yml | 9 ---------
>   1 file changed, 9 deletions(-)
> 
> diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml
> index d85add39f425..1771af21e2d9 100644
> --- a/drivers/gpu/drm/ci/test.yml
> +++ b/drivers/gpu/drm/ci/test.yml
> @@ -108,9 +108,6 @@ msm:apq8016:
>       RUNNER_TAG: google-freedreno-db410c
>     script:
>       - ./install/bare-metal/fastboot.sh
> -  rules:
> -    # TODO: current issue: it is not fiding the NFS root. Fix and remove this rule.
> -    - when: never
>   
>   msm:apq8096:
>     extends:
> @@ -273,9 +270,6 @@ mediatek:mt8173:
>       DEVICE_TYPE: mt8173-elm-hana
>       GPU_VERSION: mt8173
>       RUNNER_TAG: mesa-ci-x86-64-lava-mt8173-elm-hana
> -  rules:
> -    # TODO: current issue: device is hanging. Fix and remove this rule.
> -    - when: never
>   
>   mediatek:mt8183:
>     extends:
> @@ -333,6 +327,3 @@ virtio_gpu:none:
>       - debian/x86_64_test-gl
>       - testing:x86_64
>       - igt:x86_64
> -  rules:
> -    # TODO: current issue: malloc(): corrupted top size. Fix and remove this rule.
> -    - when: never
> \ No newline at end of file

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 8/9] drm: ci: Enable new jobs
@ 2023-09-12 17:01     ` Helen Koike
  0 siblings, 0 replies; 49+ messages in thread
From: Helen Koike @ 2023-09-12 17:01 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard, anholt,
	linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, guilherme.gallo, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, andersson



On 08/09/2023 12:22, Vignesh Raman wrote:
> Enable the following jobs, as the issues noted in the
> TODO comments have been resolved. This will ensure that these jobs
> are now included and executed as part of the CI/CD pipeline.
> 
> msm:apq8016:
> TODO: current issue: it is not fiding the NFS root. Fix and remove this rule.
> 
> mediatek:mt8173:
> TODO: current issue: device is hanging. Fix and remove this rule.
> 
> virtio_gpu:none:
> TODO: current issue: malloc(): corrupted top size. Fix and remove this rule.
> 
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>

Acked-by: Helen Koike <helen.koike@collabora.com>

> ---
> 
> v2:
>    - Reworded the commit message
> 
> v3:
>    - No changes
> 
> ---
>   drivers/gpu/drm/ci/test.yml | 9 ---------
>   1 file changed, 9 deletions(-)
> 
> diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml
> index d85add39f425..1771af21e2d9 100644
> --- a/drivers/gpu/drm/ci/test.yml
> +++ b/drivers/gpu/drm/ci/test.yml
> @@ -108,9 +108,6 @@ msm:apq8016:
>       RUNNER_TAG: google-freedreno-db410c
>     script:
>       - ./install/bare-metal/fastboot.sh
> -  rules:
> -    # TODO: current issue: it is not fiding the NFS root. Fix and remove this rule.
> -    - when: never
>   
>   msm:apq8096:
>     extends:
> @@ -273,9 +270,6 @@ mediatek:mt8173:
>       DEVICE_TYPE: mt8173-elm-hana
>       GPU_VERSION: mt8173
>       RUNNER_TAG: mesa-ci-x86-64-lava-mt8173-elm-hana
> -  rules:
> -    # TODO: current issue: device is hanging. Fix and remove this rule.
> -    - when: never
>   
>   mediatek:mt8183:
>     extends:
> @@ -333,6 +327,3 @@ virtio_gpu:none:
>       - debian/x86_64_test-gl
>       - testing:x86_64
>       - igt:x86_64
> -  rules:
> -    # TODO: current issue: malloc(): corrupted top size. Fix and remove this rule.
> -    - when: never
> \ No newline at end of file

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 9/9] drm: ci: Use scripts/config to enable/disable configs
  2023-09-08 15:22   ` Vignesh Raman
@ 2023-09-12 17:01     ` Helen Koike
  -1 siblings, 0 replies; 49+ messages in thread
From: Helen Koike @ 2023-09-12 17:01 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: guilherme.gallo, sergi.blanch.torne, david.heidelberg, daniels,
	gustavo.padovan, angelogioacchino.delregno, emma, robclark,
	robdclark, anholt, robdclark, airlied, daniel, jani.nikula,
	mripard, dmitry.baryshkov, matthias.bgg, agross, andersson,
	konrad.dybcio, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	devicetree, linux-kernel, linux-mediatek, virtualization,
	linux-arm-msm



On 08/09/2023 12:22, Vignesh Raman wrote:
> Instead of modifying files in git to enable/disable
> configs, use scripts/config on the .config file which
> will be used for building the kernel.
> 
> Suggested-by: Jani Nikula <jani.nikula@intel.com>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>

Acked-by: Helen Koike <helen.koike@collabora.com>

> ---
> 
> v2:
>    - Added a new patch in the series to use scripts/config to enable/disable configs
> 
> v3:
>    - No changes
> 
> ---
>   drivers/gpu/drm/ci/build.sh | 14 +++++++-------
>   1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh
> index 092c195af242..093929a115de 100644
> --- a/drivers/gpu/drm/ci/build.sh
> +++ b/drivers/gpu/drm/ci/build.sh
> @@ -70,19 +70,19 @@ if [ -z "$CI_MERGE_REQUEST_PROJECT_PATH" ]; then
>       fi
>   fi
>   
> -for opt in $ENABLE_KCONFIGS; do
> -  echo CONFIG_$opt=y >> drivers/gpu/drm/ci/${KERNEL_ARCH}.config
> -done
> -for opt in $DISABLE_KCONFIGS; do
> -  echo CONFIG_$opt=n >> drivers/gpu/drm/ci/${KERNEL_ARCH}.config
> -done
> -
>   if [[ -n "${MERGE_FRAGMENT}" ]]; then
>       ./scripts/kconfig/merge_config.sh ${DEFCONFIG} drivers/gpu/drm/ci/${MERGE_FRAGMENT}
>   else
>       make `basename ${DEFCONFIG}`
>   fi
>   
> +for opt in $ENABLE_KCONFIGS; do
> +    ./scripts/config --enable CONFIG_$opt
> +done
> +for opt in $DISABLE_KCONFIGS; do
> +    ./scripts/config --disable CONFIG_$opt
> +done
> +
>   make ${KERNEL_IMAGE_NAME}
>   
>   mkdir -p /lava-files/

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH v3 9/9] drm: ci: Use scripts/config to enable/disable configs
@ 2023-09-12 17:01     ` Helen Koike
  0 siblings, 0 replies; 49+ messages in thread
From: Helen Koike @ 2023-09-12 17:01 UTC (permalink / raw)
  To: Vignesh Raman, dri-devel
  Cc: emma, virtualization, krzysztof.kozlowski+dt, robdclark,
	david.heidelberg, sergi.blanch.torne, gustavo.padovan, agross,
	devicetree, conor+dt, daniels, linux-arm-msm, mripard, anholt,
	linux-mediatek, robclark, matthias.bgg,
	angelogioacchino.delregno, guilherme.gallo, linux-kernel,
	konrad.dybcio, robh+dt, dmitry.baryshkov, andersson



On 08/09/2023 12:22, Vignesh Raman wrote:
> Instead of modifying files in git to enable/disable
> configs, use scripts/config on the .config file which
> will be used for building the kernel.
> 
> Suggested-by: Jani Nikula <jani.nikula@intel.com>
> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>

Acked-by: Helen Koike <helen.koike@collabora.com>

> ---
> 
> v2:
>    - Added a new patch in the series to use scripts/config to enable/disable configs
> 
> v3:
>    - No changes
> 
> ---
>   drivers/gpu/drm/ci/build.sh | 14 +++++++-------
>   1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh
> index 092c195af242..093929a115de 100644
> --- a/drivers/gpu/drm/ci/build.sh
> +++ b/drivers/gpu/drm/ci/build.sh
> @@ -70,19 +70,19 @@ if [ -z "$CI_MERGE_REQUEST_PROJECT_PATH" ]; then
>       fi
>   fi
>   
> -for opt in $ENABLE_KCONFIGS; do
> -  echo CONFIG_$opt=y >> drivers/gpu/drm/ci/${KERNEL_ARCH}.config
> -done
> -for opt in $DISABLE_KCONFIGS; do
> -  echo CONFIG_$opt=n >> drivers/gpu/drm/ci/${KERNEL_ARCH}.config
> -done
> -
>   if [[ -n "${MERGE_FRAGMENT}" ]]; then
>       ./scripts/kconfig/merge_config.sh ${DEFCONFIG} drivers/gpu/drm/ci/${MERGE_FRAGMENT}
>   else
>       make `basename ${DEFCONFIG}`
>   fi
>   
> +for opt in $ENABLE_KCONFIGS; do
> +    ./scripts/config --enable CONFIG_$opt
> +done
> +for opt in $DISABLE_KCONFIGS; do
> +    ./scripts/config --disable CONFIG_$opt
> +done
> +
>   make ${KERNEL_IMAGE_NAME}
>   
>   mkdir -p /lava-files/

^ permalink raw reply	[flat|nested] 49+ messages in thread

end of thread, other threads:[~2023-09-12 17:02 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-08 15:22 [PATCH v3 0/9] drm: ci: fixes Vignesh Raman
2023-09-08 15:22 ` Vignesh Raman
2023-09-08 15:22 ` [PATCH v3 1/9] drm: ci: igt_runner: Remove todo Vignesh Raman
2023-09-08 15:22   ` Vignesh Raman
2023-09-12 16:50   ` Helen Koike
2023-09-12 16:50     ` Helen Koike
2023-09-08 15:22 ` [PATCH v3 2/9] arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode Vignesh Raman
2023-09-08 15:22   ` Vignesh Raman
2023-09-11  7:56   ` Maxime Ripard
2023-09-11  7:56     ` Maxime Ripard
2023-09-11  8:09   ` Krzysztof Kozlowski
2023-09-11  8:09     ` Krzysztof Kozlowski
2023-09-11 11:50   ` Konrad Dybcio
2023-09-11 11:50     ` Konrad Dybcio
2023-09-11 12:38     ` Vignesh Raman
2023-09-11 12:38       ` Vignesh Raman
2023-09-12 16:51   ` Helen Koike
2023-09-12 16:51     ` Helen Koike
2023-09-08 15:22 ` [PATCH v3 3/9] drm: ci: Force db410c to " Vignesh Raman
2023-09-08 15:22   ` Vignesh Raman
2023-09-11  7:56   ` Maxime Ripard
2023-09-11  7:56     ` Maxime Ripard
2023-09-12 16:52   ` Helen Koike
2023-09-12 16:52     ` Helen Koike
2023-09-08 15:22 ` [PATCH v3 4/9] drm: ci: virtio: Update ci variables Vignesh Raman
2023-09-08 15:22   ` Vignesh Raman
2023-09-12 16:52   ` Helen Koike
2023-09-12 16:52     ` Helen Koike
2023-09-08 15:22 ` [PATCH v3 5/9] drm: ci: Enable regulator Vignesh Raman
2023-09-08 15:22   ` Vignesh Raman
2023-09-12 16:53   ` Helen Koike
2023-09-08 15:22 ` [PATCH v3 6/9] arm64: defconfig: Enable DA9211 regulator Vignesh Raman
2023-09-08 15:22   ` Vignesh Raman
2023-09-11  9:04   ` AngeloGioacchino Del Regno
2023-09-11  9:04     ` AngeloGioacchino Del Regno
2023-09-12 16:56   ` Helen Koike
2023-09-12 16:56     ` Helen Koike
2023-09-08 15:22 ` [PATCH v3 7/9] drm: ci: Update xfails Vignesh Raman
2023-09-08 15:22   ` Vignesh Raman
2023-09-08 15:22 ` [PATCH v3 8/9] drm: ci: Enable new jobs Vignesh Raman
2023-09-08 15:22   ` Vignesh Raman
2023-09-12 17:01   ` Helen Koike
2023-09-12 17:01     ` Helen Koike
2023-09-08 15:22 ` [PATCH v3 9/9] drm: ci: Use scripts/config to enable/disable configs Vignesh Raman
2023-09-08 15:22   ` Vignesh Raman
2023-09-12 17:01   ` Helen Koike
2023-09-12 17:01     ` Helen Koike
2023-09-11  8:06 ` [PATCH v3 0/9] drm: ci: fixes Krzysztof Kozlowski
2023-09-11  8:06   ` Krzysztof Kozlowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.