From patchwork Wed Nov 20 20:41:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 13881759 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 34793D75BD8 for ; Thu, 21 Nov 2024 08:40:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8DAEE10E898; Thu, 21 Nov 2024 08:40:21 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=suse.cz header.i=@suse.cz header.b="3FYwv4Ai"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="LEIi3BBs"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="3FYwv4Ai"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="LEIi3BBs"; dkim-atps=neutral Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1C75610E02D; Wed, 20 Nov 2024 20:41:36 +0000 (UTC) Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (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) by smtp-out1.suse.de (Postfix) with ESMTPS id B82BB2198E; Wed, 20 Nov 2024 20:41:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1732135294; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=XfALIRkRLxT9Gd8nEh/iFmuASz8XRiA4HZA6xP6QCeI=; b=3FYwv4AiyPOmKfLZ3D3/p7u7WgEVeHj/v9+ESgPuqpnU6GkA7OUzbk3WVMQ/yV6vCfve5L 3BZI1sNYvSzK+34aIs5Cm7bNbtY131GfcDgoOQyIUOjeSNze980wHCXrXLo9/B9f8DOxBP AsyHmfaUE+6daSAEaxXr5CcrcuyvSuM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1732135294; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=XfALIRkRLxT9Gd8nEh/iFmuASz8XRiA4HZA6xP6QCeI=; b=LEIi3BBsaiFjRU6v0i2sWokHey6an8mChD/2LTCkavPKhCxa7lEOj382NfHsIYMjdCd/Wb 918denJEnJKP+eBQ== Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=3FYwv4Ai; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=LEIi3BBs DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1732135294; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=XfALIRkRLxT9Gd8nEh/iFmuASz8XRiA4HZA6xP6QCeI=; b=3FYwv4AiyPOmKfLZ3D3/p7u7WgEVeHj/v9+ESgPuqpnU6GkA7OUzbk3WVMQ/yV6vCfve5L 3BZI1sNYvSzK+34aIs5Cm7bNbtY131GfcDgoOQyIUOjeSNze980wHCXrXLo9/B9f8DOxBP AsyHmfaUE+6daSAEaxXr5CcrcuyvSuM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1732135294; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=XfALIRkRLxT9Gd8nEh/iFmuASz8XRiA4HZA6xP6QCeI=; b=LEIi3BBsaiFjRU6v0i2sWokHey6an8mChD/2LTCkavPKhCxa7lEOj382NfHsIYMjdCd/Wb 918denJEnJKP+eBQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (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) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 2C7E8137CF; Wed, 20 Nov 2024 20:41:34 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id b/6dB35JPmdiGwAAD6G6ig (envelope-from ); Wed, 20 Nov 2024 20:41:34 +0000 From: Petr Vorel To: linux-arm-msm@vger.kernel.org Cc: Petr Vorel , Masahiro Yamada , Dmitry Baryshkov , Andrew Morton , linux-kbuild@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Rob Clark Subject: [PATCH v4 1/2] init/Kconfig: add python3 availability config Date: Wed, 20 Nov 2024 21:41:24 +0100 Message-ID: <20241120204125.52644-1-pvorel@suse.cz> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Rspamd-Queue-Id: B82BB2198E X-Rspamd-Action: no action X-Spamd-Result: default: False [-3.01 / 50.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; R_MISSING_CHARSET(0.50)[]; R_DKIM_ALLOW(-0.20)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; RCPT_COUNT_SEVEN(0.00)[10]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FUZZY_BLOCKED(0.00)[rspamd.com]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; FROM_HAS_DN(0.00)[]; FREEMAIL_CC(0.00)[suse.cz,kernel.org,linaro.org,linux-foundation.org,vger.kernel.org,lists.freedesktop.org,gmail.com]; TO_DN_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[suse.cz:+] X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Mailman-Approved-At: Thu, 21 Nov 2024 08:40:20 +0000 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" It will be used in the next commit for DRM_MSM. Suggested-by: Rob Clark Signed-off-by: Petr Vorel --- Changes v3->v4: * Move definition to the end of the file init/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init/Kconfig b/init/Kconfig index fbd0cb06a50a..c77e45484e81 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -2047,3 +2047,6 @@ config ARCH_HAS_SYNC_CORE_BEFORE_USERMODE # . config ARCH_HAS_SYSCALL_WRAPPER def_bool n + +config HAVE_PYTHON3 + def_bool $(success,$(PYTHON3) -V) From patchwork Wed Nov 20 20:41:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 13881760 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 C9DBBD75BD7 for ; Thu, 21 Nov 2024 08:40:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2ABC110E89C; Thu, 21 Nov 2024 08:40:22 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=suse.cz header.i=@suse.cz header.b="pofRjcK3"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="7Kp71/5v"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="pofRjcK3"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="7Kp71/5v"; dkim-atps=neutral Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by gabe.freedesktop.org (Postfix) with ESMTPS id C3E8E10E02D; Wed, 20 Nov 2024 20:41:36 +0000 (UTC) Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (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) by smtp-out1.suse.de (Postfix) with ESMTPS id 4F226219C3; Wed, 20 Nov 2024 20:41:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1732135295; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LGkwNipyn0toHixMbN8JudME9qeL25ztEAtZhhf3gpI=; b=pofRjcK3Jc8MuPaatFHBlC/Iyb0/YIrb+0BjloVTXUnBABk3M4eO0hA1UyYxrCwdOzQaL4 pKXs3cRYX5AV5P690yNRelv+UABOTF/bNCAKH61do6ko76+T9eNwItZLK1BsvlxNqH6gay E/xhyiB8rC67tqEagLkeXWRExNFv8Nw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1732135295; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LGkwNipyn0toHixMbN8JudME9qeL25ztEAtZhhf3gpI=; b=7Kp71/5v7NM85jjSXij6Jbym5/rqpZfpgeIKbAxa0N8i42iI+XV3q3BZcGPkDrb+VEFNzU sXd085v7eLw1ZODA== Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=pofRjcK3; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b="7Kp71/5v" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1732135295; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LGkwNipyn0toHixMbN8JudME9qeL25ztEAtZhhf3gpI=; b=pofRjcK3Jc8MuPaatFHBlC/Iyb0/YIrb+0BjloVTXUnBABk3M4eO0hA1UyYxrCwdOzQaL4 pKXs3cRYX5AV5P690yNRelv+UABOTF/bNCAKH61do6ko76+T9eNwItZLK1BsvlxNqH6gay E/xhyiB8rC67tqEagLkeXWRExNFv8Nw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1732135295; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LGkwNipyn0toHixMbN8JudME9qeL25ztEAtZhhf3gpI=; b=7Kp71/5v7NM85jjSXij6Jbym5/rqpZfpgeIKbAxa0N8i42iI+XV3q3BZcGPkDrb+VEFNzU sXd085v7eLw1ZODA== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (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) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id C426213942; Wed, 20 Nov 2024 20:41:34 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id YK/bLX5JPmdiGwAAD6G6ig (envelope-from ); Wed, 20 Nov 2024 20:41:34 +0000 From: Petr Vorel To: linux-arm-msm@vger.kernel.org Cc: Petr Vorel , Masahiro Yamada , Dmitry Baryshkov , Andrew Morton , linux-kbuild@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 2/2] drm/msm: depend on python3 Date: Wed, 20 Nov 2024 21:41:25 +0100 Message-ID: <20241120204125.52644-2-pvorel@suse.cz> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241120204125.52644-1-pvorel@suse.cz> References: <20241120204125.52644-1-pvorel@suse.cz> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4F226219C3 X-Spamd-Result: default: False [-3.01 / 50.00]; BAYES_HAM(-3.00)[99.99%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_MISSING_CHARSET(0.50)[]; R_DKIM_ALLOW(-0.20)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-0.999]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCPT_COUNT_SEVEN(0.00)[9]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; TO_DN_SOME(0.00)[]; DKIM_TRACE(0.00)[suse.cz:+] X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Rspamd-Action: no action X-Mailman-Approved-At: Thu, 21 Nov 2024 08:40:20 +0000 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" 0fddd045f88e introduced python3 dependency, use HAVE_PYTHON3 to make it obvious. Signed-off-by: Petr Vorel --- Changes v3->v4: * The same as in v3. drivers/gpu/drm/msm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig index 90c68106b63b..03ea0c83f11e 100644 --- a/drivers/gpu/drm/msm/Kconfig +++ b/drivers/gpu/drm/msm/Kconfig @@ -11,6 +11,7 @@ config DRM_MSM depends on QCOM_LLCC || QCOM_LLCC=n depends on QCOM_COMMAND_DB || QCOM_COMMAND_DB=n depends on PM + depends on HAVE_PYTHON3 select IOMMU_IO_PGTABLE select QCOM_MDT_LOADER if ARCH_QCOM select REGULATOR