summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a_allocator.h
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2016-08-25 05:04:55 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-09-01 12:12:15 -0400
commitf43231f7a5b60cd7ebd3068dde04eaac43361d02 (patch)
treeb55007ae1352e13e109c9f55a686bf5fe8ba3cbf /drivers/gpu/nvgpu/gk20a/gk20a_allocator.h
parent737d6346307ad7e87c0195f6e2e5d52cf4c3dd3b (diff)
gpu: nvgpu: enable big page support for pci
While mapping the buffer, first check if buffer is in vidmem, and if yes convert allocation into base address And then walk through each chunk to decide the alignment Add new API gk20a_mm_get_align() which returns the alignment based on scatterlist and aperture, and use this API to get alignment during mapping Enable big page support for pci by unsetting disable_bigpage Jira DNVGPU-97 Change-Id: I358dc98fac8103fdf9d2bde758e61b363fea9ae9 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1207673 (cherry picked from commit d14d42290eed4aa7a2dd2be25e8e996917a58e82) Reviewed-on: http://git-master/r/1210959 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a_allocator.h')
0 files changed, 0 insertions, 0 deletions