gpu: nvgpu: update static pg support for pre-si

- On pre-silicon platform, static pg will be
  done by nvgpu driver. For this, retain structs
  and HALs of static pg.
- Add the static pg support under pre-silicon code.
- On silicon, the static pg will be done by BPMP.
- Rename variables used in static pg for better
  readability and consistency

Bug 200768322
JIRA NVGPU-6433

Change-Id: Ib31c0f83b751c2b1563a36bd51af78a0bd12a117
Signed-off-by: Divya <dsinghatwari@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2594801
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Divya
2021-09-18 15:40:43 +00:00
committed by mobile promotions
parent 72c3bce602
commit 9266da636b
14 changed files with 126 additions and 105 deletions

View File

@@ -82,13 +82,13 @@ struct gk20a_platform {
bool can_pci_gc_off;
/* Should be populated at probe. */
bool can_tpc_powergate;
bool can_tpc_pg;
/* Should be populated at probe. */
bool can_fbp_fs;
bool can_fbp_pg;
/* Should be populated at probe. */
bool can_gpc_fs;
bool can_gpc_pg;
/* Should be populated at probe. */
bool can_elpg_init;