From 3d9b7847d971ba405bf5459fd01bf60ae694300a Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Tue, 25 Apr 2017 09:44:39 -0700 Subject: gpu: nvgpu: Use nvgpu_thread for VGPU interrupts Use nvgpu_thread for launching the thread for polling VGPU interrupts. JIRA NVGPU-14 Change-Id: I7114336bb37c407ee7365c4442e1826d80575771 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1469650 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Richard Zhao Reviewed-by: Alex Waterman Reviewed-by: svccoveritychecker GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/vgpu/vgpu.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.h') diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.h b/drivers/gpu/nvgpu/vgpu/vgpu.h index 7883abc1..ac261979 100644 --- a/drivers/gpu/nvgpu/vgpu/vgpu.h +++ b/drivers/gpu/nvgpu/vgpu/vgpu.h @@ -20,11 +20,13 @@ #include #include "gk20a/gk20a.h" +#include + #ifdef CONFIG_TEGRA_GR_VIRTUALIZATION struct vgpu_priv_data { u64 virt_handle; - struct task_struct *intr_handler; + struct nvgpu_thread intr_handler; struct tegra_vgpu_constants_params constants; }; -- cgit v1.2.2