Displaying 4 results from an estimated 4 matches for "nvkm_alarm_init".
2015 Sep 03
5
[PATCH 0/2] two trivial PMU fixes
Two trivial PMU-related fixes for Tegra:
- Add a dummy func member to GK20A, since nvkm_pmmu_pgob() unconditionally
  dereferences it
- Check whether a PMU actually exists before calling nvkm_pmmu_pgob(). During
  early bringup we are likely to not have a PMU
Alexandre Courbot (2):
  pmu/gk20a: add dummy func
  gr/gf100: do not assume a PMU is present
 drm/nouveau/nvkm/engine/gr/gf100.c  | 3 ++-
2015 Apr 13
3
[PATCH v4] pmu/gk20a: PMU boot support
...f (priv->desc->app_version != APP_VERSION_GK20A) {
+		nv_error(priv, "PMU version unsupported: %d\n",
+						       priv->desc->app_version);
+		ret = -EINVAL;
+		goto err;
+	}
+
+	ret = gk20a_init_pmu_setup_sw(priv);
+	if (ret)
+		goto err;
+
+	pmu->pgob = nvkm_pmu_pgob;
 	nvkm_alarm_init(&priv->alarm, gk20a_pmu_dvfs_work);
+
 	return 0;
+
+err:
+	gk20a_pmu_release_firmware(pmu, pmufw);
+	return ret;
 }
 
 struct nvkm_oclass *
@@ -223,8 +988,10 @@ gk20a_pmu_oclass = &(struct nvkm_pmu_impl) {
 	.base.handle = NV_SUBDEV(PMU, 0xea),
 	.base.ofuncs = &(struct nvkm_ofuncs)...
2015 Apr 30
2
[PATCH v4] pmu/gk20a: PMU boot support
...on);
>> +               ret = -EINVAL;
>> +               goto err;
>> +       }
>> +
>> +       ret = gk20a_init_pmu_setup_sw(priv);
>> +       if (ret)
>> +               goto err;
>> +
>> +       pmu->pgob = nvkm_pmu_pgob;
>>         nvkm_alarm_init(&priv->alarm, gk20a_pmu_dvfs_work);
>> +
>>         return 0;
>> +
>> +err:
>> +       gk20a_pmu_release_firmware(pmu, pmufw);
>> +       return ret;
>>   }
>>
>>   struct nvkm_oclass *
>> @@ -223,8 +988,10 @@ gk20a_pmu_oclass = &am...
2016 Dec 13
15
[PATCH v2 0/15] Falcon library
This was the first step of the secure boot refactoring - as Ben asked for some
fixes, I now submit it as its own series to make it easier to review (and also
because rebasing secure boot on top of this takes time and I don't want to do
it until this is validated!).
This series attempts to factorize the duplicate falcon-related code into a
single library, using the existing nvkm_falcon