summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/fb/fb_gm20b.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2018-08-16 17:27:35 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-04 19:15:34 -0400
commita6499fb9ceddd9ea52cf7e67789a64131545295c (patch)
tree488c9768a74a71112dcfcac459fa3727aee66195 /drivers/gpu/nvgpu/common/fb/fb_gm20b.h
parent2e051a78a513e021ac84a3da77b778c591284983 (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.h12
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
28struct gk20a; 30struct gk20a;
29struct wpr_carveout_info; 31struct wpr_carveout_info;
32struct nvgpu_mem;
30 33
34void gm20b_fb_reset(struct gk20a *g);
35void gm20b_fb_init_hw(struct gk20a *g);
36void gm20b_fb_tlb_invalidate(struct gk20a *g, struct nvgpu_mem *pdb);
31void fb_gm20b_init_fs_state(struct gk20a *g); 37void fb_gm20b_init_fs_state(struct gk20a *g);
32void gm20b_fb_set_mmu_page_size(struct gk20a *g); 38void gm20b_fb_set_mmu_page_size(struct gk20a *g);
33bool gm20b_fb_set_use_full_comp_tag_line(struct gk20a *g); 39bool gm20b_fb_set_use_full_comp_tag_line(struct gk20a *g);