summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/therm/thrmchannel.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-08-15 15:58:54 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-09-07 23:07:11 -0400
commit70c4496ca7add205f604c5c7fec8c16033394ba0 (patch)
tree9309a4a3c3e7cd04bf7c424ea8a30c843f1619ca /drivers/gpu/nvgpu/therm/thrmchannel.c
parent2dcfd29861f2c5dc75cff988e7d950e15aad9da2 (diff)
gpu: nvgpu: Fix blockcount in lockless allocator
Make sure that the block count is the length / block_size since the length is passed in bytes. Change-Id: Ibb132b16b70b9cd7117c441f37a7947052d279ee Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1538976 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/therm/thrmchannel.c')
0 files changed, 0 insertions, 0 deletions