Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e9a8b218 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/fb/ram: add interface to allocate vram as an nvkm_memory object



Upcoming MMU changes use nvkm_memory as its basic representation of memory,
so we need to be able to allocate VRAM like this.

The code is basically identical to the current chipset-specific allocators,
minus support for compression tags (which will be handled elsewhere anyway).

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent c09597f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment