mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
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:
committed by
mobile promotions
parent
d8ec4e4e12
commit
2e0badcefe
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user