From patchwork Wed Feb 14 08:37:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13556066 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B1ED8C48BEB for ; Wed, 14 Feb 2024 08:37:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8A9DC10E2F2; Wed, 14 Feb 2024 08:37:15 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="ayz4q27C"; dkim-atps=neutral Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) by gabe.freedesktop.org (Postfix) with ESMTPS id 69E3D10E469 for ; Wed, 14 Feb 2024 08:37:11 +0000 (UTC) Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2d0f1ec376bso39851011fa.1 for ; Wed, 14 Feb 2024 00:37:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707899829; x=1708504629; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=fNyVYl5PFuqcAOEEMT/+9lJuDqPpS3TsSRcu66K/yHg=; b=ayz4q27COHV4yWCtnJqUJ4S5HDmSEIp8sc3WHBnxkogu+O+QyMgFQZzj7sU8H3BsEt P/WpkcBxdco/x9z26S0SvDoTmdZEZYSWeH0aDKaSp44dpe+xyLxjeyI+oh3q10fPUP7h dRsrJcjwepkSRh35vPp892m35aJKGMMUIilFJwTcKqtOByRzA6piePvZRN0GsX1seh4k /+UO+wc13FuOLRt8L7Bp3BkafhXV/BgxuDl9niGkvK2UCdHroxPJ8MCPGwSRzM5P9N11 n3y4tlwCzXi4c2aVyJmbRFG9+W61apX0j2ZsSSiCWJWvYlWQsxdIvswkHHeMT6OdZAeJ zQAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707899829; x=1708504629; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fNyVYl5PFuqcAOEEMT/+9lJuDqPpS3TsSRcu66K/yHg=; b=cLzUrS5+CDRNwconIN3xl9xIUlFteCl8g8fMM704ja2CwiBY5uE9CMzErALZtUulkc bFpWdA9JShmA2asDS0TPwpUDCwFvVvFHAZdGQq9255BknuN/dOcboo4IjIiSKroXzFeI sezhi+4eO41Ommhd/gOfHfY4zgnKuLp1rAVopd86TnPoRp/34aqiiKFmZfQX9DGpFe9n +iifhgc7k2Qi0ghAp0dF1XJrJxT2OpJQf0GorFH0KY7lqno28qzG6HPwmnmRx4Rempwz vjFpd7lNpF1a7xbYO2I4p6Q8MSdxV+sWDS474MAsuH83krs30qkX3T/TJZdmsBtMpGQX xP9g== X-Forwarded-Encrypted: i=1; AJvYcCXSqC4JRzVxxC+oGx5P8Eg6fgjmD2gYapOuL7TugLL4GMy+x16mbWL055LG1MZ7DX8rPPyibUBnz1o3LXavtnCIIOF9gwKMw4pb/dXDDR6V X-Gm-Message-State: AOJu0YxG/MwFusdxgl+Rj9ei9t4FNE/+ExLe8+iBrg4seV0WcXuuNihm 9Gy6RtX+Zzyks/C/LNp1PTJ24A5UqGEpMnOl36oyajoYVHCVbetkAZ5Zdtzuihw= X-Google-Smtp-Source: AGHT+IESjS4v4O4IHu7zLNFREuyQ+kQhHPlDn4XXTnrj7CrGdmKCVUDHMgznemDujddsMvwh+7i69Q== X-Received: by 2002:a2e:9dd3:0:b0:2d0:cd24:24c3 with SMTP id x19-20020a2e9dd3000000b002d0cd2424c3mr1418345ljj.53.1707899829397; Wed, 14 Feb 2024 00:37:09 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXg78QslHrsDT2+naoGhAfKLkRKLC8r6TiToOHCSZbeIj3fyJZGhzBaUo2CP8B3/PXwrBX65FVyCY2US5pEt6U8YBE+H+YR1bTIoixxD7yAtkFC1WuSfTIYXLDRrfL0+mJBkhGApnL4xMRhiWZEcTGCU4vrNTfZyEyhdFiwdq4CF0FVTQRddcemlmCOUnSeGKEeDr1yP2uoQvxKNP9O0LbNHHCgo74wZ3WS2Bw2mvRgJe7A90+LcYvbVxIswlP6jXR9rLTsJLmeNsdCWGGatlS73uNaTBBtyuNT+Nk1Egzf4M1/hTrR4IMEAEd0u0q4uYmRuJlAYPt7iutspQ4cje82GwRaYWrH1VQ2osqrs9FQ8u2351oj8zpqKmJDC9mLtPZiSL8yRa8= Received: from umbar.unikie.fi ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id z28-20020a05651c023c00b002d0c14e4f94sm793294ljn.74.2024.02.14.00.37.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 00:37:08 -0800 (PST) From: Dmitry Baryshkov To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Helen Koike Cc: Rob Clark , Abhinav Kumar , dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Javier Martinez Canillas Subject: [PATCH v2] drm: ci: use clk_ignore_unused for apq8016 Date: Wed, 14 Feb 2024 10:37:08 +0200 Message-Id: <20240214083708.2323967-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" If the ADV7511 bridge driver is compiled as a module, while DRM_MSM is built-in, the clk_disable_unused congests with the runtime PM handling of the DSI PHY for the clk_prepare_lock(). This causes apq8016 runner to fail without completing any jobs ([1]). Drop the BM_CMDLINE which duplicate the command line from the .baremetal-igt-arm64 clause and enforce the clk_ignore_unused kernelarg instead to make apq8016 runner work. [1] https://gitlab.freedesktop.org/drm/msm/-/jobs/54990475 Fixes: 0119c894ab0d ("drm: Add initial ci/ subdirectory") Reviewed-by: Javier Martinez Canillas Signed-off-by: Dmitry Baryshkov Acked-by: Helen Koike --- Changes in v2: - Added a comment, describing the issue and a way to reproduce it (Javier) --- 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 7ffb620d7398..e64205286a27 100644 --- a/drivers/gpu/drm/ci/test.yml +++ b/drivers/gpu/drm/ci/test.yml @@ -119,7 +119,10 @@ msm:apq8016: DRIVER_NAME: msm 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" + # disabling unused clocks congests with the MDSS runtime PM trying to + # disable those clocks and causes boot to fail. + # Reproducer: DRM_MSM=y, DRM_I2C_ADV7511=m + BM_KERNEL_EXTRA_ARGS: clk_ignore_unused RUNNER_TAG: google-freedreno-db410c script: - ./install/bare-metal/fastboot.sh