Message ID | 20240317163615.563428-1-linux@roeck-us.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 B8B49C54E67 for <linux-arm-kernel@archiver.kernel.org>; Sun, 17 Mar 2024 16:36:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=bpkZWXZcKty4nz3L3F8SGxW4TNS+XPIPzIQIoc9FbN0=; b=HWZ1fTLb2/6bLC 7AP7yCfUsCkfHjGRSFxNlZ95/04VVClnunippGkqfORomkISXVtIdEnoAdEzipKjXzuaAonEpx0YP doCCTmoBJ2xHf+NgHQVSL6R5DTXHITzvR9tmWsKNlT7+kn8tdgIBHtZbNiCscGT3n6n8ALvtRnKJC hfWqSEBFOQU69FX3oIdE0AgPWzLTs9OX46wv2VrU+l8R6T4KoO7vYr80wU1i48IerFu6p0b+fkUXj OM8ZxGVUeuJTEYvSN0nZTBrZbJaXcbbAk+kiUbkrdhQ8wHcQbaRQvCdkz197nIImNxZC+xsMSU9Oo rhGbFIdDHz1j7UpVl/iQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rltUl-00000005lpe-2p34; Sun, 17 Mar 2024 16:36:23 +0000 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rltUi-00000005lnA-2qLv for linux-arm-kernel@lists.infradead.org; Sun, 17 Mar 2024 16:36:22 +0000 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-6e6b6e000a4so2548473b3a.0 for <linux-arm-kernel@lists.infradead.org>; Sun, 17 Mar 2024 09:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710693378; x=1711298178; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=OF79KXhVjtXexZ/GpI6MkY7a20tX+4xRmIvmqST+AnU=; b=db35H1bo7+GpjPJ0qY1VYsUZIX63IWD5cind7N6o+H3aUJZCxP1gAMsneU/Q6Wvorl g7eBSrw2iTwcNIhpE3u7bsJsJd6Die0+0EA7iEsB+gQ3xsSqno16gRGEz7YzmwA0p6x8 V07Qi5vv3JdgX4jO/5M5e58QNifdwd4P1ARuumSmnUCsXiF5DwonjHmgjys8edDwjeFT aqm3CmZ47Erif3HO7PiDeC45gArTlc5e9QjaNCxLLURX1H6FLxhNLozViJP/B1R6jlTr y4JrfcGJKyFIjlvOr+Rv4hVnY4h3EyHrPXIGpdYW8qtqjbdsIOso8NIBQPdmJy8zwbtJ eeOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710693378; x=1711298178; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=OF79KXhVjtXexZ/GpI6MkY7a20tX+4xRmIvmqST+AnU=; b=g9rOboGZa+NBy3w02g01kTQX8lRk+AEc3iEhtoVf7SlLE5RAWSIbqdAjFA6WL4VpeB AXRL3WCdL1KWeCMUqjHSZYsSnLLLIwWDSKnNdaP/ty2ezR7lkBBtISjY9DMN1SU7ydd6 6bFDcrNEeA5r3i+CsXjqnEnZlMVXn/tQ/R3EG9RWIqmzWm/PMqdVNHKKLsNGp/2HPA2M g0WmOsATNUCwdp30XdQImcAtJPR11ztRVrz8mZGwNbO/RK8JWMgcu5HRjVjJkr8tF9VL 2fXVdOi+v3QayrH1lBWLkKQ9bGT5aV9N7T3N4sa4LA9zI3ISlm6bYzTFEz1acEmOcZlV PqHg== X-Forwarded-Encrypted: i=1; AJvYcCUg8WfidgyIxKEGKU0mh/YmW7ict6890faec8+VyW0Fy+rXHpqoXxKpRpYs1b52DOccJ+L5aryM+rnOnWLqziG2XPTXTYJzEWgWf2k8H3HWhPVDcFI= X-Gm-Message-State: AOJu0YyJ0T+q2KRBOEG6oxG3DB7gBYOu18/Ewim5XiL08EJupftvePtJ givhK3oeXED1b043Fj59ZaCcuDXGfSE8q7zwk0JPq22alvSSWoi4 X-Google-Smtp-Source: AGHT+IGa2J0FGsz6KPc52ig70pMekzfNXoYYgf9jnNcxMqsM/th4nXVjaLrcgxRudeFE0v35xphm8A== X-Received: by 2002:a05:6a20:e123:b0:1a3:4ff4:219b with SMTP id kr35-20020a056a20e12300b001a34ff4219bmr9172546pzb.12.1710693378049; Sun, 17 Mar 2024 09:36:18 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id p24-20020aa78618000000b006e4f311f61bsm6373725pfn.103.2024.03.17.09.36.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 09:36:17 -0700 (PDT) From: Guenter Roeck <linux@roeck-us.net> To: Maxime Ripard <mripard@kernel.org> Cc: Chen-Yu Tsai <wens@csie.org>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Thomas Zimmermann <tzimmermann@suse.de>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Guenter Roeck <linux@roeck-us.net> Subject: [PATCH] drm/sun4i: Drop COMPILE_TEST Date: Sun, 17 Mar 2024 09:36:15 -0700 Message-Id: <20240317163615.563428-1-linux@roeck-us.net> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240317_093621_095031_F2E974D9 X-CRM114-Status: GOOD ( 13.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
drm/sun4i: Drop COMPILE_TEST
|
expand
|
diff --git a/drivers/gpu/drm/sun4i/Kconfig b/drivers/gpu/drm/sun4i/Kconfig index 4741d9f6544c..015539bfda2a 100644 --- a/drivers/gpu/drm/sun4i/Kconfig +++ b/drivers/gpu/drm/sun4i/Kconfig @@ -2,7 +2,7 @@ config DRM_SUN4I tristate "DRM Support for Allwinner A10 Display Engine" depends on DRM && COMMON_CLK - depends on ARCH_SUNXI || COMPILE_TEST + depends on ARCH_SUNXI select DRM_GEM_DMA_HELPER select DRM_KMS_HELPER select DRM_PANEL
Attempts to build the sun4i drm code on various architectures using gcc 11.x or older fails with ERROR: modpost: "__udivdi3" [drivers/gpu/drm/sun4i/sun4i-drm-hdmi.ko] undefined! This is due to commit 358e76fd613a ("drm/sun4i: hdmi: Consolidate atomic_check and mode_valid") which introduces a constant 64-bit divide operation. Some compilers / compiler versions fail to translate this operation into fixed code. Manual exclusion lists such as "Only build test this code on this subset of architectures" or "Do not test this code on this set of architectures" do not scale. Remove COMPILE_TEST support for the suni4 drm driver instead to ensure that test builds are only performed on supported architectures. Fixes: 358e76fd613a ("drm/sun4i: hdmi: Consolidate atomic_check and mode_valid") Signed-off-by: Guenter Roeck <linux@roeck-us.net> --- drivers/gpu/drm/sun4i/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)