Hi Jakob, Jakob Bornecrantz escreveu: > The only thing that should be in the kernel is the: > - touch the gfx registers. > and in some regards > - takes care of the cursor limits. > > Anything else is the client responsibility. The coordinates that we > feed the kernel will be relative to the crtc and in pixels of scanout > buffer. We do not have a 2D/3D acceleration API in the kernel. > Nor should we have a mouse position calculation API in the > kernel either. > > Cursor is in the kernel because in the new world of kernel > modesetting you don't map registers to userspace you talk to > them via the kernel. > > I am a bit divided if any of the above have a place in the DRM > userspace library.
Yeah, but the current design in the kms (i.e. DRM touching the registers) is not good as well. The pointer is jumping a lot -- much more than the "old" design -- because with a single device movement it emits a hundred of events and a lot of context switch is done. Not cool. -- Tiago Vignatti C3SL - Centro de Computação Científica e Software Livre www.c3sl.ufpr.br ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel