summaryrefslogtreecommitdiffstats
path: root/doxygen/nir.doxy
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2017-09-26 13:37:40 +0200
committerEric Anholt <[email protected]>2017-11-09 10:57:17 -0800
commit359a8f6ae5a2e33ffd8dd2a06883fad83e7e09c9 (patch)
treefd3ec9fcbf75c81dcd381306c4d682819c57bee2 /doxygen/nir.doxy
parent7d72af4f09c0482661096797594287e6d7d5c1b2 (diff)
broadcom/vc4: Mark BOs as purgeable when they enter the BO cache
This patch makes use of the DRM_IOCTL_VC4_GEM_MADVISE ioctl to mark all BOs placed in the mesa BO cache as purgeable so that the system can reclaim this memory under memory pressure. v2: - Removed BOs from the cache when they've been purged by the kernel - Check whether the madvise ioctl is supported or not before using it v3: Don't walk the whole list when we find a busy BO (by anholt, acked by Boris) Signed-off-by: Boris Brezillon <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'doxygen/nir.doxy')
0 files changed, 0 insertions, 0 deletions