]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
gpu: nvgpu: Check alignment of fixed allocs
authorTerje Bergstrom <tbergstrom@nvidia.com>
Tue, 31 Mar 2015 20:15:58 +0000 (13:15 -0700)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Fri, 3 Apr 2015 17:28:34 +0000 (10:28 -0700)
commitb6eed18ef30b7dcc543b44fb943a636cf5976155
tree4dc1d9e35a80b3e618408b8249eaaa9f6dbbe58b
parentbe966f96d3a16e4132762504520ec7137a380d5e
gpu: nvgpu: Check alignment of fixed allocs

When mapping buffer on a fixed address, ensure that the alignment of
buffer and the address are compabile. When freeing, retrieve page
size from the VA instead of choosing it again.

Bug 1605769

Change-Id: I4f73453996cd53a912b6a414caa41563cde28da7
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/725764
drivers/gpu/nvgpu/gk20a/mm_gk20a.c