mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: misra error in gr unit
Fix MISRA violation for rule 8.6 in ecc and ctx gr units. misra_c_2012_rule_8_6_violation:function is declared but never defined Jira NVGPU-3854 Change-Id: Ia3e3f6ab6d2c33d31a3518fe3fbd033d403cbb7e Signed-off-by: Vinod G <vinodg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2168765 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Philip Elcan <pelcan@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> GVS: Gerrit_Virtual_Submit 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
c7b41f106d
commit
a20739c1f6
@@ -32,6 +32,8 @@ struct nvgpu_hw_err_inject_info_desc;
|
||||
|
||||
void gv11b_ecc_detect_enabled_units(struct gk20a *g);
|
||||
int gv11b_ecc_init(struct gk20a *g);
|
||||
|
||||
#ifdef CONFIG_NVGPU_INJECT_HWERR
|
||||
int gv11b_gr_intr_inject_fecs_ecc_error(struct gk20a *g,
|
||||
struct nvgpu_hw_err_inject_info *err, u32 error_info);
|
||||
struct nvgpu_hw_err_inject_info_desc *
|
||||
@@ -52,5 +54,6 @@ int gv11b_gr_intr_inject_gcc_ecc_error(struct gk20a *g,
|
||||
struct nvgpu_hw_err_inject_info *err, u32 error_info);
|
||||
struct nvgpu_hw_err_inject_info_desc *
|
||||
gv11b_gr_intr_get_gcc_err_desc(struct gk20a *g);
|
||||
#endif /* CONFIG_NVGPU_INJECT_HWERR */
|
||||
|
||||
#endif /* NVGPU_ECC_GV11B_H */
|
||||
|
||||
@@ -179,6 +179,7 @@ void nvgpu_gr_ctx_set_tsgid(struct nvgpu_gr_ctx *gr_ctx, u32 tsgid);
|
||||
|
||||
u32 nvgpu_gr_ctx_get_tsgid(struct nvgpu_gr_ctx *gr_ctx);
|
||||
|
||||
#ifdef CONFIG_NVGPU_CILP
|
||||
bool nvgpu_gr_ctx_get_cilp_preempt_pending(struct nvgpu_gr_ctx *gr_ctx);
|
||||
|
||||
void nvgpu_gr_ctx_set_cilp_preempt_pending(struct nvgpu_gr_ctx *gr_ctx,
|
||||
@@ -186,6 +187,7 @@ void nvgpu_gr_ctx_set_cilp_preempt_pending(struct nvgpu_gr_ctx *gr_ctx,
|
||||
|
||||
bool nvgpu_gr_ctx_desc_force_preemption_cilp(
|
||||
struct nvgpu_gr_ctx_desc *gr_ctx_desc);
|
||||
#endif /* CONFIG_NVGPU_CILP */
|
||||
|
||||
#ifdef CONFIG_NVGPU_GRAPHICS
|
||||
int nvgpu_gr_ctx_alloc_ctxsw_buffers(struct gk20a *g,
|
||||
|
||||
Reference in New Issue
Block a user