]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/core/memory: add mechanism to retrieve allocation granularity
authorBen Skeggs <bskeggs@redhat.com>
Tue, 31 Oct 2017 17:56:19 +0000 (03:56 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 2 Nov 2017 03:32:22 +0000 (13:32 +1000)
commitb549f96e4a6d002763ce15cada39b2c5c52d3a1b
tree756818f7e9b1a1a90c6aeb0bcf981a6d79282265
parenta58690c587e7549bc4c65b89a3f534195a519a18
drm/nouveau/core/memory: add mechanism to retrieve allocation granularity

Needed by VMM code to determine whether an allocation is compatible with
a given page size (ie. you can't map 4KiB system memory pages into 64KiB
GPU pages).

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/core/memory.h