summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/pstate/pstate.h
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-03-08 20:07:45 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-03-22 21:37:10 -0400
commit4a94c135f062ab41bc99376aa1a4bd64d33e47d9 (patch)
tree7c2e4033833001b355d9b4c793c137582e52c69b /drivers/gpu/nvgpu/pstate/pstate.h
parent14188ba419b980b74d964ee7d2de5fc3dd9f9a90 (diff)
gpu: nvgpu: Use new kmem API functions (channel)
Use the new kmem API functions in the channel and channel related code. Also delete the usage of kasprintf() since that must be paired with a kfree(). Since the kasprintf() doesn't use the nvgpu kmem machinery (and is Linux specific) instead use a small buffer statically allocated on the stack. Bug 1799159 Bug 1823380 Change-Id: Ied0183f57372632264e55608f56539861cc0f24f Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1318312 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pstate/pstate.h')
0 files changed, 0 insertions, 0 deletions