diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-08-16 17:27:35 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-04 19:15:34 -0400 |
commit | a6499fb9ceddd9ea52cf7e67789a64131545295c (patch) | |
tree | 488c9768a74a71112dcfcac459fa3727aee66195 /drivers/gpu/nvgpu/common/fb/fb_gm20b.h | |
parent | 2e051a78a513e021ac84a3da77b778c591284983 (diff) |
gpu: nvgpu: Bump FB gk20a code to gm20b
Move all code from fb_gk20a.c to fb_gm20b.c.
Change-Id: I87fbdfee76599e019564d66bf248aaffcf978498
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1801422
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 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/common/fb/fb_gm20b.h b/drivers/gpu/nvgpu/common/fb/fb_gm20b.h index eb868b01..95991432 100644 --- a/drivers/gpu/nvgpu/common/fb/fb_gm20b.h +++ b/drivers/gpu/nvgpu/common/fb/fb_gm20b.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GM20B FB | 2 | * GM20B FB |
3 | * | 3 | * |
4 | * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * Permission is hereby granted, free of charge, to any person obtaining a | 6 | * Permission is hereby granted, free of charge, to any person obtaining a |
7 | * copy of this software and associated documentation files (the "Software"), | 7 | * copy of this software and associated documentation files (the "Software"), |
@@ -22,12 +22,18 @@ | |||
22 | * DEALINGS IN THE SOFTWARE. | 22 | * DEALINGS IN THE SOFTWARE. |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #ifndef _NVHOST_GM20B_FB | 25 | #ifndef NVGPU_FB_GM20B |
26 | #define _NVHOST_GM20B_FB | 26 | #define NVGPU_FB_GM20B |
27 | |||
28 | #include <nvgpu/types.h> | ||
27 | 29 | ||
28 | struct gk20a; | 30 | struct gk20a; |
29 | struct wpr_carveout_info; | 31 | struct wpr_carveout_info; |
32 | struct nvgpu_mem; | ||
30 | 33 | ||
34 | void gm20b_fb_reset(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); | ||
31 | void fb_gm20b_init_fs_state(struct gk20a *g); | 37 | void fb_gm20b_init_fs_state(struct gk20a *g); |
32 | void gm20b_fb_set_mmu_page_size(struct gk20a *g); | 38 | void gm20b_fb_set_mmu_page_size(struct gk20a *g); |
33 | 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); |