diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-07-06 11:50:36 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-07-09 17:40:50 -0400 |
commit | 0ddd219697155bcb64aaa04544108519686e16cc (patch) | |
tree | e33da070ae0a486bca5e0510b2c5a24915d16187 /drivers/gpu/nvgpu/gv11b/subctx_gv11b.h | |
parent | bbebc611bc10a824d5d51fc2ea9d0408e350d26a (diff) |
gpu: nvgpu: Conditional enable for replayable fault
Enable replayable fault only for contexts where they are requested.
This required moving the code to initialize subcontexts to happen
later.
Fix signedness issues in definition of flags.
JIRA NVGPU-714
Change-Id: I472004e13b1ea46c1bd202f9b12d2ce221b756f9
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1773262
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/subctx_gv11b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/subctx_gv11b.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/subctx_gv11b.h b/drivers/gpu/nvgpu/gv11b/subctx_gv11b.h index 3dcb58b3..71d56502 100644 --- a/drivers/gpu/nvgpu/gv11b/subctx_gv11b.h +++ b/drivers/gpu/nvgpu/gv11b/subctx_gv11b.h | |||
@@ -32,6 +32,7 @@ void gv11b_free_subctx_header(struct channel_gk20a *c); | |||
32 | int gv11b_update_subctx_header(struct channel_gk20a *c, u64 gpu_va); | 32 | int gv11b_update_subctx_header(struct channel_gk20a *c, u64 gpu_va); |
33 | 33 | ||
34 | void gv11b_init_subcontext_pdb(struct vm_gk20a *vm, | 34 | void gv11b_init_subcontext_pdb(struct vm_gk20a *vm, |
35 | struct nvgpu_mem *inst_block); | 35 | struct nvgpu_mem *inst_block, |
36 | bool replayable); | ||
36 | 37 | ||
37 | #endif /* __SUBCONTEXT_GV11B_H__ */ | 38 | #endif /* __SUBCONTEXT_GV11B_H__ */ |