From patchwork Mon Jan 25 12:26:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 370218 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp3939857jam; Mon, 25 Jan 2021 04:26:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJzmDE6Crpus4IaR8TGqYrif406kl5bLZm5ynELfDT1RBiMlsb3h2CqwF1GuubG1iRTIeRAj X-Received: by 2002:a63:ca49:: with SMTP id o9mr366717pgi.421.1611577618168; Mon, 25 Jan 2021 04:26:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611577618; cv=none; d=google.com; s=arc-20160816; b=Oz4MP0X4LWlh+ztlnwmi9qW/cU1320iJXRVVCSEWIb9+keIkbBqsfrtswBuhhodyqa ryyCegg8Sm4rU6RE1bkEOCvEO6d5FL7pB8+JIymMrmNDHV9G7G31Lt7g1DBt7HYcgaTv qALN0+7QHrbBjGEskmBMnvSmponPyWOjFVAmmXw/diahhLetMIfrD3521hsQGPnUvWBS NsJR/PFjQe6ZA1GgHu9O2qs4dxFQGJpAP42hQaEg4LtCIm9X7FVZY+52pC92Qj/cPdTN BLXIsoAEzoTh+TNmQ93lQ+Q/A3GcZc7des38nHvq3DeNMFVuvLcmdHOzCAM9Qduj6Pmr PSdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=rVz06euSUraFNfhVIZx81JkV0bJyGM6rZ37q1xN8Wi0=; b=Lp5MWmjhnP0M1aWJpVjq4HQl/2MhW4ekwktdhxJz/guGpKIe0ICTFsJNTdWt62WQE8 56ZbOoewBhw/THJxPAGYZnslxZTKBAPzF2WqvYri7Po21QMdrmgQlP0TPAax9NWGAtgr ip6y36NcDjkHM5oUBYh89Iih/9Etv8YWz70TrYxOp1hmApXCy4ocfWJ+iHfGBS5woiqG cjuoUwUqk90R23Ee7eYBzAzF1DZG09euGT0RFt6Ze3Zuj9m0LAAS33kMNKOaQHmfewK5 tV49lRhkO++8+fxZuXpLn0NU9fGOztLrVGSfCbDu7yfNE2atK1wNzdcWgpCsOHpYex2g NG3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=Ib3D0Yrz; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id bi5si18414715plb.180.2021.01.25.04.26.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jan 2021 04:26:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=Ib3D0Yrz; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 374BE8997A; Mon, 25 Jan 2021 12:26:57 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id AC94D8997A; Mon, 25 Jan 2021 12:26:55 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 40D462310A; Mon, 25 Jan 2021 12:26:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611577615; bh=A+0Js7aEmvCEqlxCd8cHbZodFFgw/k9Df4K9Dm9wPII=; h=From:To:Cc:Subject:Date:From; b=Ib3D0YrzD1CUR5but9zvYwxIeND0+tWbU7jxbm/1mcLUF54N6XWKhH/QWeLYd14eR 6mm8rR+Ya5w0KhD8rluz6fxb5crom4FcSVUwf5GzyiZy1OCsUzMLR0VUJKlhtPpVCW oTY15YVVMfDLujC/oOVsfC2a16GF+byZOa7nAHdgrs5XGoz2tFMtVi2c5wd1PpH5n3 wmUweYibZ3wHr/+RgSOhQ3dAIRIsLzdC6y60U7SvMyoK94yyaG6nReuGCrobXrmDh8 7M0+XvAPbLrJ1uEOkB4DPubqCwreOPyNmsnpn7euYkWRMRlj2zFmuIdbsX6aUqB5pP 0yd5+fM8vlDzA== From: Arnd Bergmann To: Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Daniel Vetter , Mika Kuoppala , Chris Wilson Subject: [PATCH] i915: Fix DRM_I915_WERROR dependencies Date: Mon, 25 Jan 2021 13:26:44 +0100 Message-Id: <20210125122650.4178417-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.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: , Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Arnd Bergmann , linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Arnd Bergmann CONFIG_DRM_I915_DEBUG now selects CONFIG_DRM_I915_WERROR, but fails to honor its dependencies: WARNING: unmet direct dependencies detected for DRM_I915_WERROR Depends on [n]: HAS_IOMEM [=y] && DRM_I915 [=m] && EXPERT [=y] && !COMPILE_TEST [=y] Selected by [m]: - DRM_I915_DEBUG [=y] && HAS_IOMEM [=y] && EXPERT [=y] && DRM_I915 [=m] Change the 'select' to a conditional one that doesn't trigger -Werror warnings for allmodconfig builds and other compile tests. Fixes: 4f86975f539d ("drm/i915: Add DEBUG_GEM to the recommended CI config") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/i915/Kconfig.debug | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.29.2 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/i915/Kconfig.debug b/drivers/gpu/drm/i915/Kconfig.debug index be76054c01d8..97793b28d007 100644 --- a/drivers/gpu/drm/i915/Kconfig.debug +++ b/drivers/gpu/drm/i915/Kconfig.debug @@ -31,9 +31,9 @@ config DRM_I915_DEBUG select DRM_DEBUG_SELFTEST select DMABUF_SELFTESTS select SW_SYNC # signaling validation framework (igt/syncobj*) - select DRM_I915_WERROR - select DRM_I915_DEBUG_GEM - select DRM_I915_DEBUG_GEM_ONCE + select DRM_I915_WERROR if !COMPILE_TEST + select DRM_I915_DEBUG_GEM if !COMPILE_TEST + select DRM_I915_DEBUG_GEM_ONCE if !COMPILE_TEST select DRM_I915_DEBUG_MMIO select DRM_I915_DEBUG_RUNTIME_PM select DRM_I915_SW_FENCE_DEBUG_OBJECTS