mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
gpu: nvgpu: init interface layer support for PMU falcon
Change-Id: I210267265fa38777115d5b49cc8f78f2599e3f9e Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/1469458 Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
940cd280e1
commit
abbc687a31
@@ -241,6 +241,9 @@ int gk20a_finalize_poweron(struct gk20a *g)
|
||||
goto done;
|
||||
}
|
||||
|
||||
/* init interface layer support for PMU falcon */
|
||||
nvgpu_flcn_sw_init(g, FALCON_ID_PMU);
|
||||
|
||||
if (g->ops.pmu.is_pmu_supported(g)) {
|
||||
if (g->ops.pmu.prepare_ucode)
|
||||
err = g->ops.pmu.prepare_ucode(g);
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include "gk20a/dbg_gpu_gk20a.h"
|
||||
#include "gk20a/css_gr_gk20a.h"
|
||||
#include "gk20a/bus_gk20a.h"
|
||||
#include "gk20a/flcn_gk20a.h"
|
||||
|
||||
#include "ltc_gm20b.h"
|
||||
#include "ce2_gm20b.h"
|
||||
@@ -225,6 +226,7 @@ int gm20b_init_hal(struct gk20a *g)
|
||||
gm20b_init_ce2(gops);
|
||||
gm20b_init_gr_ctx(gops);
|
||||
gm20b_init_mm(gops);
|
||||
gk20a_falcon_init_hal(gops);
|
||||
gm20b_init_pmu_ops(gops);
|
||||
gm20b_init_clk_ops(gops);
|
||||
gm20b_init_regops(gops);
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "gk20a/css_gr_gk20a.h"
|
||||
#include "gk20a/bus_gk20a.h"
|
||||
#include "gk20a/pramin_gk20a.h"
|
||||
#include "gk20a/flcn_gk20a.h"
|
||||
|
||||
#include "gp10b/gr_gp10b.h"
|
||||
#include "gp10b/fecs_trace_gp10b.h"
|
||||
@@ -239,6 +240,7 @@ int gp106_init_hal(struct gk20a *g)
|
||||
gp10b_init_ce(gops);
|
||||
gp106_init_gr_ctx(gops);
|
||||
gp106_init_mm(gops);
|
||||
gk20a_falcon_init_hal(gops);
|
||||
gp106_init_pmu_ops(gops);
|
||||
gk20a_init_debug_ops(gops);
|
||||
gk20a_init_dbg_session_ops(gops);
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "gk20a/css_gr_gk20a.h"
|
||||
#include "gk20a/bus_gk20a.h"
|
||||
#include "gk20a/pramin_gk20a.h"
|
||||
#include "gk20a/flcn_gk20a.h"
|
||||
|
||||
#include "gp10b/gr_gp10b.h"
|
||||
#include "gp10b/fecs_trace_gp10b.h"
|
||||
@@ -240,6 +241,7 @@ int gp10b_init_hal(struct gk20a *g)
|
||||
gp10b_init_ce(gops);
|
||||
gp10b_init_gr_ctx(gops);
|
||||
gp10b_init_mm(gops);
|
||||
gk20a_falcon_init_hal(gops);
|
||||
gp10b_init_pmu_ops(gops);
|
||||
gk20a_init_debug_ops(gops);
|
||||
gk20a_init_dbg_session_ops(gops);
|
||||
|
||||
Reference in New Issue
Block a user