]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Add helpers for setting up an array of dma_fence dependencies.
authorEric Anholt <eric@anholt.net>
Mon, 1 Apr 2019 22:26:33 +0000 (15:26 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 16 Apr 2019 22:32:20 +0000 (15:32 -0700)
commit988766346141d542e757b6eb9a82b1d4f9c92a29
tree498a12878d4de2308f1cc88f23ffeb4a509f8a51
parentb2522911a0a32ea6069916487538a7ad0b802199
drm: Add helpers for setting up an array of dma_fence dependencies.

I needed to add implicit dependency support for v3d, and Rob Herring
has been working on it for panfrost, and I had recently looked at the
lima implementation so I think this will be a good intersection of
what we all want and simplify our scheduler implementations.

v2: Rebase on xa_limit_32b API change, and tiny checkpatch cleanups on
    the way in (unsigned int vs unsigned, extra return before
    EXPORT_SYMBOL_GPL)

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190401222635.25013-6-eric@anholt.net
Reviewed-and-tested-by: Qiang Yu <yuq825@gmail.com> (v1)
drivers/gpu/drm/drm_gem.c
include/drm/drm_gem.h