[Xorg-driver-geode] 答复: Plans for next releases

Huang, FrankR FrankR.Huang at amd.com
Wed Apr 6 17:35:53 PDT 2011


I do think we can port from UMS to KMS referring to Matt's KMS porting of glint. As Priit shows, I think that project need some months to finished. At the same time, we should have some TTM knowledge and DRM ioctl knowledge. We need to find the interface between UMS driver and DRM in kernel.

Thanks,
Frank

> -----Original Message-----
> From: xorg-driver-geode-bounces+frankr.huang=amd.com at lists.x.org
> [mailto:xorg-driver-geode-bounces+frankr.huang=amd.com at lists.x.org] On
> Behalf Of Christian Gmeiner
> Sent: 2011年4月6日 23:34
> To: Priit Laes
> Cc: xorg-driver-geode at lists.x.org
> Subject: Re: [Xorg-driver-geode] 答复: Plans for next releases
> 
> >> > For debug the driver, the best way it to use GDB. A graphic tool to
> debug
> >> > the driver based on GDB is DDD. I always use this great tool to debug
> the
> >> > driver. It can check the values of all struct and function values. It
> is
> >> > just like debugging a application. Very powerful!
> >>
> >> I will find next week some time to do some testings in this area.
> >>
> >> > For the link you provided, I gave a look at it. He does a great job
> to port
> >> > the Glint to KMS. Actually, right now I am porting the open source
> code to
> >> > anoterh operating system, I have to port radeon KMS driver too. So I
> am very
> >> > familiar with his project describes. You have seen that Alex gave
> Matt a lot
> >> > of help when he ports the driver. So do I too right now :).
> >> > I think for porint the UMS driver to KMS driver, we need to add CRTC,
> >> > Encoder and Connector support. We need I2C probe to get EDID
> information. We
> >> > need use TTM memory manager to use VRAM. We also need to port Fbdev
> >> > interface. Actually for geode, it is necessary to port it into KMS.
> The TTM
> >> > can solve a lot of memory manage work instead of the static method
> now. And
> >> > 2D accel will be sooner if we implement in kernel instead of user
> space. And
> >> > we can support VGA and DVI connector too in kernel. Actually I am ver
> >> > interested to such a work.
> >> >
> >>
> >> It is really a very interesting project, but how to start such a
> >> porting process?
> >
> > Last December I spent few nights looking into it, but eventually got
> > stuck @ GPU initialization routines (IE the stuff where it writes proper
> > configuration to registers) and decided I better spend my time on
> > something that pays my rent... ;)
> >
> > Anyway, here are the "stub" patches so far:
> > http://plaes.org/files/2011-Q2/0001-Initial-stub-for-Geode-LX-
> modesetting-driver.patch
> > http://plaes.org/files/2011-Q2/0002-Initial-init-for-Geode-LX-
> modesetting-driver.patch
> >
> 
> Wonderful... this is a good starting point I think. What could also
> help the development of the
> KMS driver would be a public git repository...
> 
> 
> greets,
> --
> Christian Gmeiner, MSc
> _______________________________________________
> Xorg-driver-geode mailing list
> Xorg-driver-geode at lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-driver-geode



More information about the Xorg-driver-geode mailing list