commit | e9a8b218044c693a12a852c558f745267a6b6eb8 | [log] [tgz] |
---|---|---|
author | Ben Skeggs <bskeggs@redhat.com> | Wed Nov 01 03:56:19 2017 +1000 |
committer | Ben Skeggs <bskeggs@redhat.com> | Thu Nov 02 13:32:23 2017 +1000 |
tree | 754c70e3173cce6eb9002fc389d2569e50b55ae7 | |
parent | c09597f083960cea492e1d658b9039b06d8a6839 [diff] |
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: Ben Skeggs <bskeggs@redhat.com>