summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/channel.h')
-rw-r--r--drivers/gpu/nvgpu/common/linux/channel.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/channel.h b/drivers/gpu/nvgpu/common/linux/channel.h
index ba1935f3..a4df75d6 100644
--- a/drivers/gpu/nvgpu/common/linux/channel.h
+++ b/drivers/gpu/nvgpu/common/linux/channel.h
@@ -42,10 +42,20 @@ struct nvgpu_channel_completion_cb {
42 struct work_struct work; 42 struct work_struct work;
43}; 43};
44 44
45struct nvgpu_error_notifier {
46 struct dma_buf *dmabuf;
47 void *vaddr;
48
49 struct nvgpu_notification *notification;
50
51 struct nvgpu_mutex mutex;
52};
53
45struct nvgpu_channel_linux { 54struct nvgpu_channel_linux {
46 struct channel_gk20a *ch; 55 struct channel_gk20a *ch;
47 56
48 struct nvgpu_channel_completion_cb completion_cb; 57 struct nvgpu_channel_completion_cb completion_cb;
58 struct nvgpu_error_notifier error_notifier;
49}; 59};
50 60
51int nvgpu_init_channel_support_linux(struct nvgpu_os_linux *l); 61int nvgpu_init_channel_support_linux(struct nvgpu_os_linux *l);