Loading drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c +10 −4 Original line number Diff line number Diff line Loading @@ -105,6 +105,15 @@ pmu_load(struct nv50_devinit *init, u8 type, bool post, return pmu_exec(init, pmu.init_addr_pmu), 0; } void gm200_devinit_preos(struct nv50_devinit *init, bool post) { /* Optional: Execute PRE_OS application on PMU, which should at * least take care of fans until a full PMU has been loaded. */ pmu_load(init, 0x01, post, NULL, NULL); } int gm200_devinit_post(struct nvkm_devinit *base, bool post) { Loading Loading @@ -156,10 +165,7 @@ gm200_devinit_post(struct nvkm_devinit *base, bool post) return -ETIMEDOUT; } /* Optional: Execute PRE_OS application on PMU, which should at * least take care of fans until a full PMU has been loaded. */ pmu_load(init, 0x01, post, NULL, NULL); gm200_devinit_preos(init, post); return 0; } Loading drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.h +1 −0 Original line number Diff line number Diff line Loading @@ -26,4 +26,5 @@ void gf100_devinit_preinit(struct nvkm_devinit *); u64 gm107_devinit_disable(struct nvkm_devinit *); int gm200_devinit_post(struct nvkm_devinit *, bool); void gm200_devinit_preos(struct nv50_devinit *, bool); #endif Loading
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c +10 −4 Original line number Diff line number Diff line Loading @@ -105,6 +105,15 @@ pmu_load(struct nv50_devinit *init, u8 type, bool post, return pmu_exec(init, pmu.init_addr_pmu), 0; } void gm200_devinit_preos(struct nv50_devinit *init, bool post) { /* Optional: Execute PRE_OS application on PMU, which should at * least take care of fans until a full PMU has been loaded. */ pmu_load(init, 0x01, post, NULL, NULL); } int gm200_devinit_post(struct nvkm_devinit *base, bool post) { Loading Loading @@ -156,10 +165,7 @@ gm200_devinit_post(struct nvkm_devinit *base, bool post) return -ETIMEDOUT; } /* Optional: Execute PRE_OS application on PMU, which should at * least take care of fans until a full PMU has been loaded. */ pmu_load(init, 0x01, post, NULL, NULL); gm200_devinit_preos(init, post); return 0; } Loading
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.h +1 −0 Original line number Diff line number Diff line Loading @@ -26,4 +26,5 @@ void gf100_devinit_preinit(struct nvkm_devinit *); u64 gm107_devinit_disable(struct nvkm_devinit *); int gm200_devinit_post(struct nvkm_devinit *, bool); void gm200_devinit_preos(struct nv50_devinit *, bool); #endif