summaryrefslogtreecommitdiffstats
path: root/include/trace/events/gk20a.h
diff options
context:
space:
mode:
authorAdeel Raza <araza@nvidia.com>2016-02-29 17:25:15 -0500
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:11 -0500
commitf03ee50232bbd562f47b44430ae9f1e83b424dd6 (patch)
treed5ba14eeac5db4866193ae6093835ccaa7a70f00 /include/trace/events/gk20a.h
parent63d463c1ac1aa618111cbaee5c90ae69698816b6 (diff)
gpu: nvgpu: gp10b: only create ECC stats once
The ECC sysfs stat creation function is called on GR init. GR can get initialized multiple times but we only need to create the ECC stats once. Therefore, add a check to avoid creating duplicate stat sysfs nodes. Change-Id: Ifb338e57643f2f15492df137d2a7521e0c990cf2 Signed-off-by: Adeel Raza <araza@nvidia.com> Reviewed-on: http://git-master/r/1021660 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/trace/events/gk20a.h')
0 files changed, 0 insertions, 0 deletions