gpu: nvgpu: move ops.gr.get_pmm_per_chiplet_offset() HAL to PERF unit

g->ops.gr.get_pmm_per_chiplet_offset() HAL operation accesses registers
owned by PERF unit, hence move this HAL to PERF unit as
g->ops.perf.get_pmm_per_chiplet_offset()

Jira NVGPU-2894

Change-Id: I8fb1160329829dc50326aad4b7d1a59e088bba9f
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2030693
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Deepak Nibade
2019-03-01 18:55:46 +05:30
committed by mobile promotions
parent 0aa1ef7c0c
commit 278ec56a6f
16 changed files with 46 additions and 34 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -39,4 +39,6 @@ void gm20b_perf_enable_membuf(struct gk20a *g, u32 size,
u64 buf_addr, struct nvgpu_mem *inst_block);
void gm20b_perf_disable_membuf(struct gk20a *g);
u32 gm20b_perf_get_pmm_per_chiplet_offset(void);
#endif