Log in

Gallium gearing up

Well i should have posted this before new year but i was in a rush to get to Barcelona (nice city between) anyway here it's glxgears working with radeon modesetting and softpipe as software render. So of course you wonder what the hell does this means :) In others words i am putting all together  pieces to start working on gallium driver and this by far the most painful part. To sum up:
- drm kernel part have to supply and ioctl to get command from userspace
- ddx driver (here an hacked fbdev driver) have to init dri for xserver
- winsys driver have to do some others dri initialization and also init gallium infrastructure

So now i am going to polish all this as right now there is plenty of hack in several places. Once i am happy with this code i will the gallium driver for r300/r400 hw and r500 too.

All code are in my private repo cgit.freedesktop.org look for ~glisse

Gearing up

Side note: color are wrong due to softpipe not my code :)

Radeon kernel modesetting

My kernel modesetting code is finaly accessible :)

git clone git://people.freedesktop.org/~glisse/drm

The beast is in modesetting-radeon code. This is primilary work ie this is not intended for end user but for developer, curious people or people living beyond the edge. Here is a todo list that pop from the top of my brain:
    - add crtc2
    - tmds
    - lvds
    - add bios data table so we don't need to hardcode dac/crtc infos
    - separate clock control to make power saving easier & cleaner
    - tiling (warning tiling shouldn't be enable in double scan or interlace)
    - surface reg manager (this goes along with tiling)
    - suspend/resume hook
    - avivo & r500 family support
    - atom bios support (for posting card mostly)
    - finish superioctl skeleton

Well of course i welcome any patch on this topics :) Now my plan is to work on dri2 and gallium driver for r300/r400 family i hope to be able to demonstrate this at fosdem 2008. You will likely see  xserver & mesa repository popup soon in my private area at fdo.

I also would like to thanks every people who helped me to better understand this hw and to help me fixing bug i did encouter.
So I am writing a blog, such things happen, but don't worry this will be mostly about linux graphic world and especialy on what kind of dumb stuff i am doing on radeon hardware. I might cover others topics from time to time and i hope you will forget any time i get lost in life topic :)