summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.h4
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
index 58a8aa97..d865849b 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
@@ -52,6 +52,10 @@ struct fifo_profile_gk20a;
52#define NVGPU_GPFIFO_FLAGS_SUPPORT_VPR (1 << 0) 52#define NVGPU_GPFIFO_FLAGS_SUPPORT_VPR (1 << 0)
53#define NVGPU_GPFIFO_FLAGS_SUPPORT_DETERMINISTIC (1 << 1) 53#define NVGPU_GPFIFO_FLAGS_SUPPORT_DETERMINISTIC (1 << 1)
54 54
55/* Flags to be passed to g->ops.gr.alloc_obj_ctx() */
56#define NVGPU_OBJ_CTX_FLAGS_SUPPORT_GFXP (1 << 1)
57#define NVGPU_OBJ_CTX_FLAGS_SUPPORT_CILP (1 << 2)
58
55struct notification { 59struct notification {
56 struct { 60 struct {
57 u32 nanoseconds[2]; 61 u32 nanoseconds[2];
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index b77db87f..ddce0716 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -3046,8 +3046,6 @@ int gk20a_alloc_obj_ctx(struct channel_gk20a *c, u32 class_num, u32 flags)
3046 "failed to set texlock for compute class"); 3046 "failed to set texlock for compute class");
3047 } 3047 }
3048 3048
3049 flags |= NVGPU_ALLOC_OBJ_FLAGS_LOCKBOOST_ZERO;
3050
3051 if (g->support_pmu && g->can_elpg) 3049 if (g->support_pmu && g->can_elpg)
3052 nvgpu_pmu_enable_elpg(g); 3050 nvgpu_pmu_enable_elpg(g);
3053 } 3051 }