diff options
author | Alex Waterman <alexw@nvidia.com> | 2016-08-31 19:31:09 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-09-20 17:56:44 -0400 |
commit | 2889093618a41a04d1a21af75a3d40834a6b1c47 (patch) | |
tree | c301a0cabf4f84cedc59b599b78a79de9b4d4abd /include/linux/gk20a.h | |
parent | f361f89b12a7e2042a86ca2d183c4899bf181d9b (diff) |
gpu: nvgpu: Add barriers for init test
Make sure that all writes have been commited before allowing
the variable storing the init status to be seen as non-zero.
Pair this with a read memory barrier where the check for the
status is done.
Bug 1799159
Change-Id: I938dffdfc2f39187b0dad11b7e283381560961b4
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1211523
(cherry picked from commit 6dd673d24a93c05834c9d96d2022b359ced5b73b)
Reviewed-on: http://git-master/r/1223456
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/linux/gk20a.h')
0 files changed, 0 insertions, 0 deletions