From owner-freebsd-arch@FreeBSD.ORG Mon Mar 3 17:44:20 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E1DD53BE for ; Mon, 3 Mar 2014 17:44:20 +0000 (UTC) Received: from mail-ea0-x22c.google.com (mail-ea0-x22c.google.com [IPv6:2a00:1450:4013:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7BF14371 for ; Mon, 3 Mar 2014 17:44:20 +0000 (UTC) Received: by mail-ea0-f172.google.com with SMTP id l9so4741803eaj.3 for ; Mon, 03 Mar 2014 09:44:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=nC/Y4r43zOqPqXTtKDPQUgv4wINuVT1wuPAb/jt8aig=; b=x0/Tz2C3E+g/5wFXkVWG69ew9g5bCanUV+bVuPLLH4vR/IPv+ujwRJ5iL0wdcGt5P2 j9VSD0L3OQYrA2fJ4eifBdO+uS/cj8fGakCuBjqRSEx6qeLoiESqxKLq2iLkKX2K3Y9s ewtYrOCElYWZB34OQjKKgBYHH8xzM/3DlZKWaIuBTN5FUS5PHuuBhtLdfrzRdc1s+6ch FI9NwPdFKFxQUKf/QSDCePDnqhVPRoPhlPfXKSQcVbQySnHGAUjy0a7tHn/gEJ5nd4gl okLaABrMWYdu3OBG5e3UE9e81msLTST5pJz098wSft0U6ZOk+IGxrqez2Kl4LrvfUxjD jX7w== MIME-Version: 1.0 X-Received: by 10.205.106.7 with SMTP id ds7mr28166bkc.158.1393868658553; Mon, 03 Mar 2014 09:44:18 -0800 (PST) Sender: chmeeedalf@gmail.com Received: by 10.205.21.68 with HTTP; Mon, 3 Mar 2014 09:44:18 -0800 (PST) In-Reply-To: <5314B2A2.3060100@pix.net> References: <42130.1393829535@critter.freebsd.dk> <5314B2A2.3060100@pix.net> Date: Mon, 3 Mar 2014 09:44:18 -0800 X-Google-Sender-Auth: D5Vd_A0iErLy9TtplyqA17off64 Message-ID: Subject: Re: newcons fb driver From: Justin Hibbits To: freebsd-arch@freebsd.org Content-Type: text/plain; charset=UTF-8 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 17:44:20 -0000 On Mon, Mar 3, 2014 at 8:49 AM, Kurt Lidl wrote: >> In message > mail.gmail.com> >> >> , Adrian Chadd writes: >> >>> .. i'm pretty sure there was a reason for why it's done in byte sizes. >>> Maybe speak to phk? >> >> >> Buggy video hardware, which does not do larger writes correctly, >> the most recent one being an Intel Laptop, but I can't remember which. >> >> At the very least, byte writes needs to be a boot-time option. > > > Intel Atom boards, as I recall: > > http://freshbsd.org/commit/freebsd/r237203 > > -Kurt 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? - Justin