gpu: nvgpu: implement mapping for sparse allocation
authorKirill Artamonov <kartamonov@nvidia.com>
Wed, 26 Feb 2014 20:58:43 +0000 (22:58 +0200)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Wed, 28 May 2014 15:51:59 +0000 (08:51 -0700)
commita24470f69961508412402b9b06d5b71fbf6f7549
tree1002f37723092f12e12f9c93eff7fbdef5ec433b
parent26ae880a29b79aadf61601cfb3e047b7e0d51746
gpu: nvgpu: implement mapping for sparse allocation

Implement support for partial buffer mappings.

Whitelist gr_pri_bes_crop_hww_esr accessed by
fec during sparse texture initialization.

bug 1456562
bug 1369014
bug 1361532

Change-Id: Ib0d1ec6438257ac14b40c8466b37856b67e7e34d
Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com>
Reviewed-on: http://git-master/r/375012
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/gpu/nvgpu/gk20a/as_gk20a.c
drivers/gpu/nvgpu/gk20a/gr_gk20a.c
drivers/gpu/nvgpu/gk20a/mm_gk20a.c
drivers/gpu/nvgpu/gk20a/mm_gk20a.h
include/linux/nvhost_as_ioctl.h