summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/hal_gp106.c
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2018-06-20 05:09:59 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-07-05 09:43:53 -0400
commit80bf7419179223e6893e3549fd0a192804149eda (patch)
tree575bf72cfc6de5f247d376bb92350e56a54b698b /drivers/gpu/nvgpu/gp106/hal_gp106.c
parentbc05e0e0e5b7d00761472252e9f8c12886539746 (diff)
gpu: nvgpu: gp106 SEC2 falcon code update
- Added prefix gp106_ to sec2_wait_for_halt() & sec2_clear_halt_interrupt_status() for gp106 SEC2 HAL - Made changes to gp106_sec2_wait_for_halt() to read SEC2 falcon mailbox using common falcon mailbox access functions. - Add define for falcon mailbox - These changes are done to reuse gp106 HAL's for GPU_NEXT. Change-Id: Id32a7636d775b482684212ed4ef5d01c8ea65335 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1755618 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/hal_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/hal_gp106.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c
index a22350ce..9427d3bf 100644
--- a/drivers/gpu/nvgpu/gp106/hal_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c
@@ -621,9 +621,9 @@ static const struct gpu_ops gp106_ops = {
621 .alloc_blob_space = gp106_alloc_blob_space, 621 .alloc_blob_space = gp106_alloc_blob_space,
622 .pmu_populate_loader_cfg = gp106_pmu_populate_loader_cfg, 622 .pmu_populate_loader_cfg = gp106_pmu_populate_loader_cfg,
623 .flcn_populate_bl_dmem_desc = gp106_flcn_populate_bl_dmem_desc, 623 .flcn_populate_bl_dmem_desc = gp106_flcn_populate_bl_dmem_desc,
624 .falcon_wait_for_halt = sec2_wait_for_halt, 624 .falcon_wait_for_halt = gp106_sec2_wait_for_halt,
625 .falcon_clear_halt_interrupt_status = 625 .falcon_clear_halt_interrupt_status =
626 sec2_clear_halt_interrupt_status, 626 gp106_sec2_clear_halt_interrupt_status,
627 .init_falcon_setup_hw = init_sec2_setup_hw1, 627 .init_falcon_setup_hw = init_sec2_setup_hw1,
628 .pmu_queue_tail = gk20a_pmu_queue_tail, 628 .pmu_queue_tail = gk20a_pmu_queue_tail,
629 .pmu_get_queue_head = pwr_pmu_queue_head_r, 629 .pmu_get_queue_head = pwr_pmu_queue_head_r,