From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 16 12:20:36 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 894C7F24 for ; Sat, 16 Feb 2013 12:20:36 +0000 (UTC) (envelope-from phileas-fogg@mail.ru) Received: from fallback3.mail.ru (fallback3.mail.ru [94.100.176.58]) by mx1.freebsd.org (Postfix) with ESMTP id 12918835 for ; Sat, 16 Feb 2013 12:20:35 +0000 (UTC) Received: from smtp43.i.mail.ru (smtp43.i.mail.ru [94.100.177.103]) by fallback3.mail.ru (mPOP.Fallback_MX) with ESMTP id CBE70D502F03 for ; Sat, 16 Feb 2013 16:20:33 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail; h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From:Date:Message-ID; bh=VI9vx54z/G5DCnemRsGPhT8kc2tZEL8WhvyRdNPvsmY=; b=fXYJuR2Yqj/f/6Oof/IF8FHsQFjN7D9yWf2lrsDk5V3DmbjSPMjMDaFi1aDek4urpZ6oHvcIgKxSm67x9hBMQPBwFp9EqaeTBW/qhIAi95UBYfiHooXAgMLHCHux9y9U; Received: from [149.172.191.230] (port=34589 helo=[192.168.1.76]) by smtp43.i.mail.ru with esmtpa (envelope-from ) id 1U6gkl-0001zx-5f for freebsd-hackers@freebsd.org; Sat, 16 Feb 2013 16:20:27 +0400 Message-ID: <511F879C.3030801@mail.ru> Date: Sat, 16 Feb 2013 14:20:28 +0100 From: Phileas Fogg User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Scrolling in framebuffer syscons Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: Not detected X-Mras: Ok X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2013 12:20:36 -0000 Hi, i have a question about how the scrolling in a framebuffer syscons works. I'm trying to speed up the syscons on the PS3 console which is a simple framebuffer syscons. It uses the renderer _gfbrndrsw_ (see dev/syscons/scgfbrndr.c) to draw into the framebuffer of the PS3 console. The _gfb_draw_ function implements a simple scrolling that moves data from bottom to top with _vidd_copy_. And that's where i have a problem because _vidd_copy_ calls the function _ps3fb_copy_ (see powerpc/ps3/ps3_syscons.c). But the function _ps3fb_copy_ is NOT implemented yet. So, the question is how does the scrolling work then ? I took a look at other syscons implementation based on a framebuffer, and almost all of them do NOT implement _vidd_copy_ function, e.g. XBOX syscons. Thanks regards