Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2013 14:20:28 +0100
From:      Phileas Fogg <phileas-fogg@mail.ru>
To:        freebsd-hackers@freebsd.org
Subject:   Scrolling in framebuffer syscons
Message-ID:  <511F879C.3030801@mail.ru>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?511F879C.3030801>