]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Signal fences sooner
authorRob Clark <robdclark@chromium.org>
Mon, 26 Jul 2021 14:43:58 +0000 (07:43 -0700)
committerRob Clark <robdclark@chromium.org>
Wed, 28 Jul 2021 00:53:52 +0000 (17:53 -0700)
commit298287f6e79a8a695d9e3a8a0b040f13d0805c77
treef8128e7d44735e15272e5dfc0e171c94b3347c83
parentda3d378dec86348d21c02f311da87fa0742e36f6
drm/msm: Signal fences sooner

Nothing we do to in update_fences() can't be done in an atomic context,
so move this into the GPU's irq context to reduce latency (and call
dma_fence_signal() so we aren't relying on dma_fence_is_signaled() which
would defeat the purpose).

Signed-off-by: Rob Clark <robdclark@chromium.org>
Link: https://lore.kernel.org/r/20210726144359.2179302-3-robdclark@gmail.com
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/msm_gpu.c