summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/os/posix/nvgpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/os/posix/nvgpu.c')
-rw-r--r--drivers/gpu/nvgpu/os/posix/nvgpu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/os/posix/nvgpu.c b/drivers/gpu/nvgpu/os/posix/nvgpu.c
index 2f84dc6e..e485ed73 100644
--- a/drivers/gpu/nvgpu/os/posix/nvgpu.c
+++ b/drivers/gpu/nvgpu/os/posix/nvgpu.c
@@ -24,6 +24,7 @@
24#include <stdlib.h> 24#include <stdlib.h>
25#include <pthread.h> 25#include <pthread.h>
26 26
27#include <nvgpu/gk20a.h>
27#include <nvgpu/bug.h> 28#include <nvgpu/bug.h>
28#include <nvgpu/types.h> 29#include <nvgpu/types.h>
29#include <nvgpu/atomic.h> 30#include <nvgpu/atomic.h>
@@ -92,6 +93,11 @@ void gk20a_idle_nosuspend(struct gk20a *g)
92{ 93{
93} 94}
94 95
96bool gk20a_check_poweron(struct gk20a *g)
97{
98 return false;
99}
100
95int gk20a_busy(struct gk20a *g) 101int gk20a_busy(struct gk20a *g)
96{ 102{
97 nvgpu_atomic_inc(&g->usage_count); 103 nvgpu_atomic_inc(&g->usage_count);