summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
index 87ab6202..9d294399 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
@@ -253,10 +253,9 @@ struct channel_gk20a {
253 253
254#if defined(CONFIG_GK20A_CYCLE_STATS) 254#if defined(CONFIG_GK20A_CYCLE_STATS)
255 struct { 255 struct {
256 void *cyclestate_buffer; 256 void *cyclestate_buffer;
257 u32 cyclestate_buffer_size; 257 u32 cyclestate_buffer_size;
258 struct dma_buf *cyclestate_buffer_handler; 258 struct nvgpu_mutex cyclestate_buffer_mutex;
259 struct nvgpu_mutex cyclestate_buffer_mutex;
260 } cyclestate; 259 } cyclestate;
261 260
262 struct nvgpu_mutex cs_client_mutex; 261 struct nvgpu_mutex cs_client_mutex;
@@ -370,7 +369,6 @@ int gk20a_channel_alloc_gpfifo(struct channel_gk20a *c,
370 unsigned int num_entries, 369 unsigned int num_entries,
371 unsigned int num_inflight_jobs, 370 unsigned int num_inflight_jobs,
372 u32 flags); 371 u32 flags);
373void gk20a_channel_free_cycle_stats_buffer(struct channel_gk20a *ch);
374 372
375void gk20a_channel_timeout_restart_all_channels(struct gk20a *g); 373void gk20a_channel_timeout_restart_all_channels(struct gk20a *g);
376 374