diff options
author | Supriya <ssharatkumar@nvidia.com> | 2014-12-12 04:50:40 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:12:33 -0400 |
commit | 402bdd57e8d47c96d4b31079b3a5dbb169e8ac75 (patch) | |
tree | 9524488eca1383372453827868878b266e7b442f /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 0bc513fc4618feb5262079b4ef8842ba419d8111 (diff) |
gpu: nvgpu: Send aligned addresses to allocator
Bug 1587090
Bug 200050711
PMU dmem start address is unaligned.
Allocator allocates aligned length amount of memory
But address alloced is nto checked to be aligned, but
free checks for alignment of addresses before free.
For dmem case, frees never actually happened. This fix
ensures addresses are aligned.
Change-Id: I8b95f89940aa4d23355c3788dc95afb5c8867373
Signed-off-by: Supriya <ssharatkumar@nvidia.com>
Reviewed-on: http://git-master/r/663140
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
0 files changed, 0 insertions, 0 deletions