summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fb_gm20b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fb_gm20b.h')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fb_gm20b.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fb_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fb_gm20b.h
index 531d0400..e6464c1d 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fb_gm20b.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_fb_gm20b.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -64,18 +64,6 @@ static inline u32 fb_mmu_ctrl_r(void)
64{ 64{
65 return 0x00100c80U; 65 return 0x00100c80U;
66} 66}
67static inline u32 fb_mmu_ctrl_vm_pg_size_f(u32 v)
68{
69 return (v & 0x1U) << 0U;
70}
71static inline u32 fb_mmu_ctrl_vm_pg_size_128kb_f(void)
72{
73 return 0x0U;
74}
75static inline u32 fb_mmu_ctrl_vm_pg_size_64kb_f(void)
76{
77 return 0x1U;
78}
79static inline u32 fb_mmu_ctrl_pri_fifo_empty_v(u32 r) 67static inline u32 fb_mmu_ctrl_pri_fifo_empty_v(u32 r)
80{ 68{
81 return (r >> 15U) & 0x1U; 69 return (r >> 15U) & 0x1U;