Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1359901rwl; Wed, 12 Apr 2023 11:33:42 -0700 (PDT) X-Google-Smtp-Source: AKy350bQwaiHmBXay/Po9qrWfjQAtV1PZHN5ih6eApGQTML6HP5HrUSpQc99GkxqZO6Gtf3rv5QL X-Received: by 2002:aa7:de09:0:b0:504:8d0c:211b with SMTP id h9-20020aa7de09000000b005048d0c211bmr7187417edv.14.1681324422054; Wed, 12 Apr 2023 11:33:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681324422; cv=none; d=google.com; s=arc-20160816; b=ziKJwzqxvqWhZmm0YUT7bn7/E5UknzHOMTFxZxFzwCC9nHh/drfocwbmJUuGuk5WxR BYDlMmF5vqPPSS1PhaQy/Q34xdfhA6axpnLjFovTGI/tPd2JYlgR0djjOpTcGCcxe/ml 6YKTNXG4tW5pUw+Wr7JnaEDwr4ULmZK4Ij2iB1wIQpg5RUS3kMrANhoQ592s2FP5VBtQ 5YH2jHL/Z7Vv4euocbcLOoaAW4w42+ObCcshbLbqI1gy/Px7QgxFVERvPN7h7UDDm9aL h3naMCclQ/ki71w0sKjnxkfjJmo4Tl2hciuVLzMlMgOpIcNXJ05P4t0KrrD7XVfLRSma qTxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=CyeR5RuvAdcpT8sCaq1Ccw1gPj5ByFBqx39UJ21e/KI=; b=JZBQYKJyVDoaNOuaZ/UcE4OurASun08aLPZIOhhwIFJAoX4GGCe0aZPefmq6syO2w0 NuG0NI8n947IjqtxLiwtUmTKvdRxfARlGGVDVbRjkJXF2z+T1snQA5JUtavPA5QieU9m 3rGdoM697NQxDcDKidZ6uCyv1pViHFDMHRoscJlVkT3kcz8Uv9YYff0dOPoPnPb8fMO1 fD/lfoAiBGk79m7ISDbai/4dZaw5s3fIKODWMJS24kqfripcxM8GilLtw4Au6+zvSLbi Fuu00bOCoI32nG00p2rPp/Nf0++HoNSRig/cMF0xOTIBwNDuxazJdfLJCYwizIRd9Pyk 06jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IXU4uvir; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f18-20020a1709067f9200b0094a9d9bdd90si3766112ejr.749.2023.04.12.11.33.16; Wed, 12 Apr 2023 11:33:42 -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=@redhat.com header.s=mimecast20190719 header.b=IXU4uvir; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229754AbjDLSZ3 (ORCPT + 99 others); Wed, 12 Apr 2023 14:25:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjDLSZ2 (ORCPT ); Wed, 12 Apr 2023 14:25:28 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 379AE40F1 for ; Wed, 12 Apr 2023 11:24:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1681323881; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CyeR5RuvAdcpT8sCaq1Ccw1gPj5ByFBqx39UJ21e/KI=; b=IXU4uvirc4G6b7686X1FtV4hHccHnqznbWZSON/b+1R9G7l52C8VDXoewI6bWDU26g37E3 SikgbJGzbETZFvwY0rS1/Akwi8HZ/543HzCtped41WrFDiLJxEDRDLFFJYB1GtpKnIX9Vp zh22jgLGOERVpIvle0oeuIfB6h0ez/A= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-524-ksSEqJiXMVSKH16d-upZpQ-1; Wed, 12 Apr 2023 14:24:40 -0400 X-MC-Unique: ksSEqJiXMVSKH16d-upZpQ-1 Received: by mail-ej1-f71.google.com with SMTP id s14-20020a17090699ce00b0093994122eddso4431794ejn.17 for ; Wed, 12 Apr 2023 11:24:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681323879; x=1683915879; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CyeR5RuvAdcpT8sCaq1Ccw1gPj5ByFBqx39UJ21e/KI=; b=Q+X9An6aWejH5RB5WpEsJrne/ASwYOe91sjLzXibNxwGz8sZfsflVW1HvcaZpS89Lq rbsBLyynq1GMJ+CB1Yz60+f3qYa/ewf5EWlYUhU9Zv7Y3No1LUsnvMQqsJ6fc+m9nJGA 9OCXNhN8C+PJJVkDdtddqUcnDovh1l1hmSNlMl7/vKUrFEh1xA+b1VR561irIYlwkytT mjXzYwaxYUSGLO4HClL7w6XQkdQJKQpnMsW3K8zqpe/NcVERGVIqffaigH1oqINw3vpF IZg4or1LBDwgL8+2B5uJy/QRuegtNI5sbOMpi7UxR1LcCSIMXRmFXZSnRQnRuuJ5issi xD5A== X-Gm-Message-State: AAQBX9dazmfPtggwnab1AVKgTR0KAqTjMM9a7XjbsNQ5VA9nYHkivXXp fdEDzqd5KxKpI6IdYzXPYABJHEk9+sSCnf6Jo5m/xt1mcW7JCmG2xrQ/4ZJJi0W1k1W7ORr6MbH rBp6Stqq59Sj1JAJW5/ddtLm1oJne/cBD/vUaVj/n X-Received: by 2002:a17:906:65d7:b0:94a:469e:3558 with SMTP id z23-20020a17090665d700b0094a469e3558mr1746616ejn.13.1681323878894; Wed, 12 Apr 2023 11:24:38 -0700 (PDT) X-Received: by 2002:a17:906:65d7:b0:94a:469e:3558 with SMTP id z23-20020a17090665d700b0094a469e3558mr1746607ejn.13.1681323878636; Wed, 12 Apr 2023 11:24:38 -0700 (PDT) MIME-Version: 1.0 References: <20230412150225.3757223-1-javierm@redhat.com> <2e07f818ccdff7023a060e732d7c4ef6.squirrel@mail.panix.com> <87jzyhror0.fsf@minerva.mail-host-address-is-not-set> In-Reply-To: From: Javier Martinez Canillas Date: Wed, 12 Apr 2023 20:24:27 +0200 Message-ID: Subject: Re: [PATCH] firmware/sysfb: Fix wrong stride when bits-per-pixel is calculated To: Pierre Asselin Cc: Jocelyn Falempe , Daniel Vetter , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Hans de Goede , Thomas Zimmermann , Ard Biesheuvel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 On Wed, Apr 12, 2023 at 8:12=E2=80=AFPM Pierre Asselin wrote= : > > > > Interesting. So you don't have the simplefb output that you had before = ? > > I do now, after a 'make clean' and "make bzImage'. > > In between, I had tried CONFIG_SYSFB_SIMPLEFB=3Dn . That "works", by > falling back to vesafb in every case. I restored the .config before > testing the patch, but there must have been leftover dregs in the > build tree. 1024x768x32 is garbled, others are good whether simplefb And can you share the "linelength=3D" print out from simplefb ? --=20 Best regards, Javier Martinez Canillas Core Platforms Red Hat