diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2017-11-01 03:56:19 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-11-02 13:32:23 +1000 |
commit | e9a8b218044c693a12a852c558f745267a6b6eb8 (patch) | |
tree | 754c70e3173cce6eb9002fc389d2569e50b55ae7 /drivers/gpu/drm/nouveau/nvkm/subdev/instmem | |
parent | c09597f083960cea492e1d658b9039b06d8a6839 (diff) | |
download | linux-e9a8b218044c693a12a852c558f745267a6b6eb8.tar.bz2 |
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/instmem')
0 files changed, 0 insertions, 0 deletions