Nothing special going on here. Aside reviewing the code, it seems like drm_sched_job_arm() should be moved into lima_sched_context_queue_task and put under some mutex together with drm_sched_push_job(). See the kerneldoc for drm_sched_push_job(). v2: Rebase over renamed functions to add dependencies. Reviewed-by: Qiang Yu <yuq825@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Cc: Qiang Yu <yuq825@gmail.com> Cc: Sumit Semwal <sumit.semwal@linaro.org> Cc: "Christian König" <christian.koenig@amd.com> Cc: lima@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Link: https://patchwork.freedesktop.org/patch/msgid/20210805104705.862416-9-daniel.vetter@ffwll.ch |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| lima_bcast.c | ||
| lima_bcast.h | ||
| lima_ctx.c | ||
| lima_ctx.h | ||
| lima_devfreq.c | ||
| lima_devfreq.h | ||
| lima_device.c | ||
| lima_device.h | ||
| lima_dlbu.c | ||
| lima_dlbu.h | ||
| lima_drv.c | ||
| lima_drv.h | ||
| lima_dump.h | ||
| lima_gem.c | ||
| lima_gem.h | ||
| lima_gp.c | ||
| lima_gp.h | ||
| lima_l2_cache.c | ||
| lima_l2_cache.h | ||
| lima_mmu.c | ||
| lima_mmu.h | ||
| lima_pmu.c | ||
| lima_pmu.h | ||
| lima_pp.c | ||
| lima_pp.h | ||
| lima_regs.h | ||
| lima_sched.c | ||
| lima_sched.h | ||
| lima_trace.c | ||
| lima_trace.h | ||
| lima_vm.c | ||
| lima_vm.h | ||
| Makefile | ||