summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/clk_arb.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/clk_arb.h b/drivers/gpu/nvgpu/include/nvgpu/clk_arb.h
index 45561e31..a5f8a7d5 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/clk_arb.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/clk_arb.h
@@ -93,6 +93,16 @@ struct nvgpu_clk_session;
93 93
94#define _WRAPGTEQ(a, b) ((a-b) > 0) 94#define _WRAPGTEQ(a, b) ((a-b) > 0)
95 95
96/*
97 * NVGPU_POLL* defines equivalent to the POLL* linux defines
98 */
99#define NVGPU_POLLIN (1 << 0)
100#define NVGPU_POLLPRI (1 << 1)
101#define NVGPU_POLLOUT (1 << 2)
102#define NVGPU_POLLRDNORM (1 << 3)
103#define NVGPU_POLLHUP (1 << 4)
104
105
96struct nvgpu_clk_notification { 106struct nvgpu_clk_notification {
97 u32 notification; 107 u32 notification;
98 u64 timestamp; 108 u64 timestamp;