summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/fb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/fb')
-rw-r--r--drivers/gpu/nvgpu/common/fb/fb_gp10b.h8
-rw-r--r--drivers/gpu/nvgpu/common/fb/fb_gv100.h8
-rw-r--r--drivers/gpu/nvgpu/common/fb/fb_gv11b.h6
3 files changed, 11 insertions, 11 deletions
diff --git a/drivers/gpu/nvgpu/common/fb/fb_gp10b.h b/drivers/gpu/nvgpu/common/fb/fb_gp10b.h
index 52aa2a75..3012cb20 100644
--- a/drivers/gpu/nvgpu/common/fb/fb_gp10b.h
+++ b/drivers/gpu/nvgpu/common/fb/fb_gp10b.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * GP10B FB 2 * GP10B 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,11 +22,11 @@
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24 24
25#ifndef _NVGPU_GP10B_FB 25#ifndef NVGPU_FB_GP10B_H
26#define _NVGPU_GP10B_FB 26#define NVGPU_FB_GP10B_H
27struct gk20a; 27struct gk20a;
28 28
29unsigned int gp10b_fb_compression_page_size(struct gk20a *g); 29unsigned int gp10b_fb_compression_page_size(struct gk20a *g);
30unsigned int gp10b_fb_compressible_page_size(struct gk20a *g); 30unsigned int gp10b_fb_compressible_page_size(struct gk20a *g);
31 31
32#endif 32#endif /* NVGPU_FB_GP10B_H */
diff --git a/drivers/gpu/nvgpu/common/fb/fb_gv100.h b/drivers/gpu/nvgpu/common/fb/fb_gv100.h
index d47fded2..161d4cd7 100644
--- a/drivers/gpu/nvgpu/common/fb/fb_gv100.h
+++ b/drivers/gpu/nvgpu/common/fb/fb_gv100.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * GV100 FB 2 * GV100 FB
3 * 3 *
4 * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2017-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,8 +22,8 @@
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24 24
25#ifndef _NVGPU_GV100_FB 25#ifndef NVGPU_FB_GV100_H
26#define _NVGPU_GV100_FB 26#define NVGPU_FB_GV100_H
27 27
28struct gk20a; 28struct gk20a;
29 29
@@ -35,4 +35,4 @@ int gv100_fb_init_nvlink(struct gk20a *g);
35int gv100_fb_enable_nvlink(struct gk20a *g); 35int gv100_fb_enable_nvlink(struct gk20a *g);
36size_t gv100_fb_get_vidmem_size(struct gk20a *g); 36size_t gv100_fb_get_vidmem_size(struct gk20a *g);
37 37
38#endif 38#endif /* NVGPU_FB_GV100_H */
diff --git a/drivers/gpu/nvgpu/common/fb/fb_gv11b.h b/drivers/gpu/nvgpu/common/fb/fb_gv11b.h
index 71fb3a41..66bf8e2c 100644
--- a/drivers/gpu/nvgpu/common/fb/fb_gv11b.h
+++ b/drivers/gpu/nvgpu/common/fb/fb_gv11b.h
@@ -22,8 +22,8 @@
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24 24
25#ifndef _NVGPU_GV11B_FB 25#ifndef NVGPU_FB_GV11B_H
26#define _NVGPU_GV11B_FB 26#define NVGPU_FB_GV11B_H
27 27
28#define NONREPLAY_REG_INDEX 0 28#define NONREPLAY_REG_INDEX 0
29#define REPLAY_REG_INDEX 1 29#define REPLAY_REG_INDEX 1
@@ -79,4 +79,4 @@ void fb_gv11b_write_mmu_fault_status(struct gk20a *g, u32 reg_val);
79int gv11b_fb_mmu_invalidate_replay(struct gk20a *g, 79int gv11b_fb_mmu_invalidate_replay(struct gk20a *g,
80 u32 invalidate_replay_val); 80 u32 invalidate_replay_val);
81 81
82#endif 82#endif /* NVGPU_FB_GV11B_H */