Displaying 4 results from an estimated 4 matches for "_nouveau_devinit_dtor".
2014 Jan 19
2
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...t, 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_create_(struct nouveau_object *parent,
struct nouveau_object *engine,
diff --g...
2014 Jan 19
2
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...+ 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);
>> +}
>> +
>>...
2014 Jan 19
0
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...lock 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_create_(...
2014 Jan 19
0
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...;>> +
>>> 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);
>>...