From patchwork Wed Nov 20 20:26:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 13881436 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8B771145B18; Wed, 20 Nov 2024 20:26:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732134412; cv=none; b=eVwmDte1Xp40q4Ago5xBpsGnVr/gE+Jgwd7/8RA7x8jZMLoaYR9Nzv6ADDmxg0pCcBEHYmwIiN+9oH4sjiKZ5i13p/PkX3IYn7mVzYWCYpxd+i5R7VW4N5uSv4kaFIl2xCteyKo8nnXgoJ1ZvZeCg8A6GMlYv/BCRd66owvG40U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732134412; c=relaxed/simple; bh=tjssbdR3Q74xEHjxG6bARxfye4U8htp7tS0uw3JI8hw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=q9FAL0s336Sf3KMTjVLEiCElspO2GFrC88n5fL8K5fCRAAhhV0Y+gcuB4yQ1n2vn65+5JzfUDiyC8WeS6wzcibbIc9Lg2Plc4qq3AIvnwMniW6bPQCq4/5yL7AFfDoULSDl6DJxAfuFEP8xUlB0YAjEqAngdiCQY/6XLB3Mk1Nc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz; spf=pass smtp.mailfrom=suse.cz; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=dPoSXrYI; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=unhRWPNv; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=dPoSXrYI; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=unhRWPNv; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.cz Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="dPoSXrYI"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="unhRWPNv"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="dPoSXrYI"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="unhRWPNv" 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 90F2C219CB; Wed, 20 Nov 2024 20:26:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1732134408; 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=lWKxn6YYrH8ADhYXO5pSCPxJ57gaDH6AnkCltdC0Tio=; b=dPoSXrYIQxAzq7XQRISRF9ZA4FWRVGH7MoTDkFoFSe7O9uCDUb60H3gI7LdbSIgD7cDLUy 7kSJi2jArLkaeGQkkoReKwNQVq3ZQFARfuLCzbkJ326/FH1ZpQt4z5IKyxJxbDgZdxwxGr Jp/yQF0J5J3S0Pycq3LT3+T6WmotBxM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1732134408; 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=lWKxn6YYrH8ADhYXO5pSCPxJ57gaDH6AnkCltdC0Tio=; b=unhRWPNvi1PqYkt5DLnoWOmv5AeH/YnepygTQAcpj1KhmslLjYhVh4NAEDUZl1ag3HJZc3 Ew/Jo1avWSja1XAw== Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=dPoSXrYI; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=unhRWPNv DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1732134408; 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=lWKxn6YYrH8ADhYXO5pSCPxJ57gaDH6AnkCltdC0Tio=; b=dPoSXrYIQxAzq7XQRISRF9ZA4FWRVGH7MoTDkFoFSe7O9uCDUb60H3gI7LdbSIgD7cDLUy 7kSJi2jArLkaeGQkkoReKwNQVq3ZQFARfuLCzbkJ326/FH1ZpQt4z5IKyxJxbDgZdxwxGr Jp/yQF0J5J3S0Pycq3LT3+T6WmotBxM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1732134408; 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=lWKxn6YYrH8ADhYXO5pSCPxJ57gaDH6AnkCltdC0Tio=; b=unhRWPNvi1PqYkt5DLnoWOmv5AeH/YnepygTQAcpj1KhmslLjYhVh4NAEDUZl1ag3HJZc3 Ew/Jo1avWSja1XAw== 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 F18BE137CF; Wed, 20 Nov 2024 20:26:47 +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 z/NkOAdGPmfIFwAAD6G6ig (envelope-from ); Wed, 20 Nov 2024 20:26:47 +0000 From: Petr Vorel To: linux-arm-msm@vger.kernel.org Cc: Petr Vorel , Masahiro Yamada , Dmitry Baryshkov , linux-kbuild@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Rob Clark Subject: [PATCH v3 1/2] init/Kconfig: add python3 availability check Date: Wed, 20 Nov 2024 21:26:39 +0100 Message-ID: <20241120202640.49703-1-pvorel@suse.cz> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: linux-kbuild@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Rspamd-Queue-Id: 90F2C219CB X-Spam-Level: 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)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FUZZY_BLOCKED(0.00)[rspamd.com]; FREEMAIL_CC(0.00)[suse.cz,kernel.org,linaro.org,vger.kernel.org,lists.freedesktop.org,gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received]; RCPT_COUNT_SEVEN(0.00)[8]; DKIM_TRACE(0.00)[suse.cz:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com] X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Rspamd-Action: no action X-Spam-Score: -3.01 X-Spam-Flag: NO It will be used in the next commit for DRM_MSM. Suggested-by: Rob Clark Signed-off-by: Petr Vorel --- Changes v2->v3: The same as in v2. init/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init/Kconfig b/init/Kconfig index fbd0cb06a50a..2561eaebd1d3 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -262,6 +262,9 @@ config HAVE_KERNEL_ZSTD config HAVE_KERNEL_UNCOMPRESSED bool +config HAVE_PYTHON3 + def_bool $(success,$(PYTHON3) -V) + choice prompt "Kernel compression mode" default KERNEL_GZIP From patchwork Wed Nov 20 20:26:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 13881437 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B8DD6172BD5; Wed, 20 Nov 2024 20:26:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732134413; cv=none; b=AkA3KgWMKQpVP3v2upeZAV0yifXdhXrxhu5BulXHad3E3TP92limGaHuIAuXHBB+Z4vZ4uQjikWh1CgA0T0a4k7EaPEVH4wkkNC63+P0lovNH7obq0qmdg3T2BAWoCxF7LuAWME28hnh4LSt/9rCo8HCf/iFBcrkOtopx4UTwsw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732134413; c=relaxed/simple; bh=Qo9tSxCQ9AKQOnxWH4IGmkrhJtG3FTEWxUo/GQ+k7x0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tbYNvgcOokuNQYQJE2VTZ2ZaludiNeB+mJfW3qZteh81/LH2nWpxagGwfwCHZctuD3jER81E3hFAD8KiFTDFzXXMeJuAjzYepHhHcB/ppACf4tzxYYK11ER6hUhIi9jO9J31YTrrL2QiFrSj5yuwhy7eQipaJhQre57mltC0Ntw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz; spf=pass smtp.mailfrom=suse.cz; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=bxBLmA71; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=z+Git06c; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=bxBLmA71; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=z+Git06c; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.cz Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="bxBLmA71"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="z+Git06c"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="bxBLmA71"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="z+Git06c" 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-out2.suse.de (Postfix) with ESMTPS id F3FAF1F79B; Wed, 20 Nov 2024 20:26:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1732134409; 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=MZ1dB2PZEeelbar24okNqV4fa6YeYLqMSm7CaK16+pA=; b=bxBLmA71bJSZuSXSkRgnv9E0Vm44tfRG+gCHJhQ61Dm1DFsksSJ6QvE3bbSb7v2aXUFK23 KfFRBxoieNAuxvZXQc9QkQzaiL2SMDKoGq7tLUq+ZVeiCEwahmtNMabFWA0yjT0gVSSyD2 w9t5QxJvtk7FRYmL2wlsyhC4UBOWYMo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1732134409; 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=MZ1dB2PZEeelbar24okNqV4fa6YeYLqMSm7CaK16+pA=; b=z+Git06ccelzLOdqQj8FDc+nmFpUI8Aux0OvVDpB4T2gTzvVbk7wTfl6cJaeCrCe0U1daQ oP2I12OehUKZbaAQ== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=bxBLmA71; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=z+Git06c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1732134409; 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=MZ1dB2PZEeelbar24okNqV4fa6YeYLqMSm7CaK16+pA=; b=bxBLmA71bJSZuSXSkRgnv9E0Vm44tfRG+gCHJhQ61Dm1DFsksSJ6QvE3bbSb7v2aXUFK23 KfFRBxoieNAuxvZXQc9QkQzaiL2SMDKoGq7tLUq+ZVeiCEwahmtNMabFWA0yjT0gVSSyD2 w9t5QxJvtk7FRYmL2wlsyhC4UBOWYMo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1732134409; 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=MZ1dB2PZEeelbar24okNqV4fa6YeYLqMSm7CaK16+pA=; b=z+Git06ccelzLOdqQj8FDc+nmFpUI8Aux0OvVDpB4T2gTzvVbk7wTfl6cJaeCrCe0U1daQ oP2I12OehUKZbaAQ== 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 98CE913942; Wed, 20 Nov 2024 20:26:48 +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 QDbIIAhGPmfIFwAAD6G6ig (envelope-from ); Wed, 20 Nov 2024 20:26:48 +0000 From: Petr Vorel To: linux-arm-msm@vger.kernel.org Cc: Petr Vorel , Masahiro Yamada , Dmitry Baryshkov , linux-kbuild@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH v3 2/2] drm/msm: require python3 Date: Wed, 20 Nov 2024 21:26:40 +0100 Message-ID: <20241120202640.49703-2-pvorel@suse.cz> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241120202640.49703-1-pvorel@suse.cz> References: <20241120202640.49703-1-pvorel@suse.cz> Precedence: bulk X-Mailing-List: linux-kbuild@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Rspamd-Queue-Id: F3FAF1F79B X-Spam-Score: -3.01 X-Rspamd-Action: no action 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)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:rdns,imap1.dmz-prg2.suse.org:helo]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCPT_COUNT_SEVEN(0.00)[7]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; RCVD_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; DKIM_TRACE(0.00)[suse.cz:+] X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Flag: NO X-Spam-Level: 0fddd045f88e introduced python3 dependency, use HAVE_PYTHON3 to make it obvious. Signed-off-by: Petr Vorel --- Changes v2->v3: * Update commit message (I'm sorry for the noise). 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