Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2701862pxb; Fri, 5 Nov 2021 03:17:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZVkPV7O+Uj6Dm+r+HOS/oxRxrwd8DDs5AS8yAUf5niatbW/1WGym0eMerEKSfeOv318uW X-Received: by 2002:a05:6638:acd:: with SMTP id m13mr3870343jab.23.1636107465319; Fri, 05 Nov 2021 03:17:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636107465; cv=none; d=google.com; s=arc-20160816; b=r6hYmSUxi9zDG0/+Qw5r0VX7vZ8ViolbOIF/vLKMY8QFLU3CUpKwrYj6hezJ1uJGqa OyBwt00DHs01PbPrDKnz8NhtXJUBM5WePU9Lctk7+Sh3aOvH1dPL2ruBaJAzf8iBXw3m fvXeHTqCxu52N7ToNyPZ7++hfX8mKKmG1BtmKTzX17yapTQ1wNnk5ZqBFuOPZspOzv9z ez+f6dn1QVA7c+K3QBfHC2tPvFCcH8UAfJEsYgyEXjRaMd6UzLjdyb1gieicDC0g/+fL zJ06wCPtUUsQDbaPw/AlJ3AUGKccOoX7AvGtDa+InLa9spRkbJbT2hV24Zt1mv8AZSvc +dRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature:dkim-signature; bh=tzTStpT68H1flecD6y0xE4GHTy0YcwY+IxQpIsRqqTk=; b=khL83SDTEZ5w8/jxv7BSjmQyAOxTfNZFwgvVg7OAin8vP8yfev0cndVpbrt7QZo9bC Wcsaiq2E4VBt/FdLuA8e2cJNwiXDsD3bMUX3nCx/eC4J5I5s6cp073tD2i6PxJBoUSYH odJqfVudayM2WAPc7BkrtZtmClW0eZFqJcCeWqud0qYHiRovFPtt7HvVrBeZbzZZmvLq iaKphCKr7tErlnCtDCcStCu3r8+ctPZi2aKrRsJ9tDPPT98grcYsY5B0NnrYidfldta/ wh9FlsQWdjxdl1TobidY7isHRCVGp8byDDuAH6FB1mmFU1zl5CrwSWOR4MLmEPYJooJR FNyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="orCQK/xM"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=2o9Kzvfv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m2si15088063ilh.104.2021.11.05.03.17.31; Fri, 05 Nov 2021 03:17:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="orCQK/xM"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=2o9Kzvfv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233034AbhKEKSf (ORCPT + 99 others); Fri, 5 Nov 2021 06:18:35 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:52818 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233041AbhKEKSe (ORCPT ); Fri, 5 Nov 2021 06:18:34 -0400 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 4A33C21892; Fri, 5 Nov 2021 10:15:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1636107354; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tzTStpT68H1flecD6y0xE4GHTy0YcwY+IxQpIsRqqTk=; b=orCQK/xM7Fxu+9/vAh7QbfVPbIdqUpTpXj1XwR7Jf8ilitnc78Rb8FuxnTVyVEJMLrM4Ke T2H1J37LhFPuGK808OMYW+fcwSYaLQt0X+Faiba0cYU0nCr/8rtzHjs55GjJHzjvsUq1rR Wo/LEqfvVBQM9Hu2tdCXr6/cI8l3Oj4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1636107354; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tzTStpT68H1flecD6y0xE4GHTy0YcwY+IxQpIsRqqTk=; b=2o9KzvfvWSimE78oUDZsxslr4eL6oFkfsr4fkk8/E0mYkWOKmDaw88BB/NzI2GN8jup1c1 dAfMCesmf9V1TsCg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id C65C513FE2; Fri, 5 Nov 2021 10:15:53 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id pG1lL1kEhWFsfgAAMHmgww (envelope-from ); Fri, 05 Nov 2021 10:15:53 +0000 Message-ID: <51ed4aec-9496-5ccc-97f2-1328ffd767ae@suse.de> Date: Fri, 5 Nov 2021 11:15:53 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: [PATCH v2 1/2] drm: Add a drm_drv_enabled() to check if drivers should be enabled Content-Language: en-US To: Javier Martinez Canillas , Jani Nikula , linux-kernel@vger.kernel.org Cc: "Pan, Xinhui" , Pekka Paalanen , Hans de Goede , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, Rodrigo Vivi , amd-gfx@lists.freedesktop.org, Gurchetan Singh , Ben Skeggs , VMware Graphics , Gerd Hoffmann , spice-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, Alex Deucher , Dave Airlie , =?UTF-8?Q?Christian_K=c3=b6nig?= , virtualization@lists.linux-foundation.org, intel-gfx@lists.freedesktop.org, =?UTF-8?Q?Michel_D=c3=a4nzer?= , Peter Robinson References: <20211104160707.1407052-1-javierm@redhat.com> <20211104160707.1407052-2-javierm@redhat.com> <87ilx7ae3v.fsf@intel.com> <0c07f121-42d3-9f37-1e14-842fb685b501@redhat.com> <38dbcc8f-2f95-6846-537f-9b85468bfa87@redhat.com> From: Thomas Zimmermann In-Reply-To: <38dbcc8f-2f95-6846-537f-9b85468bfa87@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------B6UIr1uaa90BoK3L0T3a7xAT" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------B6UIr1uaa90BoK3L0T3a7xAT Content-Type: multipart/mixed; boundary="------------i143tV5bKgPhhjLIGaoCb4k9"; protected-headers="v1" From: Thomas Zimmermann To: Javier Martinez Canillas , Jani Nikula , linux-kernel@vger.kernel.org Cc: "Pan, Xinhui" , Pekka Paalanen , Hans de Goede , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, Rodrigo Vivi , amd-gfx@lists.freedesktop.org, Gurchetan Singh , Ben Skeggs , VMware Graphics , Gerd Hoffmann , spice-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, Alex Deucher , Dave Airlie , =?UTF-8?Q?Christian_K=c3=b6nig?= , virtualization@lists.linux-foundation.org, intel-gfx@lists.freedesktop.org, =?UTF-8?Q?Michel_D=c3=a4nzer?= , Peter Robinson Message-ID: <51ed4aec-9496-5ccc-97f2-1328ffd767ae@suse.de> Subject: Re: [PATCH v2 1/2] drm: Add a drm_drv_enabled() to check if drivers should be enabled References: <20211104160707.1407052-1-javierm@redhat.com> <20211104160707.1407052-2-javierm@redhat.com> <87ilx7ae3v.fsf@intel.com> <0c07f121-42d3-9f37-1e14-842fb685b501@redhat.com> <38dbcc8f-2f95-6846-537f-9b85468bfa87@redhat.com> In-Reply-To: <38dbcc8f-2f95-6846-537f-9b85468bfa87@redhat.com> --------------i143tV5bKgPhhjLIGaoCb4k9 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SGkNCg0KQW0gMDUuMTEuMjEgdW0gMTA6NDggc2NocmllYiBKYXZpZXIgTWFydGluZXogQ2Fu aWxsYXM6DQo+IEhlbGxvIFRob21hcywNCj4gDQo+IE9uIDExLzUvMjEgMDk6NDMsIFRob21h cyBaaW1tZXJtYW5uIHdyb3RlOg0KPj4gSGkNCj4+DQo+PiBBbSAwNC4xMS4yMSB1bSAyMTow OSBzY2hyaWViIEphdmllciBNYXJ0aW5leiBDYW5pbGxhczoNCj4+PiBIZWxsbyBKYW5pLA0K Pj4+DQo+Pj4gT24gMTEvNC8yMSAyMDo1NywgSmFuaSBOaWt1bGEgd3JvdGU6DQo+Pj4+IE9u IFRodSwgMDQgTm92IDIwMjEsIEphdmllciBNYXJ0aW5leiBDYW5pbGxhcyA8amF2aWVybUBy ZWRoYXQuY29tPiB3cm90ZToNCj4+Pj4+ICsvKioNCj4+Pj4+ICsgKiBkcm1fZHJ2X2VuYWJs ZWQgLSBDaGVja3MgaWYgYSBEUk0gZHJpdmVyIGNhbiBiZSBlbmFibGVkDQo+Pj4+PiArICog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ZWxvcGVyDQpTVVNFIFNvZnR3YXJlIFNvbHV0aW9ucyBHZXJtYW55 IEdtYkgNCk1heGZlbGRzdHIuIDUsIDkwNDA5IE7DvHJuYmVyZywgR2VybWFueQ0KKEhSQiAz NjgwOSwgQUcgTsO8cm5iZXJnKQ0KR2VzY2jDpGZ0c2bDvGhyZXI6IEl2byBUb3Rldg0K --------------i143tV5bKgPhhjLIGaoCb4k9-- --------------B6UIr1uaa90BoK3L0T3a7xAT Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEExndm/fpuMUdwYFFolh/E3EQov+AFAmGFBFkFAwAAAAAACgkQlh/E3EQov+BM VxAApJ+gCwrWKtMnfMCIOdE1H5sy5UiFFRJhaFO9nWmtTfxEkKFpICSMRdQjvfXmVpzfF9d4XU24 R0ORKedqqjdlvs1N9IO/0w3YzrdnchVmel9qwBbuqaO8okKuyhWqgAE87D/lhExbiUejptg1JNKJ OWC33FOGtNwkNnV6QUwLuMABt39tqBGJewiQd/agaEMt/JTaB6O4wdPf/CkESKiniZZ1Sk4+ilsl Oi2mPR6Vse1Q0zCfy2pDhKlNVhQoxwSJSz74lHHssfse/eex+a5Tg3gsgQII3ka2tJELoOzuBMGG IfsX0xT4lGnY9EvrrP7tPm48q6oqY3febUebBgJPnctqcpmdexGOx0hQ+LXbBcOzhFwDva8I09/K Z/wR8yUPKNxLgXBk1ZwmCQ1SLR/sBc9S9zYWB8SBMlOBsil7lVT1bQSftVOh/qhWY+VdCU8I2Xgr NsySLGVoj+LbUMLYuSke8IzcmgdPohY9oNM97N6eflxeeB20nSk9pvvqN8FBRPBYUgGNvAg3hD3t Vsz/mGCx1LXlhrJlk37Fu9nDPKeQliaNNAiQsfdvVAl18aptfS2jCEgYewMDOHC5jaw5/OMSS4y3 l0W+Gy8BI91wwm0xevVaN4b8I0/UtAiPx1k0xO1V3gSyTalUob6+SgPT//FN5VaRSFrX8aKDWA3/ NNo= =XthL -----END PGP SIGNATURE----- --------------B6UIr1uaa90BoK3L0T3a7xAT--