diff options
author | Rob Herring <robh@kernel.org> | 2019-08-05 17:33:58 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-08-09 00:57:36 +0300 |
commit | 013b6510131568ce4e01856d5360bfdfe9c3632f (patch) | |
tree | 7c6b481c2a64a7dc2178c82622b0736bf0325084 /drivers/gpu/drm/panfrost/TODO | |
parent | 17acb9f35ed736c177f85b8ee711f278e7aff421 (diff) | |
download | linux-013b6510131568ce4e01856d5360bfdfe9c3632f.tar.xz |
drm/panfrost: Add madvise and shrinker support
Add support for madvise and a shrinker similar to other drivers. This
allows userspace to mark BOs which can be freed when there is memory
pressure.
Unlike other implementations, we don't depend on struct_mutex. The
driver maintains a list of BOs which can be freed when the shrinker
is called. Access to the list is serialized with the shrinker_lock.
Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190805143358.21245-2-robh@kernel.org
Diffstat (limited to 'drivers/gpu/drm/panfrost/TODO')
-rw-r--r-- | drivers/gpu/drm/panfrost/TODO | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/panfrost/TODO b/drivers/gpu/drm/panfrost/TODO index a01eae4bd8ba..d4c7fb7e7d13 100644 --- a/drivers/gpu/drm/panfrost/TODO +++ b/drivers/gpu/drm/panfrost/TODO @@ -14,7 +14,5 @@ - Support userspace controlled GPU virtual addresses. Needed for Vulkan. (Tomeu) -- Support for madvise and a shrinker. - - Compute job support. So called 'compute only' jobs need to be plumbed up to userspace. |