Displaying 4 results from an estimated 4 matches for "nouveau_devinit_create_".
2014 Jan 19
2
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
..._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 --git a/nvkm/subdev/devinit/nv04.c b/nvkm/subdev/devinit/nv04.c
index 24025e4..7037eae 100644
--- a/nvkm/subdev/devinit/nv04.c
+++ b/nvkm/subdev/devinit/nv04.c
@@ -388,17 +388,21 @@ int
 nv04_devinit_fini(struct nouveau_object *...
2014 Jan 19
2
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...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 --git a/nvkm/subdev/devinit/nv04.c b/nvkm/subdev/devinit/nv04.c
>> index 24025e4..7037eae 100644
>> --- a/nvkm/subdev/devinit/nv04.c
>> +++ b/nvkm/subdev/devinit/nv04.c
>...
2014 Jan 19
0
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...; +_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 --git a/nvkm/subdev/devinit/nv04.c b/nvkm/subdev/devinit/nv04.c
> index 24025e4..7037eae 100644
> --- a/nvkm/subdev/devinit/nv04.c
> +++ b/nvkm/subdev/devinit/nv04.c
> @@ -388,17 +388,21...
2014 Jan 19
0
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...> +       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 --git a/nvkm/subdev/devinit/nv04.c b/nvkm/subdev/devinit/nv04.c
>>> index 24025e4..7037eae 100644
>>> --- a/nvkm/subdev/devinit/nv04.c
>>> +++ b/nvkm/subde...