From patchwork Thu Sep 14 08:54:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raman X-Patchwork-Id: 139448 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp207511vqi; Thu, 14 Sep 2023 01:59:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE5Ne+CJ4yS7CDE3S5EHiivgQ8cJH0icP7zazK0fZEGwe+OLyiRcXXtAWfdFuerH0bQ9yh+ X-Received: by 2002:a05:6a00:1584:b0:68f:efc2:ba46 with SMTP id u4-20020a056a00158400b0068fefc2ba46mr5371825pfk.25.1694681970082; Thu, 14 Sep 2023 01:59:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694681970; cv=none; d=google.com; s=arc-20160816; b=lJcjtkembBpe02aCmSfYF/I564yUVKxwvjlCB9EFSwlw4LrvLcd0gpP1ahR3S3OsA+ seWm2YEUWx5zfnVJB0o1upII+CCxOeQCXzh1kLiBqb0Pa1SpG1qQ1wblw3d9a0vdvLXw sG4BT1mRyyh5TGbDrmlfHuas7mXSdKg7xXPY32r32469rAvAGJ91fliU9vug3vPmPcLO 7xoIL8axSJo/TLTT3vuPQGHEDumY8VfLhUQhI6JpfQFTmljnJnGuJQ5dG+UYN85YXKSB vPDI3WQdOsEOqzRs9WDGBTDuCjDX79oIUxcEzDMxMAyyZtwz18yDxu02GdQvPt7BbIDe 97YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=l5AYpPwIm9CqP7wQZXbY2T0q26ZrvNwJJJFVRhe/81A=; fh=cxnKBCJg0bNcqydgpga3RSEfaAMQprbtiSOJOcJS6+w=; b=gAYa3ouquLxtXFBJB/90joLYFOvQQreOTXRxdpSsB1QMDzEpP0LfgGgeVM6MthKv/V JmPTNIwbS3OBJHebcymoysZghfZerQoQsvi5WdraS2NFCZIrVbAPbW1rZMdgW2pgTJ8H oJ3ZwC3IuBHu3R/2tNiNXtro4jN1efjIHTVZPgqGesNIqe4V4FT5r300vRi70MBDnV72 g9Mf1bNpOz90ekXNCVIAykT1TjhaC8D5IS7fGY37XJAvV6qEFh8iyslbvV8L8eiH1Xnu Hf/O5+9D3hXhbv59nWqak99YFjhA/+c9S2uT5L/eWpwRd9Hs/bvJt9I8yCtj55yF7ZV9 vHZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=krwbmaTk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id bx15-20020a056a00428f00b0068c7033a5f5si1167228pfb.74.2023.09.14.01.59.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 01:59:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=krwbmaTk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 512DB8326697; Thu, 14 Sep 2023 01:55:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236496AbjINIzH (ORCPT + 35 others); Thu, 14 Sep 2023 04:55:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236384AbjINIyx (ORCPT ); Thu, 14 Sep 2023 04:54:53 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EFB61BF4; Thu, 14 Sep 2023 01:54:49 -0700 (PDT) Received: from localhost.localdomain (unknown [171.76.82.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: vignesh) by madras.collabora.co.uk (Postfix) with ESMTPSA id 1BD706607347; Thu, 14 Sep 2023 09:54:44 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1694681688; bh=zlz+tg2hsA1FIzt4YEsD2MHA2TpH5Kh7y/wSiT44Za0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=krwbmaTkXt/6UhmET4qPO45Rx+vN2wi77QQ7+OJKVw4aHXo5Xk7BZJ66pVEVkl6Az VBqOdBdqmzr0OkCZCBSGcpfTjk4y40D9PzkrieefZa/Q22TtkqCJcGXBOUpQpdb2OV iA2l/9BlN49lno6bLJh/Y+lZogSut3hSHf/Zy+TTESHTP7FBL5o0L2s11mZUX229m+ qeKQUzz1sXwuT82GfAD85TExadIb4F45yexShVPlP4oSmCy8k83vygE9nabrWuSxLS bV6wCtMV2uRFwBYIi4P9e3HNjZmfwvm/I8NoSmr7VF7vccwgpLyunKKjzpFypNylsh l8wqLuHDcRSyA== From: Vignesh Raman To: helen.koike@collabora.com, airlied@gmail.com, daniel@ffwll.ch Cc: david.heidelberg@collabora.com, sergi.blanch.torne@collabora.com, guilherme.gallo@collabora.com, daniels@collabora.com, gustavo.padovan@collabora.com, emma@anholt.net, robdclark@gmail.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, virtualization@lists.linux-foundation.org, linux-rockchip@lists.infradead.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v4 2/7] drm: ci: Force db410c to host mode Date: Thu, 14 Sep 2023 14:24:21 +0530 Message-Id: <20230914085426.883255-3-vignesh.raman@collabora.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230914085426.883255-1-vignesh.raman@collabora.com> References: <20230914085426.883255-1-vignesh.raman@collabora.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 14 Sep 2023 01:55:29 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777002841453241913 X-GMAIL-MSGID: 1777002841453241913 Force db410c to host mode to fix network issue which results in failure to mount root fs via NFS. See https://gitlab.freedesktop.org/gfx-ci/linux/-/commit/cb72a629b8c15c80a54dda510743cefd1c4b65b8 Use apq8016-sbc-usb-host.dtb which allows the USB controllers to work in host mode. Acked-by: Helen Koike Signed-off-by: Vignesh Raman --- v2: - Use fdtoverlay command to merge overlay dtbo with the base dtb instead of modifying the kernel sources v3: - drm-ci scripts to use device tree overlay from arch/arm64/boot/dts/qcom and compile base device tree with overlay support v4: - Use apq8016-sbc-usb-host.dtb which allows the USB controllers to work in host mode. This patch depends on https://lore.kernel.org/lkml/20230911161518.650726-1-vignesh.raman@collabora.com/ --- drivers/gpu/drm/ci/build.sh | 2 +- drivers/gpu/drm/ci/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh index 7b014287a041..58b71538f489 100644 --- a/drivers/gpu/drm/ci/build.sh +++ b/drivers/gpu/drm/ci/build.sh @@ -19,7 +19,7 @@ if [[ "$KERNEL_ARCH" = "arm64" ]]; then DEVICE_TREES+=" arch/arm64/boot/dts/amlogic/meson-gxl-s805x-libretech-ac.dtb" DEVICE_TREES+=" arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dtb" DEVICE_TREES+=" arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dtb" - DEVICE_TREES+=" arch/arm64/boot/dts/qcom/apq8016-sbc.dtb" + DEVICE_TREES+=" arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb" DEVICE_TREES+=" arch/arm64/boot/dts/qcom/apq8096-db820c.dtb" DEVICE_TREES+=" arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dtb" DEVICE_TREES+=" arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtb" diff --git a/drivers/gpu/drm/ci/test.yml b/drivers/gpu/drm/ci/test.yml index 6473cddaa7a9..56009e5495cc 100644 --- a/drivers/gpu/drm/ci/test.yml +++ b/drivers/gpu/drm/ci/test.yml @@ -102,7 +102,7 @@ msm:apq8016: stage: msm variables: DRIVER_NAME: msm - BM_DTB: https://${PIPELINE_ARTIFACTS_BASE}/arm64/apq8016-sbc.dtb + BM_DTB: https://${PIPELINE_ARTIFACTS_BASE}/arm64/apq8016-sbc-usb-host.dtb GPU_VERSION: apq8016 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 $BM_KERNEL_EXTRA_ARGS root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init $BM_KERNELARGS" RUNNER_TAG: google-freedreno-db410c