commit | 7f53d6dc9a728d54cc4e1d70259376e09675f924 | [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:22 2017 +1000 |
tree | 0ecf4ecb84b2abfeebc1b25fe11bbec262466da9 | |
parent | 6cd7670c1e2a4a70a3d421521aea548e68992621 [diff] |
drm/nouveau/core/memory: comptag allocation nvkm_memory is going to be used by the upcoming mmu rework for the basic representation of a memory allocation, as such, this commit adds support for comptag allocation to nvkm_memory. This is very simple for now, in that it requires comptags for the entire memory allocation even if only certain ranges are compressed. Support for tracking ranges will be added at a later date. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>