Thread (2 messages) 2 messages, 2 authors, 1999-01-20

Re: [pm2fb] update 990110 - first public release ;)

From: Geert Uytterhoeven <hidden>
Date: 1999-01-20 14:17:26

On Wed, 20 Jan 1999, Sven LUTHER wrote:
On Wed, Jan 20, 1999 at 02:37:20PM +0100, Geert Uytterhoeven wrote:
quoted
On Wed, 20 Jan 1999, Sven LUTHER wrote:
quoted
quoted
quoted
quoted
Yes. The X server must not do video mode initialization, but call the frame
buffer device instead.
what then is the stuff you initialize in the mach64 accel init stuff ?
Like you say, that's _accel_ _engine_ init stuff, not _graphics_ _engine_ init
stuff. The graphics engine takes care of the video mode (programmed in the
fbdev in the kernel), while the X server has to program the accel engine.
in the case of the permedia 2, the engine is only one long pipeline, so the graphic and
accel engine are the same ?
Are you sure about that?
I think yes, all units are in one pipeline, the same for 2D and 3D, and only this units are documented in
the TI docs, but then i guess by graphic engine you mean the one responsible for 
sending data to the monitor ? it is the last unit of the pipeline.
I don't have the Permedia2 docs here, but I don't see any reason why the
graphics engine is supposed to be at the end of the pipeline. You don't change
the graphics engine configuration when drawing data, you have to initialize the
video mode (pixel clock, resolution, timings) only once.
quoted
The X server may restore the video mode by calling the FBIOPUT_VSCREENINFO
ioctl with the `var' it got on startup.
but there is no accel specific stuff that get launched on exiting X, isnt'it, there is only the the init
Not 100% true: the fbdev has to reinit the accel engine if it wants to use
accelerated fbcon-* routines for the text console.
function that get called when you go to X. I could, for starting, have a empty such function,
that is i just copy the info from the fbdev info structs to the glint_info structs, like
you do at the begining of the mach64 init functions ?
Yes. But if you want to use the accel engine in X, you have to implement the
reinit function. Well, that's XF68_FBDev, XF86_SVGA automagically does this :-)
I will try to work on this this week end, and hope that i don't get the same problems as last time ...
Good luck!

Greetings,

						Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium


[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help