diff options
| author | Thomas Zimmermann <[email protected]> | 2019-09-23 17:27:42 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2019-09-27 07:48:53 +0000 |
| commit | 245f44e77101df44e1074c765732b5613579179d (patch) | |
| tree | 693f95401b38e089642993b9229fb6931b82fc68 /drivers/gpu/drm/meson/meson_vclk.c | |
| parent | drm/komeda: Adds power management support (diff) | |
| download | kernel-245f44e77101df44e1074c765732b5613579179d.tar.gz kernel-245f44e77101df44e1074c765732b5613579179d.zip | |
drm/vram: Support top-down placement flag
Pinning lots of small buffer objects, such as cursors or sprites, to video
memory can lead to fragmentation, which is a problem for devices with only
a small amount of memory. As a result, framebuffer images might not get
pinned, even though there's enough space available overall.
The flag DRM_GEM_VRAM_PL_FLAG_TOPDOWN marks buffer objects to be pinned at
the high end of video memory. This leaves contiguous space available at
the memory's low end.
Signed-off-by: Thomas Zimmermann <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/meson/meson_vclk.c')
0 files changed, 0 insertions, 0 deletions
