summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-11-10 03:34:24 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:12:14 -0400
commitc0668f05ea1e2429444d6aad2a40dda81aba7ec8 (patch)
treee022679a8f6690d16d3c47ebd77021075ce914d3 /drivers/gpu/nvgpu/vgpu
parent3a504842cd2696bd2feb496f4f4555ace82b4ab1 (diff)
gpu: nvgpu: Retrieve intr & reset id from HW
Query interrupt number and reset id from HW. Use the number from HW when enabling and detecting interrupts. Bug 200036089 Bug 1567274 Change-Id: If9cb4db79a19dcb193ba7ad9db7081f4fe1ab433 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/600988
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
-rw-r--r--drivers/gpu/nvgpu/vgpu/fifo_vgpu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
index 9bbb39f0..80a89e1e 100644
--- a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
@@ -162,8 +162,6 @@ static int init_engine_info(struct fifo_gk20a *f)
162 162
163 gr_info = f->engine_info + gr_sw_id; 163 gr_info = f->engine_info + gr_sw_id;
164 164
165 gr_info->sw_id = gr_sw_id;
166 gr_info->name = "gr";
167 /* FIXME: retrieve this from server */ 165 /* FIXME: retrieve this from server */
168 gr_info->runlist_id = 0; 166 gr_info->runlist_id = 0;
169 return 0; 167 return 0;