mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-25 00:52:45 -04:00
drm/msm: Let fences read directly from memptrs
Let dma_fence::signaled, etc, read directly from the address that the hw is writing with updated completed fence seqno, so we can potentially notice that the fence is signaled sooner. Plus add some docs. Signed-off-by: Rob Clark <robdclark@chromium.org> Link: https://lore.kernel.org/r/20210726144359.2179302-2-robdclark@gmail.com Signed-off-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
@@ -51,7 +51,7 @@ struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id,
|
||||
|
||||
snprintf(name, sizeof(name), "gpu-ring-%d", ring->id);
|
||||
|
||||
ring->fctx = msm_fence_context_alloc(gpu->dev, name);
|
||||
ring->fctx = msm_fence_context_alloc(gpu->dev, &ring->memptrs->fence, name);
|
||||
|
||||
return ring;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user