diff options
author | Deepak Goyal <dgoyal@nvidia.com> | 2017-01-10 23:23:29 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-18 19:46:50 -0500 |
commit | a69fa0e96cb8ca253ec3468f288f410219129b9a (patch) | |
tree | 3b7b1e9e3cd6524013cbabf05130caf532064904 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 8e53d790902b8a40098a5851584ae7ba58b357b6 (diff) |
nvgpu: pmu: Use ops to get PMU queue HEAD/TAIL.
pmu_queue_head() & pmu_queue_tail() are updated
to use gops to include chip specific PMU queue
head/tail registers.
JIRA GV11B-30
Change-Id: I9c3d6a4601ba2767f9ada95642052044e2b79747
Signed-off-by: Deepak Goyal <dgoyal@nvidia.com>
Reviewed-on: http://git-master/r/1283266
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 6ca5855a..7df2c2e0 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -618,6 +618,10 @@ struct gpu_ops { | |||
618 | int (*pmu_setup_hw_and_bootstrap)(struct gk20a *g); | 618 | int (*pmu_setup_hw_and_bootstrap)(struct gk20a *g); |
619 | int (*pmu_nsbootstrap)(struct pmu_gk20a *pmu); | 619 | int (*pmu_nsbootstrap)(struct pmu_gk20a *pmu); |
620 | int (*pmu_setup_elpg)(struct gk20a *g); | 620 | int (*pmu_setup_elpg)(struct gk20a *g); |
621 | u32 (*pmu_get_queue_head)(u32 i); | ||
622 | u32 (*pmu_get_queue_head_size)(void); | ||
623 | u32 (*pmu_get_queue_tail_size)(void); | ||
624 | u32 (*pmu_get_queue_tail)(u32 i); | ||
621 | int (*init_wpr_region)(struct gk20a *g); | 625 | int (*init_wpr_region)(struct gk20a *g); |
622 | int (*load_lsfalcon_ucode)(struct gk20a *g, u32 falconidmask); | 626 | int (*load_lsfalcon_ucode)(struct gk20a *g, u32 falconidmask); |
623 | void (*write_dmatrfbase)(struct gk20a *g, u32 addr); | 627 | void (*write_dmatrfbase)(struct gk20a *g, u32 addr); |