From ecc3722aa1d7cd439035b0895781930871008a82 Mon Sep 17 00:00:00 2001 From: Richard Zhao Date: Wed, 28 Dec 2016 14:44:59 -0800 Subject: gpu: nvgpu: vgpu: restructure event handling Take interrupts as one kind of event message, and make it easier to add new kind of events. JIRA VFND-3291 Bug 200257899 Change-Id: I83482293230c0aa10b05caf61e249a042bf6653c Signed-off-by: Richard Zhao Reviewed-on: http://git-master/r/1278396 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Aingara Paramakuru Reviewed-by: Terje Bergstrom --- include/linux/tegra_vgpu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/linux/tegra_vgpu.h') diff --git a/include/linux/tegra_vgpu.h b/include/linux/tegra_vgpu.h index 79698d23..40f92aec 100644 --- a/include/linux/tegra_vgpu.h +++ b/include/linux/tegra_vgpu.h @@ -1,7 +1,7 @@ /* * Tegra GPU Virtualization Interfaces to Server * - * Copyright (c) 2014-2016, NVIDIA Corporation. All rights reserved. + * Copyright (c) 2014-2017, NVIDIA Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -554,7 +554,7 @@ struct tegra_vgpu_fecs_trace_event_info { u32 type; }; -struct tegra_vgpu_general_event_info { +struct tegra_vgpu_channel_event_info { u32 event_id; u32 is_tsg; u32 id; /* channel id or tsg id */ @@ -587,7 +587,7 @@ struct tegra_vgpu_intr_msg { struct tegra_vgpu_fifo_nonstall_intr_info fifo_nonstall_intr; struct tegra_vgpu_ce2_nonstall_intr_info ce2_nonstall_intr; struct tegra_vgpu_fecs_trace_event_info fecs_trace; - struct tegra_vgpu_general_event_info general_event; + struct tegra_vgpu_channel_event_info channel_event; char padding[32]; } info; }; -- cgit v1.2.2