summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2016-08-31 05:40:11 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-09-08 12:43:46 -0400
commit0ca01a3355c5a17847f964f6f604b3084b4ea613 (patch)
tree144260dcf48f28217ca5944e893fdeb82e0faa47 /include/linux
parent4e0e13d92bf19674725e1185b3aadc66e2a25fac (diff)
gpu: nvgpu: fix non-contiguous pramin access
In pramin_access_batched(), in each iteration of the loop we first decide size of data that we should write in that iteration. In case this size is equal to length of the chunk, we need to move to use next chunk for subsequent iteration But since we change offset variable before we check above, we end up using same chunk in next iteration Fix this by correcting the sequnce to first check if we should move to next chunk and then only adjust the offset variable Jira DNVGPU-24 Change-Id: I58c2e24678f4c6dfbe33bf111edd06788629eca8 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1210892 (cherry picked from commit 83cc179199692d28a93b3b884c9bc094ff513298) Reviewed-on: http://git-master/r/1213450 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions