Received: by 2002:ab2:6486:0:b0:1ef:eae8:a797 with SMTP id de6csp100981lqb; Fri, 15 Mar 2024 17:13:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX1a6a+rj/+KiwtiCDL+ro/l4w5jwBkNri3/UyDMBO+2j36PUXh0yDSUBAzUgKLlmvTFWIq2V/vXoBFBtOkCYQoLWg0x5adb7WwtAN0ng== X-Google-Smtp-Source: AGHT+IEn33woGwqiDbkmjHdj6f09qyuqwR1EOyGnuNNXmvCG7wmyPui+i6J+WpQNpA35U+koUIlZ X-Received: by 2002:a05:6a00:cc6:b0:6e7:38c:2b57 with SMTP id b6-20020a056a000cc600b006e7038c2b57mr1742294pfv.15.1710547982752; Fri, 15 Mar 2024 17:13:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710547982; cv=pass; d=google.com; s=arc-20160816; b=rK+rDNFq8TriT6kB7nhm9j4yYYQg2YM/5CH1GJtqjsJQplWk0YwMLipZR6T12d2Ju1 F3c0oFc37VpNz8aNTacaNwYKlyiMbRiZCW8PPoe3RVVJcvWShgut4RnUtLlKTHiWROcE tTKL/rKaf5BzyVmyVlwpv3BDttkOVU7SRfIII6+4lzJgIXMljYwFSb1Wl1gVuABoVa9h NhzpPIbGdHDxniZlY99gkf6c7odhRLXYHjBHyua5A2Y4e6d/ZlmvbgJPlpz6Dggl/rpo hf1P7br7+FesPcZUD/cAEV6ZJerYPfU3z8dGVCZDYVBGhreonFDC5q/RPb94bi27n7jB 5iVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:organization:in-reply-to:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:mail-followup-to:message-id:subject:cc:to:from:date; bh=CEg/AvkzNrycK/SXMLOmL4MFGQYsC5cNNueMcGNsmKg=; fh=I3VpvRR3eX47QBmJ/UjFdSNfIEp1aPMJuPJv9D8uAS8=; b=r9ezD5fEVJntDaX2CXhI8cdmVabaVUOSyvQH7Q9uZiPOXVVyNVQTRU8fCfuK4Bl2Sw 5/fNu6bLO8FTg2bGwLHoSpYgEqLvKEqZDdnDzCc/mtfxCsG9FWze9N2AicmDAwFHPgKT Kdj5nmJl2HfJttY1jBM5disTFC555Fux/1X2YDbMO0dhNVWsWZ+OhOmEo7M7S4fvi4rK UEA4kC2ARCfUfwgm6csa2hXoY3nvYB6xlaKLGJUiMqck0cAoG3LwyINQ03R9RscqZ4ur bgBy3qsxOW08LekUCK9xQiPrWuibeO2XI3DdG4o79tJcX0RQRD/PN6hCa9DP4HqYjvgL a1iA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=bounce.ens-lyon.org); spf=pass (google.com: domain of linux-kernel+bounces-105005-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105005-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s127-20020a632c85000000b005e4dce697c0si3549275pgs.655.2024.03.15.17.13.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 17:13:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-105005-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=bounce.ens-lyon.org); spf=pass (google.com: domain of linux-kernel+bounces-105005-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105005-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6EE60282579 for ; Sat, 16 Mar 2024 00:13:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E1717F6; Sat, 16 Mar 2024 00:12:57 +0000 (UTC) Received: from sonata.ens-lyon.org (domu-toccata.ens-lyon.fr [140.77.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B8EB4360; Sat, 16 Mar 2024 00:12:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=140.77.166.138 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710547976; cv=none; b=fpDmq9+mNf6knLWzPb3T/y0qexipO4EGse5Q81ih4w3yZbTCZN2EeooaIC5Cb4WKTm7dpA2Z/YBU0K6JlM28ZYQ/X2KA1yGvFNb4LScAnvFurU+IwJmkgsulYU11mYiqzJWFX7U0fz07YRGt1qrtdqWwhImqnCEjRhx6JzxPtzQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710547976; c=relaxed/simple; bh=FmqiHuj6qYeds+sNkuY+xpNzvV9xKuoPZebxi51Z6dk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=f/uWVdm6SbxUAFaAt5bBgBmELeSiRpx4rwkNs9wKrGbitRZNWdI6oAWQ66/SNbORzV4tOs0050e8I4aoZCckVd+ciok9qvg2lcpGALbwxVqudKAbXi8GVuAPpms1wg7wv6ddoecv2rzefrt0Xpm4RwKlL2BVKj7nYrCRqVY8mWc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org; spf=pass smtp.mailfrom=bounce.ens-lyon.org; arc=none smtp.client-ip=140.77.166.138 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bounce.ens-lyon.org Received: from localhost (localhost [127.0.0.1]) by sonata.ens-lyon.org (Postfix) with ESMTP id 85296A02EC; Sat, 16 Mar 2024 01:12:52 +0100 (CET) Received: from sonata.ens-lyon.org ([127.0.0.1]) by localhost (sonata.ens-lyon.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zYDEp8X74GRV; Sat, 16 Mar 2024 01:12:52 +0100 (CET) Received: from begin.home (aamiens-653-1-111-57.w83-192.abo.wanadoo.fr [83.192.234.57]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by sonata.ens-lyon.org (Postfix) with ESMTPSA id 689B9A02DF; Sat, 16 Mar 2024 01:12:52 +0100 (CET) Received: from samy by begin.home with local (Exim 4.97) (envelope-from ) id 1rlHfQ-0000000CQsO-0E7U; Sat, 16 Mar 2024 01:12:52 +0100 Date: Sat, 16 Mar 2024 01:12:52 +0100 From: Samuel Thibault To: Helge Deller Cc: linux-kernel@vger.kernel.org, Daniel Vetter , Alexey Gladkov , Jiry Slaby , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH] fbcon: Increase maximum font width x height to 64 x 64 Message-ID: <20240316001251.l3ifu5exkrjmbhoe@begin> Mail-Followup-To: Samuel Thibault , Helge Deller , linux-kernel@vger.kernel.org, Daniel Vetter , Alexey Gladkov , Jiry Slaby , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org References: <20240313165934.557879-1-samuel.thibault@ens-lyon.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) Hello, Helge Deller, le ven. 15 mars 2024 10:35:40 +0100, a ecrit: > You should have marked this patch with "v2"... The actual changes were exactly the same. > On 3/13/24 17:59, Samuel Thibault wrote: > > This remains relatively simple by just enlarging integers. > > I like the patch, but I still see some u32... > drivers/video/fbdev/vt8623fb.c: info->pixmap.blit_x = (bpp == 4) ? (1 << (8 - 1)) : (~(u32)0); > drivers/video/fbdev/arkfb.c: info->pixmap.blit_x = (bpp == 4) ? (1 << (8 - 1)) : (~(u32)0); > drivers/video/fbdev/core/fbmem.c: fb_info->pixmap.blit_x = ~(u32)0; > drivers/video/fbdev/s3fb.c: info->pixmap.blit_x = (bpp == 4) ? (1 << (8 - 1)) : (~(u32)0); Oops, I missed including these modifications indeed. > > It wouldn't be that simple to get to the console's 64x128 maximum, as it would > > require 128b integers. > > How realistic are fonts > 64x64 pixels ? With 4K displays, 64x128 brings 60x16 text console, which is useful for people with low vision. > If they are, using the bitmap_xx functions (include/linux/bitmap.h) > now instead would be better. Ok, I have now done this in v2. We'll be able to easily increase the font size when 8K displays get out :) Samuel