From 2203d0330231821eeae18517715ba754e093ab18 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Wed, 16 May 2018 11:15:27 -0700 Subject: gpu: nvgpu: Translate as_alloc flags Translate the as_alloc flags so that the common/as.c code no longer needs to include . This was an oversight from prior MM unification efforts which was caught by the userspace POSIX build on QNX. JIRA NVGPU-525 Change-Id: I6af6cb9904c2ae9edeb8dbb970846c31b56822bf Signed-off-by: Alex Waterman Reviewed-on: https://git-master.nvidia.com/r/1720918 Reviewed-by: svc-mobile-coverity Reviewed-by: Sourab Gupta GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/include/nvgpu/as.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/gpu/nvgpu/include') diff --git a/drivers/gpu/nvgpu/include/nvgpu/as.h b/drivers/gpu/nvgpu/include/nvgpu/as.h index 03799717..b16652da 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/as.h +++ b/drivers/gpu/nvgpu/include/nvgpu/as.h @@ -36,6 +36,11 @@ struct gk20a_as_share { int id; }; +/* + * AS allocation flags. + */ +#define NVGPU_AS_ALLOC_USERSPACE_MANAGED (1 << 0) + int gk20a_as_release_share(struct gk20a_as_share *as_share); /* if big_page_size == 0, the default big page size is used */ -- cgit v1.2.2