mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: Support mclk initialization
Add ops for calling mclk initialization. JIRA DNVGPU-85 Change-Id: I2e9da80fdb014d916b40513d605c38711818d2f6 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1203975 (cherry picked from commit 9be482c4ece7ffc550ae19f133638c808b3a768f) Reviewed-on: http://git-master/r/1217300 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
39c48cb8bf
commit
7d44a8d8d8
@@ -588,6 +588,7 @@ struct gpu_ops {
|
||||
void *lsfm, u32 *p_bl_gen_desc_size);
|
||||
int (*flcn_populate_bl_dmem_desc)(struct gk20a *g,
|
||||
void *lsfm, u32 *p_bl_gen_desc_size, u32 falconid);
|
||||
int (*mclk_init)(struct gk20a *g);
|
||||
u32 lspmuwprinitdone;
|
||||
u32 lsfloadedfalconid;
|
||||
bool fecsbootstrapdone;
|
||||
|
||||
@@ -3081,6 +3081,8 @@ void pmu_setup_hw(struct work_struct *work)
|
||||
gk20a_dbg_pmu("pmu starting");
|
||||
if (platform->can_elpg)
|
||||
pmu_init_powergating(g);
|
||||
if (g->ops.pmu.mclk_init)
|
||||
g->ops.pmu.mclk_init(g);
|
||||
break;
|
||||
case PMU_STATE_ELPG_BOOTED:
|
||||
gk20a_dbg_pmu("elpg booted");
|
||||
|
||||
Reference in New Issue
Block a user