diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-11-24 10:05:40 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-27 07:19:29 -0500 |
commit | 5b41eb839ab6126cf83e37f92410b549b4ea0450 (patch) | |
tree | a646a83d1bfce8e2b1f9e53eb53ca1c234e70822 /drivers/gpu/nvgpu/gk20a/hal.c | |
parent | 75ebe51113ab38d0434dda5224baa26dc5329530 (diff) |
gpu: nvgu: use API to check for valid memory
Use API nvgpu_mem_is_valid() to check if buffers are allocated or not
instead of directly accessing linux specific sg_table
Jira NVGPU-416
Change-Id: I83da79f4a57ec5a765f32c69bf76e708753e11fb
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1604587
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hal.c')
0 files changed, 0 insertions, 0 deletions