Skip to content

platforms/drm: only allocate two dumb buffers for the swapchain

Xaver Hugl requested to merge work/fewer-dumb-buffers into master

Turns out dumb buffers always need to be in directly CPU accessible memory, which is usually only 256MiB, so we need to only use as much as really necessary or allocation might fail at some point. As they are directly CPU accessed there shouldn't be a risk of stalls if we only use two

Merge request reports