diff options
author | Nicolas Benech <nbenech@nvidia.com> | 2018-08-30 13:55:37 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-06 19:13:52 -0400 |
commit | ba1245d8f74816189af0fc3e0d0d1c642f87cdf2 (patch) | |
tree | ff736e29e9dc62e8c7ffac6afcf12790b5f374b2 /drivers/gpu/nvgpu/common/fb/fb_gm20b.h | |
parent | 5cfd481cf5319d52f613cb5c5f66a1f643af5bed (diff) |
gpu: nvgpu: Add return code to fb.tlb_invalidate
As part of MISRA 17.7 fixes for a different GPU, the tlb_invalidate
needs to return an error code.
Change-Id: I3b8b9f112708c17457855dd1fb151168791bc6bf
Signed-off-by: Nicolas Benech <nbenech@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1810106
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/fb/fb_gm20b.h')
-rw-r--r-- | drivers/gpu/nvgpu/common/fb/fb_gm20b.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/fb/fb_gm20b.h b/drivers/gpu/nvgpu/common/fb/fb_gm20b.h index 95991432..bc240ae3 100644 --- a/drivers/gpu/nvgpu/common/fb/fb_gm20b.h +++ b/drivers/gpu/nvgpu/common/fb/fb_gm20b.h | |||
@@ -33,7 +33,7 @@ struct nvgpu_mem; | |||
33 | 33 | ||
34 | void gm20b_fb_reset(struct gk20a *g); | 34 | void gm20b_fb_reset(struct gk20a *g); |
35 | void gm20b_fb_init_hw(struct gk20a *g); | 35 | void gm20b_fb_init_hw(struct gk20a *g); |
36 | void gm20b_fb_tlb_invalidate(struct gk20a *g, struct nvgpu_mem *pdb); | 36 | int gm20b_fb_tlb_invalidate(struct gk20a *g, struct nvgpu_mem *pdb); |
37 | void fb_gm20b_init_fs_state(struct gk20a *g); | 37 | void fb_gm20b_init_fs_state(struct gk20a *g); |
38 | void gm20b_fb_set_mmu_page_size(struct gk20a *g); | 38 | void gm20b_fb_set_mmu_page_size(struct gk20a *g); |
39 | bool gm20b_fb_set_use_full_comp_tag_line(struct gk20a *g); | 39 | bool gm20b_fb_set_use_full_comp_tag_line(struct gk20a *g); |