mirror of https://gitee.com/openkylin/linux.git
drm/nouveau/devinit/gm100-: force devinit table execution on boards without PDISP
Should fix fdo#89558 Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
c9ab50d210
commit
4d4d6f7520
|
@ -90,7 +90,7 @@ gf100_devinit_disable(struct nvkm_devinit *devinit)
|
|||
return disable;
|
||||
}
|
||||
|
||||
static int
|
||||
int
|
||||
gf100_devinit_ctor(struct nvkm_object *parent, struct nvkm_object *engine,
|
||||
struct nvkm_oclass *oclass, void *data, u32 size,
|
||||
struct nvkm_object **pobject)
|
||||
|
|
|
@ -48,7 +48,7 @@ struct nvkm_oclass *
|
|||
gm107_devinit_oclass = &(struct nvkm_devinit_impl) {
|
||||
.base.handle = NV_SUBDEV(DEVINIT, 0x07),
|
||||
.base.ofuncs = &(struct nvkm_ofuncs) {
|
||||
.ctor = nv50_devinit_ctor,
|
||||
.ctor = gf100_devinit_ctor,
|
||||
.dtor = _nvkm_devinit_dtor,
|
||||
.init = nv50_devinit_init,
|
||||
.fini = _nvkm_devinit_fini,
|
||||
|
|
|
@ -161,7 +161,7 @@ struct nvkm_oclass *
|
|||
gm204_devinit_oclass = &(struct nvkm_devinit_impl) {
|
||||
.base.handle = NV_SUBDEV(DEVINIT, 0x07),
|
||||
.base.ofuncs = &(struct nvkm_ofuncs) {
|
||||
.ctor = nv50_devinit_ctor,
|
||||
.ctor = gf100_devinit_ctor,
|
||||
.dtor = _nvkm_devinit_dtor,
|
||||
.init = nv50_devinit_init,
|
||||
.fini = _nvkm_devinit_fini,
|
||||
|
|
|
@ -15,6 +15,9 @@ int nv50_devinit_pll_set(struct nvkm_devinit *, u32, u32);
|
|||
|
||||
int gt215_devinit_pll_set(struct nvkm_devinit *, u32, u32);
|
||||
|
||||
int gf100_devinit_ctor(struct nvkm_object *, struct nvkm_object *,
|
||||
struct nvkm_oclass *, void *, u32,
|
||||
struct nvkm_object **);
|
||||
int gf100_devinit_pll_set(struct nvkm_devinit *, u32, u32);
|
||||
|
||||
u64 gm107_devinit_disable(struct nvkm_devinit *);
|
||||
|
|
Loading…
Reference in New Issue