diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2015-04-14 10:06:50 -0400 |
---|---|---|
committer | Ishan Mittal <imittal@nvidia.com> | 2015-05-18 01:49:27 -0400 |
commit | 087ce7301b95cd92a1b0d97ee495c0b3518f48ef (patch) | |
tree | fd48da9c4baaf9fc3752facddd1037d060d1efb5 /drivers/gpu/nvgpu/gk20a/hal.c | |
parent | 916a557bd60c156d9d1c1fa80218d7467bf17ece (diff) |
gpu: nvgpu: return error if GPU not initialized
While writing to sysfs "tpc_fs_mask", we need to have
GPU initialized (we need to have called gk20a_busy()
at least once before)
If this is not happened yet, then return error
Bug 1456969
Change-Id: I09db6bcaa44b8939246cb5ed1205f3fbc0ee0552
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/731327
(cherry picked from commit 0dbbcf60bbad6b9a31392d2290a3e26c5daa1e5d)
Reviewed-on: http://git-master/r/731671
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hal.c')
0 files changed, 0 insertions, 0 deletions