diff options
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/vgpu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c index eb56d4f9..3b53474d 100644 --- a/drivers/gpu/nvgpu/vgpu/vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/vgpu.c | |||
@@ -165,6 +165,10 @@ int vgpu_intr_thread(void *dev_id) | |||
165 | case TEGRA_VGPU_EVENT_SM_ESR: | 165 | case TEGRA_VGPU_EVENT_SM_ESR: |
166 | vgpu_gr_handle_sm_esr_event(g, &msg->info.sm_esr); | 166 | vgpu_gr_handle_sm_esr_event(g, &msg->info.sm_esr); |
167 | break; | 167 | break; |
168 | case TEGRA_VGPU_EVENT_SEMAPHORE_WAKEUP: | ||
169 | g->ops.semaphore_wakeup(g, | ||
170 | !!msg->info.sem_wakeup.post_events); | ||
171 | break; | ||
168 | default: | 172 | default: |
169 | nvgpu_err(g, "unknown event %u", msg->event); | 173 | nvgpu_err(g, "unknown event %u", msg->event); |
170 | break; | 174 | break; |