summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/Makefile
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2014-04-23 05:31:25 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:09:43 -0400
commitb1538c34167c01cefb6308d7209978fa1e39b28e (patch)
treed7b4315176b556966151219a821f9ee9cb7ca6ad /drivers/gpu/nvgpu/gk20a/Makefile
parenteea79aaa60087174adf7e6876ac089cb4734ebaf (diff)
gpu: nvgpu: gk20a: add syncpt null checks
On channel_finish() path, we first check if last submit was WFI and in that case we do not submit new WFI but just wait on old syncpt fence. But it is possible that sync resource is already freed from another path (channel_suspend()) Hence add a NULL check there to prevent Null pointer exception. Also, in channel_free() path, move syncpt free API after channel_unbind() since we logically free the syncpt after unbinding the channel. Bug 1305024 Change-Id: Icc2fc83f004310560fc459527e1d37730428ec2d Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/400233 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Shridhar Rasal <srasal@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/Makefile')
0 files changed, 0 insertions, 0 deletions