From owner-freebsd-arch@FreeBSD.ORG Mon Mar 3 19:50:14 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 17111587; Mon, 3 Mar 2014 19:50:14 +0000 (UTC) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id CE02C382; Mon, 3 Mar 2014 19:50:13 +0000 (UTC) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 26DDE3AE30; Mon, 3 Mar 2014 19:50:12 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.7/8.14.7) with ESMTP id s23JoBV4060476; Mon, 3 Mar 2014 19:50:11 GMT (envelope-from phk@phk.freebsd.dk) To: Justin Hibbits Subject: Re: newcons fb driver In-reply-to: From: "Poul-Henning Kamp" References: <42130.1393829535@critter.freebsd.dk> <5314B2A2.3060100@pix.net> Content-Type: text/plain; charset=ISO-8859-1 Date: Mon, 03 Mar 2014 19:50:11 +0000 Message-ID: <60475.1393876211@critter.freebsd.dk> Cc: freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2014 19:50:14 -0000 In message , Justin Hibbits writes: >On Mon, Mar 3, 2014 at 8:49 AM, Kurt Lidl wrote: >All great knowledge, but really only answers half of what I'm looking >for (always good to know potential pitfalls). Assuming a >tunable/sysctl is added, what's the best way to optimize from my >original post? Use a backing buffer (potentially with a tunable to >not)? Or assume we don't support background images, and write the >background color in the masked pixels? You should probably drop sos@ aka Søren Schmidt an email, he did syscons and has 10+ years experience in this stuff. One advantage of a backing buffer is that you can implement things like the 1000 line scroll buffer syscons did etc, I personally use that a lot to see dmesg output etc. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.