Skip to content

drm/vram-helper: Reduce memory fragmentation

Thomas Zimmermann dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/vram-helper: Don't put new BOs into VRAMdrivers/gpu/drm/drm_gem_vram_helper.c+1 -10 replies
2/2drm/vram-helper: Alternate between bottom-up and top-down placementdrivers/gpu/drm/drm_gem_vram_helper.c include/drm/drm_gem_vram_helper.h+29 -913 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] drm/vram-helper: Reduce memory fragmentation

VRAM memory can easily fragment, which leads to OOM errors on devices with little VRAM available (i.e., all of them). This patchset addresses the problem by placing BOs near the bottom and top ends of the VRAM and keeping available areas near the middle.

Thomas Zimmermann (2):
drm/vram-helper: Don't put new BOs into VRAM drm/vram-helper: Alternate between bottom-up and top-down placement

 drivers/gpu/drm/drm_gem_vram_helper.c | 30 +++++++++++++++++++++------
 include/drm/drm_gem_vram_helper.h     | 10 +++++----
 2 files changed, 30 insertions(+), 10 deletions(-)

--
2.26.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel