search for: _nouveau_devinit_init

Displaying 4 results from an estimated 4 matches for "_nouveau_devinit_init".

2014 Jan 19
2
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
..." @@ -38,6 +39,9 @@ _nouveau_devinit_fini(struct nouveau_object *object, bool suspend) if (suspend) devinit->post = true; + /* unlock the extended vga crtc regs */ + nv_lockvgac(devinit, false); + return nouveau_subdev_fini(&devinit->base, suspend); } @@ -61,6 +65,16 @@ _nouveau_devinit_init(struct nouveau_object *object) return 0; } +void +_nouveau_devinit_dtor(struct nouveau_object *object) +{ + struct nouveau_devinit *devinit = (void *)object; + + /* lock crtc regs */ + nv_lockvgac(devinit, true); + nouveau_subdev_destroy(&devinit->base); +} + int nouveau_devinit_creat...
2014 Jan 19
2
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...>> devinit->post = true; >> >> + /* unlock the extended vga crtc regs */ >> + nv_lockvgac(devinit, false); >> + >> return nouveau_subdev_fini(&devinit->base, suspend); >> } >> >> @@ -61,6 +65,16 @@ _nouveau_devinit_init(struct nouveau_object *object) >> return 0; >> } >> >> +void >> +_nouveau_devinit_dtor(struct nouveau_object *object) >> +{ >> + struct nouveau_devinit *devinit = (void *)object; >> + >> + /* lock crtc regs */ >> +...
2014 Jan 19
0
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...l suspend) > if (suspend) > devinit->post = true; > > + /* unlock the extended vga crtc regs */ > + nv_lockvgac(devinit, false); > + > return nouveau_subdev_fini(&devinit->base, suspend); > } > > @@ -61,6 +65,16 @@ _nouveau_devinit_init(struct nouveau_object *object) > return 0; > } > > +void > +_nouveau_devinit_dtor(struct nouveau_object *object) > +{ > + struct nouveau_devinit *devinit = (void *)object; > + > + /* lock crtc regs */ > + nv_lockvgac(devinit, true); > +...
2014 Jan 19
0
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...t->post = true; >>> >>> + /* unlock the extended vga crtc regs */ >>> + nv_lockvgac(devinit, false); >>> + >>> return nouveau_subdev_fini(&devinit->base, suspend); >>> } >>> >>> @@ -61,6 +65,16 @@ _nouveau_devinit_init(struct nouveau_object *object) >>> return 0; >>> } >>> >>> +void >>> +_nouveau_devinit_dtor(struct nouveau_object *object) >>> +{ >>> + struct nouveau_devinit *devinit = (void *)object; >>> + >>> +...