plan about my lima dev
Hi guys, I'm going to share plan of my near future work for lima dev here instead of wiki so that you may know and comment on it.
Currently I want to make the lima_draw.c more generic, robust and support multi render target (FBO), so need feature like dynamic command stream mem alloc and new command submit interface which needs a lot of kernel driver work: new memory management and gpu scheduler. So the plan is:
- implement new gpu scheduler by leveraging the 4.16 kernel drm_sched work
- implement new memory management which support non-continuous mem, may be support buffer re-size for user space change command stream mem size dynamically
- refine lima_draw.c for dynamic mem alloc and management
- refine lima_draw.c for new command submit interface and support multi render target
So the work starts from two kernel driver part - mem management and gpu scheduler to user space lima_draw.c refine. Now I'm working on the gpu scheduler part.