diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-08-10 21:31:53 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-08-14 04:00:26 -0400 |
commit | 4412728b9606a2e2506961ed6e444a344af7ca29 (patch) | |
tree | b3162c3bef064d7ed3b25b3fe27db66f1d2db211 /drivers/gpu/nvgpu/therm/thrmchannel.c | |
parent | df6496384794169c833c82c7aa4d9f1b0100b7e1 (diff) |
gpu: nvgpu: Fix offset units in PRAMIN code
The offset units in the nvgpu_pramin_access_batched() code changes
midway through the function. In the first section it is treated as
bytes but then in the while-loop iterating over the PRAMIN window
and page_alloc_chunks it becomes an offset in words.
This patch leaves the offset field in bytes and converts to words
where needed.
Change-Id: Iba964171679dfc27645238b297ed467a450b5cbc
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1537079
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/therm/thrmchannel.c')
0 files changed, 0 insertions, 0 deletions