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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1EC2CC433F5 for ; Thu, 18 Nov 2021 09:16:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F0B7E61B73 for ; Thu, 18 Nov 2021 09:16:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245108AbhKRJTy (ORCPT ); Thu, 18 Nov 2021 04:19:54 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:56722 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245102AbhKRJTJ (ORCPT ); Thu, 18 Nov 2021 04:19:09 -0500 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 1CD9F1FD35; Thu, 18 Nov 2021 09:16:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1637226969; 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=dPfEQ+LCZs0GHVttiTSVjqc3/R42HneXvcfgGTKEV68=; b=XgZSXQjIPkEUyY2pa6d+zsYJGbGQozAVJ9ExiD19YHstaxCa6Ic8M+oEhFRj+KKsUE9Xi5 J6OwaHGOSndVl+II0B/DebIVhP14qa7qM3V6zmi9aUPyKptZ0lgg7VxGXQUh9YO1GDtIxS Fa/wZitlVQUKLj88cGTxv6GEOUPOit8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1637226969; 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=dPfEQ+LCZs0GHVttiTSVjqc3/R42HneXvcfgGTKEV68=; b=6/zWeJ/wjgzI0AqOR7TeWIl4KEE8XcnZ2DblleUyLmTvXpc2QsMu8ejNzpxDFbL0PnG9Ru Fous+ADPwtqHvTBw== 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 DD32013CF6; Thu, 18 Nov 2021 09:16:08 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id K/yQNNgZlmFdawAAMHmgww (envelope-from ); Thu, 18 Nov 2021 09:16:08 +0000 Message-ID: Date: Thu, 18 Nov 2021 10:16:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: [PATCH 2/3] drm/format-helper: Add drm_fb_xrgb8888_to_xrgb2101010_dstclip() Content-Language: en-US To: Hector Martin , Maarten Lankhorst , Maxime Ripard , David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, Alyssa Rosenzweig , linux-kernel@vger.kernel.org References: <20211117145829.204360-1-marcan@marcan.st> <20211117145829.204360-3-marcan@marcan.st> From: Thomas Zimmermann In-Reply-To: <20211117145829.204360-3-marcan@marcan.st> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------ukL87iCZT6J5g0D0YVHoe0i2" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------ukL87iCZT6J5g0D0YVHoe0i2 Content-Type: multipart/mixed; boundary="------------m0LWdShNKxHMQsXc0HkfrgNb"; protected-headers="v1" From: Thomas Zimmermann To: Hector Martin , Maarten Lankhorst , Maxime Ripard , David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, Alyssa Rosenzweig , linux-kernel@vger.kernel.org Message-ID: Subject: Re: [PATCH 2/3] drm/format-helper: Add drm_fb_xrgb8888_to_xrgb2101010_dstclip() References: <20211117145829.204360-1-marcan@marcan.st> <20211117145829.204360-3-marcan@marcan.st> In-Reply-To: <20211117145829.204360-3-marcan@marcan.st> --------------m0LWdShNKxHMQsXc0HkfrgNb Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SGkNCg0KQW0gMTcuMTEuMjEgdW0gMTU6NTggc2NocmllYiBIZWN0b3IgTWFydGluOg0KPiBB ZGQgWFJHQjg4ODggZW11bGF0aW9uIHN1cHBvcnQgZm9yIGRldmljZXMgdGhhdCBjYW4gb25s eSBkbyBYUkdCMjEwMTAxMC4NCj4gDQo+IFRoaXMgaXMgY2hpZWZseSB1c2VmdWwgZm9yIHNp bXBsZWRybSBvbiBBcHBsZSBkZXZpY2VzIHdoZXJlIHRoZQ0KPiBib290bG9hZGVyLXByb3Zp ZGVkIGZyYW1lYnVmZmVyIGlzIDEwLWJpdCwgd2hpY2ggYWxyZWFkeSB3b3JrcyBmaW5lIHdp dGgNCj4gc2ltcGxlZmIuIFRoaXMgaXMgcmVxdWlyZWQgdG8gbWFrZSBzaW1wbGVkcm0gc3Vw cG9ydCB0aGlzIHRvby4NCg0KQXMgbWVudGlvbmVkIGluIHRoZSBvdGhlciByZXZpZXcsIHRo aXMgcmVxdWlyZXMgYSByZWJhc2Ugb250byB0aGUgbGF0ZXN0IA0KRFJNIHRyZWU7IHByZWZl cmFibHkgZHJtLXRpcC4NCg0KQmVzdCByZWdhcmRzDQpUaG9tYXMNCg0KPiANCj4gU2lnbmVk LW9mZi1ieTogSGVjdG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GNsaXAodm9pZCBfX2lvbWVtICpkc3QsDQo+ICsJCQkJCSAgICB1bnNpZ25lZCBp bnQgZHN0X3BpdGNoLCB2b2lkICp2YWRkciwNCj4gKwkJCQkJICAgIHN0cnVjdCBkcm1fZnJh bWVidWZmZXIgKmZiLA0KPiArCQkJCQkgICAgc3RydWN0IGRybV9yZWN0ICpjbGlwKTsNCj4g ICB2b2lkIGRybV9mYl94cmdiODg4OF90b19ncmF5OCh1OCAqZHN0LCB2b2lkICp2YWRkciwg c3RydWN0IGRybV9mcmFtZWJ1ZmZlciAqZmIsDQo+ICAgCQkJICAgICAgc3RydWN0IGRybV9y ZWN0ICpjbGlwKTsNCj4gICANCj4gDQoNCi0tIA0KVGhvbWFzIFppbW1lcm1hbm4NCkdyYXBo aWNzIERyaXZlciBEZXZlbG9wZXINClNVU0UgU29mdHdhcmUgU29sdXRpb25zIEdlcm1hbnkg R21iSA0KTWF4ZmVsZHN0ci4gNSwgOTA0MDkgTsO8cm5iZXJnLCBHZXJtYW55DQooSFJCIDM2 ODA5LCBBRyBOw7xybmJlcmcpDQpHZXNjaMOkZnRzZsO8aHJlcjogSXZvIFRvdGV2DQo= --------------m0LWdShNKxHMQsXc0HkfrgNb-- --------------ukL87iCZT6J5g0D0YVHoe0i2 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+AFAmGWGdgFAwAAAAAACgkQlh/E3EQov+BY YRAAz6p+nK6ksl6uUBF7XOsxsUeRcnZrr1krKuG1I/O7Q+hjNa+T9L4kEdlrsC5P0nuC3MPhz7XE DY1R4Fmh/P3yf2Sc2udJxX/xxai7rcabnZOljNRPufpg7P9vAB2hSPn9SkoSEpaUEJv6bdnRln+J qfJbxaeseJrYxZm84vsCA2rL1sbMR/9gLiYiVwMsnjD/rGThR68XVL11IYrnjuUfbEYbQjMz4Qt/ yO46KaI4DlTHchcOVXEpP/6KrNPxeOUUl0r7ZwKRyXt58EAeZZCkDOCTZzQiUMcXy9s3jpGP/3Z1 b1ZhlZqIbAQtqkTfhCfbrYuHJrrf1oOTczvcnJlUJlDN4Wu8CL6XGEzs1TJEPsGP09XbKZa2Llp9 6ZUKqzNt6CO2xuF8yoO6ZKsqh4AyBO2933MuMB7XHdTBOjKbxM+zjsfcDPI70jvV/W2L2lBcu0e+ /1lUZpgiBFeu0Ng77kjhrzqIZZ5GAO06QiGyaA0Duc/yZ2p5YDUzHPWo787K5k8QXVIZlL7GHo9I E9Mwu35dfw+1/tMFQTXlElTGRK4oMpuCIgNCLMx/LFvRgvMlqd5w4J0KnBz2tsQu/1KJWuF+UvX8 h8b/YoPl4VNK4qop7wg1thhE+3cNda5lAJD1Wri6zWaCPu2OgpBD+FCCVuIWsePR0U6tW6vnfQYw a4E= =JJwp -----END PGP SIGNATURE----- --------------ukL87iCZT6J5g0D0YVHoe0i2--