diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2014-06-10 02:59:39 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:10:16 -0400 |
commit | 6838d9f05e0d712925f759b90c830b2d513ce7a6 (patch) | |
tree | 64dd2393bfb2a650e101438be847eda31a1d2b37 /drivers/gpu/nvgpu/gk20a/gk20a.c | |
parent | b7793a493a1fa292a22d5ce84c43ee342b9824b2 (diff) |
gpu: nvgpu: add explicit wmb() before reg write
Add explict memory barrier wmb() before writing to register values.
Also call writel_relaxed() instead of writel() to skip internal
wmb() call which is conditional on some configs.
Bug 200012037
Change-Id: I9c545138314b6e73fec2a4aff2b1956444fac806
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/421463
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
0 files changed, 0 insertions, 0 deletions