Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3661319rwe; Mon, 17 Apr 2023 01:18:09 -0700 (PDT) X-Google-Smtp-Source: AKy350ZsJ7pXkRnIorGC9u+bErBKKz4t5hsYWpvejWOS6d7OS+U0KgVbe1KWZc/XzBCtMmoXfmUK X-Received: by 2002:a17:902:d4c8:b0:1a6:de48:c9b9 with SMTP id o8-20020a170902d4c800b001a6de48c9b9mr2932399plg.47.1681719489057; Mon, 17 Apr 2023 01:18:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681719489; cv=none; d=google.com; s=arc-20160816; b=rSYX5MwzUDd58iCt63MicX8odRcLzdmrr4g5pL3MOuhgLtlfqjWzmE0OT/KanXRXHq 1tkehrd/UWZzAdWA1NPm/5TP1ZBcy4+Nt6d3ElApsRs7ANnN4A5PxcstmSuXHsC6H96b QSJWeseCracGq+nKnObEhH4u7GGJmHK3MnzT9d4IMUwFc8F7GmX087xB0tRr2z3EFap2 p/By0lxaJBnS9kXSYvTFXZjV/VVzRTZ1/zssQp8tJu6/9TxpxcoZcKFjT36S1gVQPP9R J0OzbeBkynhGBO/9ddvRuygwMBxL1rsQQKoaOhmV+CylWu7tPXXrKPAXgx36sXopD2MA JL6g== 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=q5nmUpgvCQ0u2MP+TI3hAO45vlI9kSGcrKDYAZgJlps=; b=VANNi7rwHMWzpfBkNLR2HDRTNO4O+wmsIuMB892X4mX1C6MnTf7QIBVoyrbvE/nQGw f15txtc++M7l0OlRyVCIBbLOONyV1O7EmoUHdG/3/K87Z4QRmOb4JHDG5UYGXJWi533O EqHCFAbZYJWc422NuAvkC4wcbN//xJWa4WqSVEbevoGvJOBI20NkI3Pz0rEuII4k5p6h udvhr501qapLX+vuNUNWArahr+yRZMYqqqb0GUgTkGtVKu45UjKnt5UQ4FEYp5N/Jw5w /OhKmxt4wlElDm0e9Z946n/z8kHDM3mksOo99+9N37yTC3/X9CqSuNnJ7fACKruMPzaW 1n+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=SfAPvxwp; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m9-20020a1709026bc900b001a2513b8e14si10799733plt.84.2023.04.17.01.17.55; Mon, 17 Apr 2023 01:18:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=SfAPvxwp; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230171AbjDQIQI (ORCPT + 99 others); Mon, 17 Apr 2023 04:16:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229741AbjDQIQH (ORCPT ); Mon, 17 Apr 2023 04:16:07 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0698137 for ; Mon, 17 Apr 2023 01:16:01 -0700 (PDT) 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 4EB311F381; Mon, 17 Apr 2023 08:16:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1681719360; 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=q5nmUpgvCQ0u2MP+TI3hAO45vlI9kSGcrKDYAZgJlps=; b=SfAPvxwpn9wO/zRDhf6Ag2dJdAJX4S3igCp6leYs8904j6yk6+639LBC/CsNvA++RG4+cw hue8Ci10SY4SpJrqrCIbaRv6Am6LbgfXfLwHRfG4HILN3JAHp6kbtIZ4Xmc7/1TcV+7AQ4 QUPdArG53TaSiGQnoaGQwaZ4fR4B3ZI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1681719360; 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=q5nmUpgvCQ0u2MP+TI3hAO45vlI9kSGcrKDYAZgJlps=; b=YP107ZirM4rvsq/kINPS5/KU2zjcwMy9SS3kPqMBALxmM2zAhothy6+oFf5RvdJpeOG+y7 RqEM7rwtjsHlQJDQ== 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 1FDD31390E; Mon, 17 Apr 2023 08:16:00 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 9wPIBkAAPWQgOwAAMHmgww (envelope-from ); Mon, 17 Apr 2023 08:16:00 +0000 Message-ID: <23d45518-3565-e915-c6d4-45dabe82ea4c@suse.de> Date: Mon, 17 Apr 2023 10:15:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH] firmware/sysfb: Fix wrong stride when bits-per-pixel is calculated Content-Language: en-US To: Pierre Asselin Cc: jfalempe@redhat.com, daniel.vetter@ffwll.ch, javierm@redhat.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, hdegoede@redhat.com, ardb@kernel.org References: <20230412150225.3757223-1-javierm@redhat.com> <2e07f818ccdff7023a060e732d7c4ef6.squirrel@mail.panix.com> <87jzyhror0.fsf@minerva.mail-host-address-is-not-set> <1afd3044c2aca9322ecf304941c7df66.squirrel@mail.panix.com> <87fs94stgw.fsf@minerva.mail-host-address-is-not-set> <87cz48srs4.fsf@minerva.mail-host-address-is-not-set> <40edb0fdb0eaff434f4872dd677923a6.squirrel@mail.panix.com> <87a5zcsqg8.fsf@minerva.mail-host-address-is-not-set> <9e6fff69b09b36cbdd96499cd0015154.squirrel@mail.panix.com> <4PxhQn3zK1zcbc@panix1.panix.com> From: Thomas Zimmermann In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------PWXLCqpksoB4tWK4hp6JjzCo" X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------PWXLCqpksoB4tWK4hp6JjzCo Content-Type: multipart/mixed; boundary="------------97byxBVVYkHd1Wqftw3W5M97"; protected-headers="v1" From: Thomas Zimmermann To: Pierre Asselin Cc: jfalempe@redhat.com, daniel.vetter@ffwll.ch, javierm@redhat.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, hdegoede@redhat.com, ardb@kernel.org Message-ID: <23d45518-3565-e915-c6d4-45dabe82ea4c@suse.de> Subject: Re: [PATCH] firmware/sysfb: Fix wrong stride when bits-per-pixel is calculated References: <20230412150225.3757223-1-javierm@redhat.com> <2e07f818ccdff7023a060e732d7c4ef6.squirrel@mail.panix.com> <87jzyhror0.fsf@minerva.mail-host-address-is-not-set> <1afd3044c2aca9322ecf304941c7df66.squirrel@mail.panix.com> <87fs94stgw.fsf@minerva.mail-host-address-is-not-set> <87cz48srs4.fsf@minerva.mail-host-address-is-not-set> <40edb0fdb0eaff434f4872dd677923a6.squirrel@mail.panix.com> <87a5zcsqg8.fsf@minerva.mail-host-address-is-not-set> <9e6fff69b09b36cbdd96499cd0015154.squirrel@mail.panix.com> <4PxhQn3zK1zcbc@panix1.panix.com> In-Reply-To: --------------97byxBVVYkHd1Wqftw3W5M97 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SGksDQoNCnRoYW5rcyBhIGxvdCB0byBib3RoIG9mIHlvdSBmb3IgdGhpcyBidWcgZml4Lg0K DQpBbSAxMy4wNC4yMyB1bSAwMzozNCBzY2hyaWViIFBpZXJyZSBBc3NlbGluOg0KPj4gKG5v dCB0ZXN0ZWQpDQo+IA0KPiBUZXN0ZWQuICBJdCBmaXhlcyB0aGUgcmVncmVzc2lvbiBvbiBt eSBsYXB0b3AuDQo+IA0KPj4gZGlmZiAtLWdpdCBhL2RyaXZlcnMvZmlybXdhcmUvc3lzZmJf c2ltcGxlZmIuYw0KPj4gYi9kcml2ZXJzL2Zpcm13YXJlL3N5c2ZiX3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NoYW5nZSB0aGlzIHRvDQoNCiAgIlRoZSBiZXN0IHNvbHV0aW9uIGlzIHRv IGNvbXB1dGUgYml0c19wZXJfcGl4ZWwgaGVyZSBmcm9tIHRoZSBjb2xvciANCmJpdHMsIHRo ZSByZXNlcnZlZCBiaXRzIGFuZCB0aGUgcmVwb3J0ZWQgY29sb3IgZGVwdGg7IHdoYXRldmVy IGlzIGhpZ2hlc3QuIg0KDQpUaGF0IHdpbGwgaG9wZWZ1bGx5IGNsYXJpZnkgdGhlIG1lYW5p bmcgb2YgdGhlc2UgbWF4MygpIHN0YXRlbWVudHMuIFRoZXkgDQphcmUgbm90IG9idmlvdXMg YXQgZmlyc3QuDQoNCkJlc3QgcmVnYXJkcw0KVGhvbWFzDQoNCg0KPj4gICAJfSBlbHNlIHsN Cj4+ICAgCQliaXRzX3Blcl9waXhlbCA9IHNpLT5sZmJfZGVwdGg7DQo+PiAgIAl9DQo+IA0K PiANCg0KLS0gDQpUaG9tYXMgWmltbWVybWFubg0KR3JhcGhpY3MgRHJpdmVyIERldmVsb3Bl cg0KU1VTRSBTb2Z0d2FyZSBTb2x1dGlvbnMgR2VybWFueSBHbWJIDQpNYXhmZWxkc3RyLiA1 LCA5MDQwOSBOw7xybmJlcmcsIEdlcm1hbnkNCihIUkIgMzY4MDksIEFHIE7DvHJuYmVyZykN Ckdlc2Now6RmdHNmw7xocmVyOiBJdm8gVG90ZXYNCg== --------------97byxBVVYkHd1Wqftw3W5M97-- --------------PWXLCqpksoB4tWK4hp6JjzCo 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+AFAmQ9AD8FAwAAAAAACgkQlh/E3EQov+A4 kA//b8iLVNTGaV3hmyG3/0DiQzBiimbrk9Za/r+oYm6eslbT7RDGiHkiY4/7uBzAQF/N6D/goXyB 2P2Rr6ueTWtz+lpj+C5G9WQW7cSyqdipX5zuw5Us/CKW9++RZDekU2CBehmvhzPxynTIxXbalN5x OZSI3+yzOEA1zkuvkscnt7cSbMRcNaFwV1Nll2CsFMM6esnrtfWjTiwhUc6f8s24sBIQ1D2lbei/ 2W/ETaTefRet4SkW0bf3bH2w4TyeoPWcrlXLtwUJoSOXau/lVBt4ewMY9LgUoQjMI08bUnm3PiZQ HPNFZ9rzGMN1dHaKu2pIdZUJpgnum1Vl6hlP1JVI+du9mYKrbHAoH3XPGIcmnxIQBq4Wr/vdetl2 g3zOY+vr1DHrvmGMEywL0hnr5pqdmRYPnKROEtEYxBrZDGJiX7iCue7zo2yAila8wQPLLdCpbiwE icpVg+CgJMjZd1IyjPmlo93iryJnC/yr293n0frzkAxrWGFgV89pPGR3CLHuvJ8HtuaUwGkk9AZf jx9lxqqyi33tjq5orZPZ6qjdF9P9vFCD5vtCGObx98tpnpv4by9thRY2yBjd/psMwrjBuB+ALzp0 /2zOkdCr1pt/4VqljUpn0sbE1DxLGNPcu85NHsig9/Ar8FOu3ApjbUDchm+iyMwaa/XJ7ksOI0es rbQ= =ECWV -----END PGP SIGNATURE----- --------------PWXLCqpksoB4tWK4hp6JjzCo--