mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: moved pg out from pmu_gk20a.c/h
- moved pg related code to pmu_pg.c under common/pmu folder PG state machine support methods PG ACK handlers AELPG methods PG enable/disable methods -prepended with nvgpu_ for elpg/aelpg global methods by replacing gk20a_ JIRA NVGPU-97 Change-Id: I2148a69ff86b5c5d43c521ff6e241db84afafd82 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/1498363 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
45355f00e7
commit
c18364d0c4
@@ -3235,7 +3235,7 @@ int gk20a_alloc_obj_ctx(struct channel_gk20a *c,
|
||||
u32 lockboost;
|
||||
|
||||
if (g->support_pmu) {
|
||||
err = gk20a_pmu_disable_elpg(g);
|
||||
err = nvgpu_pmu_disable_elpg(g);
|
||||
if (err) {
|
||||
nvgpu_err(g,
|
||||
"failed to set disable elpg");
|
||||
@@ -3285,7 +3285,7 @@ int gk20a_alloc_obj_ctx(struct channel_gk20a *c,
|
||||
args->flags |= NVGPU_ALLOC_OBJ_FLAGS_LOCKBOOST_ZERO;
|
||||
|
||||
if (g->support_pmu && g->can_elpg)
|
||||
gk20a_pmu_enable_elpg(g);
|
||||
nvgpu_pmu_enable_elpg(g);
|
||||
}
|
||||
|
||||
/* init golden image, ELPG enabled after this is done */
|
||||
|
||||
Reference in New Issue
Block a user