summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2017-03-01 13:42:31 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-03-02 11:53:33 -0500
commita4ea94f5d12f9c983cbcb9624fa946c0806768f1 (patch)
tree64c707023fe0249a0fc7d29a3d76974d55c50881 /drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
parent434b1c588b9c8d61ac413b0c9ae402b483deb68b (diff)
gpu: nvgpu: init fifo ops for device_info_fault_id
generated hw header for top_device_info_data_fault_id_enum_v is different between legacy chips and t19x JIRA GV11B-7 Change-Id: Ia765be740c419c5b2a61b03104b264c51f1e797e Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: http://git-master/r/1313383 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fifo_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/fifo_gv11b.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
index cd6007ba..5304f39f 100644
--- a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
@@ -25,6 +25,7 @@
25#include <nvgpu/hw/gv11b/hw_ram_gv11b.h> 25#include <nvgpu/hw/gv11b/hw_ram_gv11b.h>
26#include <nvgpu/hw/gv11b/hw_ccsr_gv11b.h> 26#include <nvgpu/hw/gv11b/hw_ccsr_gv11b.h>
27#include <nvgpu/hw/gv11b/hw_usermode_gv11b.h> 27#include <nvgpu/hw/gv11b/hw_usermode_gv11b.h>
28#include <nvgpu/hw/gv11b/hw_top_gv11b.h>
28 29
29#include "fifo_gv11b.h" 30#include "fifo_gv11b.h"
30#include "subctx_gv11b.h" 31#include "subctx_gv11b.h"
@@ -232,4 +233,5 @@ void gv11b_init_fifo(struct gpu_ops *gops)
232 gops->fifo.unbind_channel = channel_gv11b_unbind; 233 gops->fifo.unbind_channel = channel_gv11b_unbind;
233 gops->fifo.eng_runlist_base_size = fifo_eng_runlist_base__size_1_v; 234 gops->fifo.eng_runlist_base_size = fifo_eng_runlist_base__size_1_v;
234 gops->fifo.free_channel_ctx_header = gv11b_free_subctx_header; 235 gops->fifo.free_channel_ctx_header = gv11b_free_subctx_header;
236 gops->fifo.device_info_fault_id = top_device_info_data_fault_id_enum_v;
235} 237}