diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_clk_arb.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_clk_arb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_clk_arb.c b/drivers/gpu/nvgpu/common/linux/ioctl_clk_arb.c index 09d47722..a7c6a607 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_clk_arb.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_clk_arb.c | |||
@@ -88,6 +88,11 @@ static unsigned int nvgpu_clk_arb_poll_dev(struct file *filp, poll_table *wait) | |||
88 | return nvgpu_convert_poll_mask(nvgpu_atomic_xchg(&dev->poll_mask, 0)); | 88 | return nvgpu_convert_poll_mask(nvgpu_atomic_xchg(&dev->poll_mask, 0)); |
89 | } | 89 | } |
90 | 90 | ||
91 | void nvgpu_clk_arb_event_post_event(struct nvgpu_clk_dev *dev) | ||
92 | { | ||
93 | nvgpu_cond_broadcast_interruptible(&dev->readout_wq); | ||
94 | } | ||
95 | |||
91 | static int nvgpu_clk_arb_release_event_dev(struct inode *inode, | 96 | static int nvgpu_clk_arb_release_event_dev(struct inode *inode, |
92 | struct file *filp) | 97 | struct file *filp) |
93 | { | 98 | { |