]> 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)
commitb99d6ee435b74c833961f000198624d335149c8c
tree756818f7e9b1a1a90c6aeb0bcf981a6d79282265
parentbd7210543c173644d5a265515769c409273e4147
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