summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/vgpu.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-04-25 12:44:39 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-12 19:08:59 -0400
commit3d9b7847d971ba405bf5459fd01bf60ae694300a (patch)
treeb240266f1e5078756214c6993d1b68b45a0a89e8 /drivers/gpu/nvgpu/vgpu/vgpu.h
parent72ded891014b18c9afffe44ea3013161339894de (diff)
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 <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1469650 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Richard Zhao <rizhao@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.h')
-rw-r--r--drivers/gpu/nvgpu/vgpu/vgpu.h4
1 files changed, 3 insertions, 1 deletions
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 @@
20#include <linux/tegra_vgpu.h> 20#include <linux/tegra_vgpu.h>
21#include "gk20a/gk20a.h" 21#include "gk20a/gk20a.h"
22 22
23#include <nvgpu/thread.h>
24
23#ifdef CONFIG_TEGRA_GR_VIRTUALIZATION 25#ifdef CONFIG_TEGRA_GR_VIRTUALIZATION
24 26
25struct vgpu_priv_data { 27struct vgpu_priv_data {
26 u64 virt_handle; 28 u64 virt_handle;
27 struct task_struct *intr_handler; 29 struct nvgpu_thread intr_handler;
28 struct tegra_vgpu_constants_params constants; 30 struct tegra_vgpu_constants_params constants;
29}; 31};
30 32