airlied (airlied) wrote,

steps towards TTM for radeon

It would be nice to get TTM support for radeon at some stage, so I did a quick hack of fencing/buffer management[1] code from i915 driver into the radeon drm, if I run this on an Intel AGP system with a radeon in it, I can run ttmtest and it doesn't crsah and seems to run..

I probably need to validate that code a lot more but I'm limited in time as usual... the next thing would be do a TTM backend for the PCIEGART on my r300 and with those two a userspace Mesa driver could start to take advantage of this for certain things... there would still need to be a lot of backwards compat as we don't have TTM support for any AGP but intel at the moment..

I've no idea if the fence code in this is in any way correct either...

  • Post a new comment


    default userpic

    Your reply will be screened