gpu: nvgpu: move NVGPU_OBJ_CTX_FLAGS_* to gr.obj_ctx header

Move below #define's to gr.obj_ctx header file
NVGPU_OBJ_CTX_FLAGS_SUPPORT_GFXP
NVGPU_OBJ_CTX_FLAGS_SUPPORT_CILP

Jira NVGPU-3112

Change-Id: I378c46d1da86278d88c91336f7f419448e57f2af
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2098508
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Deepak Nibade
2019-04-12 17:26:13 +05:30
committed by mobile promotions
parent d8ec4e4e12
commit 2e0badcefe
3 changed files with 4 additions and 4 deletions

View File

@@ -35,10 +35,6 @@
#define GK20A_TIMEOUT_FPGA 100000U /* 100 sec */
/* Flags to be passed to g->ops.gr.alloc_obj_ctx() */
#define NVGPU_OBJ_CTX_FLAGS_SUPPORT_GFXP BIT32(1)
#define NVGPU_OBJ_CTX_FLAGS_SUPPORT_CILP BIT32(2)
struct tsg_gk20a;
struct nvgpu_gr_ctx;
struct channel_gk20a;

View File

@@ -26,6 +26,9 @@
#include <nvgpu/types.h>
#include <nvgpu/lock.h>
#define NVGPU_OBJ_CTX_FLAGS_SUPPORT_GFXP BIT32(1)
#define NVGPU_OBJ_CTX_FLAGS_SUPPORT_CILP BIT32(2)
struct gk20a;
struct nvgpu_gr_ctx;
struct nvgpu_gr_subctx;

View File

@@ -40,6 +40,7 @@
#include <nvgpu/channel_sync_syncpt.h>
#include <nvgpu/runlist.h>
#include <nvgpu/gr/ctx.h>
#include <nvgpu/gr/obj_ctx.h>
#include <nvgpu/fence.h>
#include "platform_gk20a.h"