Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1099337pxb; Fri, 20 Nov 2020 00:41:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJ9elEsKQrpkydyALVm+hundnUcWKrn9KkHyY6SE5WUfOD2lQVF+izk0lSkDut4Zu24BQS X-Received: by 2002:a17:906:71d3:: with SMTP id i19mr4639416ejk.187.1605861698113; Fri, 20 Nov 2020 00:41:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605861698; cv=none; d=google.com; s=arc-20160816; b=BwnLiPOxM7t97IpPUfzKa+vvhOBHAhwLtCfzF5ILFdh+12LFiBaZoyak8vDJy5LoCt F6mPBsay2tpxICiYhCDzHjQmEt2/riJBu/bx/dn/5/473ysq1fme5b7mRzPOzkEHIK6p SNvfyxF6BulToRuV2PGsaSPWm2Wk9Qm+Sa4Aik8S6VOAlg2UgbYcCB+puRwPhI3Pxn8f NMBovcTOJigJRSLSt2hYa+5Axhrjmwi/QL9W1fW+U1PQ53u91MLqINXigawHYF7Y68wn nOnhWggOuDvdTjUrl/sSD7ydQfrn3XjrZIxl75GbC6YkeDQ8xY0o1X8VacDyRbFdysvb hHgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=QAUc4Ub5+Y3djr8Wh3AbCUd5SdWIv4X0tY5hn9hKdt8=; b=h506I6IhmqfF6e7P2id4/CbJ0HqIaWBCxCmwVxuq8FDd7719kknme7q5kksSWV+uqd 7vssgiobtsIVxgqcyK3Xt+fsCGJYVOc32VKUKaVm/h2nox8A/dEBP9xvubudTOgqk44X jpCESTlD4TkXSb6zwdP67ezakaCeYAhtKF6OJ75qjol2Zd5aVQCBcMI5nyMLjbAdYJPd Pmg961ekdE132JbIge9YrRnyKb9IBhxOlYqhFJ3wqGYgzy5ye0qsYkF8WXgkSEd85SX9 bb2cNi8SWSFtLPuIjDIYqpU0q+ckWQb3d0oD15zhWynE1eUK7PWaxv5aDzbzlZ9cAv5e jslA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=snNm9pC6; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b26si1398851edy.172.2020.11.20.00.41.15; Fri, 20 Nov 2020 00:41:38 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=snNm9pC6; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727236AbgKTIiN (ORCPT + 99 others); Fri, 20 Nov 2020 03:38:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725785AbgKTIiM (ORCPT ); Fri, 20 Nov 2020 03:38:12 -0500 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32959C0613CF; Fri, 20 Nov 2020 00:38:11 -0800 (PST) Received: by mail-pl1-x642.google.com with SMTP id 18so4487066pli.13; Fri, 20 Nov 2020 00:38:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=QAUc4Ub5+Y3djr8Wh3AbCUd5SdWIv4X0tY5hn9hKdt8=; b=snNm9pC6XV1go7TTASQGweKXyAqpCr/SaohJmx+I2RzFXmitx7H/F02KJuuzXTfT1+ cwSuCOIvlPm2GDpZOCinB+Iboyw79hJ2j7Ev39CHHihaudEtEnK2yJsuT9CcDm76qWMp LDEgTAsi1yoSEtlcEGwOTNR6dwc0POo5XRsV6caDp2Rhk9X71FsRLR8URL9kFRu+sCIf ZLL0D5IJVZ8cg858ij2Z8ofV7ebFDkjYC4+hrVDNbSD/6xUHbXa25BCrLTFz4gUEbAXE 7tvzOrF8nuOuQXhaKzQoUqT0JZmYct1CIp3H778ndnMVDazSjFGkIMkIdGym98hYVL9b khaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=QAUc4Ub5+Y3djr8Wh3AbCUd5SdWIv4X0tY5hn9hKdt8=; b=SHvONzuV7SsoMjJH3XMJIZ5n+7QgjuClMGCJdyhYHOwwlXt6ekvYSP22VU/FQEawLs xosd5AZFsxmpCaTz+rFxu1kaElpEjrM4ryyWCrPd3HBOd/gEoDcFoI0eSW5QjTtX3wCm ebllDtGnwG4m9vC3H2Kgx/yFEXXtaoR6hf7Rq0cAmA5YoZio/Tzhb8vMq6yfuL1gBdZC mU78jIDZn29Yx5NvGuA4jK4gWA8Xm9crCPMrYZDLIWwR8D+eRZ6CwN+Jh/9IALctjt15 h1pil/HB+5l8C6axI4d7/xANamZPEwMfNUb+2zmfc7ShYcXuuMBsGvnncSH+Pc3edeqQ mB4w== X-Gm-Message-State: AOAM532rZY/3njJTYNJR23eJGL3Mz4XLvsM/KUrEY/QWGnzXnhwjK3aI eU6/VKsu+v+W0TEMjP0eS3dV1x388yDMtbQ= X-Received: by 2002:a17:902:244:b029:d6:c451:8566 with SMTP id 62-20020a1709020244b02900d6c4518566mr12441583plc.46.1605861490749; Fri, 20 Nov 2020 00:38:10 -0800 (PST) Received: from PWN (59-125-13-244.HINET-IP.hinet.net. [59.125.13.244]) by smtp.gmail.com with ESMTPSA id w18sm2715971pfi.216.2020.11.20.00.38.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Nov 2020 00:38:10 -0800 (PST) Date: Fri, 20 Nov 2020 03:37:39 -0500 From: Peilin Ye To: Daniel Vetter Cc: Greg Kroah-Hartman , Jiri Slaby , Linux Kernel Mailing List , dri-devel , Linux Fbdev development list Subject: Re: [PATCH v3 0/5] console: Miscellaneous clean-ups, do not use FNTCHARCNT() in fbcon.c Message-ID: <20201120073245.GA24568@PWN> References: <20201113211633.GY401619@phenom.ffwll.local> <20201114081021.GA11811@PWN> <20201119083257.GA9468@PWN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 19, 2020 at 04:10:57PM +0100, Daniel Vetter wrote: > On Thu, Nov 19, 2020 at 9:33 AM Peilin Ye wrote: > > setfont seems to work fine, I tried Georgian-Fixed16 (256 chars) and > > Uni2-VGA16 (512 chars) under /usr/share/consolefonts/ in my Ubuntu box, > > including setting all consoles to the same font: > > > > for i in {1..6}; do > > sudo setfont -C /dev/tty${i} /usr/share/consolefonts/Georgian-Fixed16.psf.gz > > done > > > > Font rotation also seems to work fine: > > > > for i in {1..4}; do > > echo $i | sudo tee /sys/class/graphics/fbcon/rotate > > sleep 1 > > done > > Thanks a lot for checking all this. Not a problem, watching my console rotating was fun :) > > One last thing I can think of is tile blitting, but I don't have the > > hardware (e.g. a Matrox G400 card, see FB_TILEBLITTING in > > drivers/video/fbdev/Kconfig) at hand, nor did I figure out how to > > simulate it after searching for a while. However based on the other > > tests above I believe vc->vc_font.charcount is set properly. > > tbh I'll just go ahead and delete it if it's broken :-) > > Userspace we have to keep working (and there's actually people > creating new products on top of drm display drivers using fbdev > emulation and /dev/fb/0 interface!), but kernel internal stuff like > fbcon acceleration we can trim pretty aggressively I think. Ah, I see, I'll leave it be, then. Thanks, Peilin Ye