diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2016-07-20 03:00:50 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-10-07 02:34:57 -0400 |
commit | 0bb1f4595885714057fa5399e3ee7a6ce5422de1 (patch) | |
tree | b0bcbf0d1d1eb5ab010ee3e9bc9e897f38cbcb83 /include/trace/events | |
parent | 03a6e36c2ff7afc0379f2e501ef62fdfeb82639d (diff) |
gpu: nvgpu: optimize barrier in batch pramin writes
Move wmb() before the loop in pramin-accessed batch writes and use
writel_relaxed() directly, instead of calling gk20a_writel() that would
do wmb() on each iteration separately.
Jira DNVGPU-24
Change-Id: I4c1375a819266727f97e2f109d3132b5b0974ac6
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1213600
(cherry picked from commit 79e3e38e0c5384ababfd55b8e6cd9723eb8f7b66)
Reviewed-on: http://git-master/r/1184343
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/trace/events')
0 files changed, 0 insertions, 0 deletions