aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2019-08-05 08:33:58 -0600
committerRob Herring <[email protected]>2019-08-08 15:57:36 -0600
commit013b6510131568ce4e01856d5360bfdfe9c3632f (patch)
tree7c6b481c2a64a7dc2178c82622b0736bf0325084 /tools/perf/scripts/python/bin
parent17acb9f35ed736c177f85b8ee711f278e7aff421 (diff)
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 <[email protected]> Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Acked-by: Alyssa Rosenzweig <[email protected]> Signed-off-by: Rob Herring <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions