mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: pmu: move rtos init to func ptr
This moves the nvgpu_pmu_rtos_init() to a HAL function pointer which makes it consistent with the other init APIs. JIRA NVGPU-3980 Change-Id: I562e264deaec76f2a45026a07f24d35b291b1930 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2202969 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
b53ec4731e
commit
19dd64930d
@@ -1177,6 +1177,7 @@ static const struct gpu_ops tu104_ops = {
|
||||
.pmu = {
|
||||
/* Init */
|
||||
.pmu_early_init = nvgpu_pmu_early_init,
|
||||
.pmu_rtos_init = nvgpu_pmu_rtos_init,
|
||||
.pmu_pstate_sw_setup = nvgpu_pmu_pstate_sw_setup,
|
||||
.pmu_pstate_pmu_setup = nvgpu_pmu_pstate_pmu_setup,
|
||||
.pmu_destroy = nvgpu_pmu_destroy,
|
||||
|
||||
Reference in New Issue
Block a user