[Mesa-dev] RFC/intel: Separate batch buffers from dynamic state

Dave Airlie airlied at gmail.com
Mon May 6 13:49:44 PDT 2013


>> What do you think?
>
> It would need some sort of plan for how to deal with making
> drm_intel_bufmgr_check_aperture work correctly and efficiently when a
> reloced-to BO gets new relocs, which is the reason everything is in one
> BO currently.

I was looking for code that did this for something recently, where you
have two levels of relocations,

cmdbuf->state bufs->objects

and I was all that how Intel works, before I discovered the truth :-)

It is kinda tricky to emit secondary levels relocs alright.

Dave.


More information about the mesa-dev mailing list