diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-12-06 08:03:39 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-12-08 14:58:18 -0500 |
commit | ac78f5d95eeed84880432ee0428bfa49e6fbb0d7 (patch) | |
tree | bcb4a34a9120de57ff1eddfc8c777122a6354007 /drivers/gpu/nvgpu/Kconfig | |
parent | 9f404b811c8b1e8a5b7bf0eb6346d424bae31576 (diff) |
gpu: nvgpu: use nvgpu API to check for allocated memory
In __gr_gk20a_exec_ctx_ops(), we directly access linux specific pages to check
if memory is allocated or not
Since we need to remove this linux specific dependency from common code,
use common API nvgpu_mem_is_valid() to check if memory is allocated or not
Jira NVGPU-448
Change-Id: Iad62482ad1c0dfad3b96c6c125c2641bbe6ea596
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1612445
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/Kconfig')
0 files changed, 0 insertions, 0 deletions