Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp449751pxb; Wed, 3 Nov 2021 06:56:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxI6AQ5RBKhp3KrmVpXavEgt152WOssYacL/JHIQj2wCUnQ5jMeAS6nb8R513SnFtO53Yfq X-Received: by 2002:a05:6402:10da:: with SMTP id p26mr60294174edu.283.1635947815019; Wed, 03 Nov 2021 06:56:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635947815; cv=none; d=google.com; s=arc-20160816; b=RKzRldZjC2sJt3xcIUXVGQyg5Cz6yvmyN7fQ/XZJeSCC0XEao2mSR5kXHSSBHXTYmD /idakJLw32Em6kbTF6j4GMRnam1WlLvq+nID9YhAhoGNJtX58GmTT+4VrLX9rS4Rjnwt 221TBtMsnxcniN+vOzanc2ohv96DVab6WzfBhtcT85aXSMHLQZYbXL44kcq5gAjWA3Fa KQmGUkiveUC6UQPJ7/K4wIXCtYY7/qnhOJaYUEOhqfbEBgxigqMQhr5rHXtAAjEURmno QEvd7OMOvYY2abZr6O20697eF+vWvmafb/2xfQ7P3KvaeVGI3sbOUzMIVEWNOfximZBC Dp4w== 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=gM4dLBPOTeQI1BB/n11hAh/2S8YpTXPBOvo61fjPeEg=; b=jy3ruKLTCYmzL8wfqBOx90A31Iw8pX4POSzG0AECh6ztsLNDxTbGKpVVMER5PDyZDx 4qX7cGV2jPQmYIySSQBwwH4XZz/xDv4T/qdNk/P+Te2OqfbyV6SGT5ki2jitgMd7Vw0c H+T3rc1K2zUirFG3EIcENaeiXXDFIS2i+Egr+uZr46zcjhiC+TU5nTh5qkYrks/0clxH iz3nSFweUlqDKGDiwrNQYKxODsx2mOf2+PlszlZc58XujH5dysCiDaTjvEJALFzfl1UQ Q/akvnsxQCtmy6UwveN4sES2ig3c1gkbrnauJbVzf0hvt3tBdz672YwxdbF3NiNW45uM rilg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=t25td5EG; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=t266EDuU; 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 p19si3246932edr.519.2021.11.03.06.56.29; Wed, 03 Nov 2021 06:56:55 -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=t25td5EG; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=t266EDuU; 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 S232281AbhKCN4d (ORCPT + 99 others); Wed, 3 Nov 2021 09:56:33 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:49110 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232112AbhKCNz5 (ORCPT ); Wed, 3 Nov 2021 09:55:57 -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-out2.suse.de (Postfix) with ESMTPS id 4F9CD1FD39; Wed, 3 Nov 2021 13:53:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1635947599; 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=gM4dLBPOTeQI1BB/n11hAh/2S8YpTXPBOvo61fjPeEg=; b=t25td5EGa947F7lnRYCLGnhBZy8VdQUPZHJbrstIo2PFmhbIEAHTQysMmyBsQeYRAW1t8E jy6vbB8WNKTobtz/0YsQInqN0JjBwZpVusUu6on8WnDJeLd5Ltc+DzpsNvHPcub7ngrS4s ZHja9rQR6QzqDbWoo6UEZYKnQiGKXhM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1635947599; 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=gM4dLBPOTeQI1BB/n11hAh/2S8YpTXPBOvo61fjPeEg=; b=t266EDuUB++mxHWrsAHY+LROHqQbgA00CrJSrWU+IeFcY4H1gZL0RItjM3aqxQjT88xVuc IB4ZMkbRFkEYEpCw== 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 1BD8E13CA2; Wed, 3 Nov 2021 13:53:19 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id v36+BU+UgmEBAwAAMHmgww (envelope-from ); Wed, 03 Nov 2021 13:53:19 +0000 Message-ID: <54aedf5a-34b1-15f6-47f1-39815b3832ae@suse.de> Date: Wed, 3 Nov 2021 14:53:18 +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: [RESEND PATCH 4/5] drm: Add a drm_drv_enabled() helper function Content-Language: en-US To: Jani Nikula , Javier Martinez Canillas , linux-kernel@vger.kernel.org Cc: Pekka Paalanen , David Airlie , Daniel Vetter , =?UTF-8?Q?Michel_D=c3=a4nzer?= , dri-devel@lists.freedesktop.org, Peter Robinson , Neal Gompa References: <20211103123206.1041442-1-javierm@redhat.com> <87o871bbmb.fsf@intel.com> From: Thomas Zimmermann In-Reply-To: <87o871bbmb.fsf@intel.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------yhuKbyI95NPlaLrFk1VmGRle" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------yhuKbyI95NPlaLrFk1VmGRle Content-Type: multipart/mixed; boundary="------------cAMtqEYiWQ8Qa0oDgyZavXR8"; protected-headers="v1" From: Thomas Zimmermann To: Jani Nikula , Javier Martinez Canillas , linux-kernel@vger.kernel.org Cc: Pekka Paalanen , David Airlie , Daniel Vetter , =?UTF-8?Q?Michel_D=c3=a4nzer?= , dri-devel@lists.freedesktop.org, Peter Robinson , Neal Gompa Message-ID: <54aedf5a-34b1-15f6-47f1-39815b3832ae@suse.de> Subject: Re: [RESEND PATCH 4/5] drm: Add a drm_drv_enabled() helper function References: <20211103123206.1041442-1-javierm@redhat.com> <87o871bbmb.fsf@intel.com> In-Reply-To: <87o871bbmb.fsf@intel.com> --------------cAMtqEYiWQ8Qa0oDgyZavXR8 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SGkNCg0KQW0gMDMuMTEuMjEgdW0gMTQ6NDEgc2NocmllYiBKYW5pIE5pa3VsYToNCj4gT24g V2VkLCAwMyBOb3YgMjAyMSwgSmF2aWVyIE1hcnRpbmV6IENhbmlsbGFzIDxqYXZpZXJtQHJl ZGhhdC5jb20+IHdy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JpdmVyKTsNCj4+ICAgDQo+PiAgICNlbmRpZg0KPiANCg0KLS0gDQpUaG9tYXMgWmlt bWVybWFubg0KR3JhcGhpY3MgRHJpdmVyIERldmVsb3Blcg0KU1VTRSBTb2Z0d2FyZSBTb2x1 dGlvbnMgR2VybWFueSBHbWJIDQpNYXhmZWxkc3RyLiA1LCA5MDQwOSBOw7xybmJlcmcsIEdl cm1hbnkNCihIUkIgMzY4MDksIEFHIE7DvHJuYmVyZykNCkdlc2Now6RmdHNmw7xocmVyOiBJ dm8gVG90ZXYNCg== --------------cAMtqEYiWQ8Qa0oDgyZavXR8-- --------------yhuKbyI95NPlaLrFk1VmGRle 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+AFAmGClE4FAwAAAAAACgkQlh/E3EQov+Cl vw//VClaxzh5jDAfegfM48i5xAcS9i++pZJXl1lcyWB5qNR7obyvwjxCrAlE/fjaZa6jxID8+VP/ bL939ThyT8c9Nx2FXNzY4ghPf4aUgwhRvco2vbjVnn9rwuUSpDI85GWDqQMNsQ7IWYAnHAxzNnPv jLXuyG8IL7rFVt/JNdjQWuV4CE24WyhKN0xejkpckNCwcNZvuFeoLhRYOoWVxfoIto5Lg1nTPJGy ACFy8Grx8VJYYr0sRKYbXy7H2PChm6BkJqkG9TpAjjBznYC85B6i+KNEYOh2bdXS2rQXqHJq8BQq c9m0SCPuI3wogM1GA63x4f0DHd/sEa47DUtOUqlapZqX3P2gatp3qYPSI1aXNPZbyMIoySzCwvuL MeGLNKYkvZ85nTg+3LKUW6qBLGTN4ALOE2L2zr/07YN4PfwjPURZq1ZO7gBx5/Ttfg6TPKI0JIj/ AsI1RyNvsHFn8BrpIbNyh9LJe8uC2nrQj9vIQLEg+siTAeNpmB+Uo3WTxUZtmcq94gCTBrzvCvM1 8Pm7xfJLLrmlnPWQgIevBTLVz5UPhMKJ2Y6ZZhKuGqwH6h3ZdeFBP5/JeV6K7UrThx5xNW3O6kYy gS93NhXAWrgvzyHxSva7DTU9QK5evfnlJkneO7LLdkRQlu1D8kCT7/NYNGMeVm0iv1FhP05d3pJM Nyg= =qXdO -----END PGP SIGNATURE----- --------------yhuKbyI95NPlaLrFk1VmGRle--