]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/msm: Pre-allocate hw_fence
authorRob Clark <robdclark@chromium.org>
Mon, 20 Mar 2023 14:43:23 +0000 (07:43 -0700)
committerRob Clark <robdclark@chromium.org>
Sat, 25 Mar 2023 23:31:43 +0000 (16:31 -0700)
commitf94e6a51e17ccff8e005be208e723ca265c8b881
tree59a6d75827f1553cd1c256cf20e2cd753ed95297
parent24a9671942380cfbb231ddeb7dc5cd1ae6fc7eb8
drm/msm: Pre-allocate hw_fence

Avoid allocating memory in job_run() by pre-allocating the hw_fence.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/527832/
Link: https://lore.kernel.org/r/20230320144356.803762-2-robdclark@gmail.com
drivers/gpu/drm/msm/msm_fence.c
drivers/gpu/drm/msm/msm_fence.h
drivers/gpu/drm/msm/msm_gem_submit.c
drivers/gpu/drm/msm/msm_ringbuffer.c