]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
gpu: nvgpu: do not abort probe if secure page alloc fails
authorDeepak Nibade <dnibade@nvidia.com>
Tue, 24 Jun 2014 12:41:25 +0000 (18:11 +0530)
committerHarshada Kale <hkale@nvidia.com>
Thu, 26 Jun 2014 16:34:47 +0000 (09:34 -0700)
commit41f89c9eb5f6e8b492f514a80f703159b20e4836
tree43b2ff0bacf888141cb58b1623beaf5000f20c70
parent21f97241a800436a72046c39ced766583f1fdd0a
gpu: nvgpu: do not abort probe if secure page alloc fails

Do not abort GPU probe if secure page alloc fails.
We can just note that this allocation failed (using bool
secure_alloc_ready) and prevent further secure memory
allocation if this flag is not set.

Bug 1525465

Change-Id: Ie4eb6393951690174013d2de3db507876d7b657f
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/427730
(cherry picked from commit e7e47bb45d5ff5dcb48d8a961e9908b71db9e02f)
Reviewed-on: http://git-master/r/428306
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
drivers/gpu/nvgpu/gk20a/gk20a.c
drivers/gpu/nvgpu/gk20a/platform_gk20a.h
drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c