video: tegra: fix gk20a space alloc
authorKevin Huang <kevinh@nvidia.com>
Tue, 25 Jun 2013 18:33:07 +0000 (11:33 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:33:24 +0000 (13:33 -0700)
commitb7aa0627f6558a87fdd705c8c7081511087d8702
tree74f34d4c561cec82c80208470976fe66b896664d
parent90e3d2cdc4aaa5fd81c61bee4d2061b744e865e4
video: tegra: fix gk20a space alloc

Validate gmmu table in buffer map.
Return offset rather than page number.

Bug 1240060.

Change-Id: I54b569ee21558025988b4cf7c8874d7924f4dc65
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/252195
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashish Srivastava <assrivastava@nvidia.com>
Tested-by: Ashish Srivastava <assrivastava@nvidia.com>
Reviewed-by: Ken Adams <kadams@nvidia.com>
drivers/video/tegra/host/gk20a/mm_gk20a.c