summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/css_gr_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/css_gr_gk20a.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.h
index f0ad6044..b6ad9fac 100644
--- a/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.h
@@ -28,6 +28,10 @@
28/* the minimal size of HW buffer - should be enough to avoid HW overflows */ 28/* the minimal size of HW buffer - should be enough to avoid HW overflows */
29#define CSS_MIN_HW_SNAPSHOT_SIZE (8 * 1024 * 1024) 29#define CSS_MIN_HW_SNAPSHOT_SIZE (8 * 1024 * 1024)
30 30
31struct gk20a;
32struct gr_gk20a;
33struct channel_gk20a;
34
31/* cycle stats fifo header (must match NvSnapshotBufferFifo) */ 35/* cycle stats fifo header (must match NvSnapshotBufferFifo) */
32struct gk20a_cs_snapshot_fifo { 36struct gk20a_cs_snapshot_fifo {
33 /* layout description of the buffer */ 37 /* layout description of the buffer */
@@ -95,8 +99,6 @@ struct gk20a_cs_snapshot_fifo_entry {
95/* cycle stats snapshot client data (e.g. associated with channel) */ 99/* cycle stats snapshot client data (e.g. associated with channel) */
96struct gk20a_cs_snapshot_client { 100struct gk20a_cs_snapshot_client {
97 struct nvgpu_list_node list; 101 struct nvgpu_list_node list;
98 u32 dmabuf_fd;
99 struct dma_buf *dma_handler;
100 struct gk20a_cs_snapshot_fifo *snapshot; 102 struct gk20a_cs_snapshot_fifo *snapshot;
101 u32 snapshot_size; 103 u32 snapshot_size;
102 u32 perfmon_start; 104 u32 perfmon_start;