Displaying 4 results from an estimated 4 matches for "nv04_devinit_priv".
2014 Jan 19
2
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...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 *object, bool suspend)
{
struct nv04_devinit_priv *priv = (void *)object;
+ int ret;
/* make i2c busses accessible */
nv_mask(priv, 0x000200, 0x00000001, 0x00000001);
- /* unlock extended vga crtc regs, and unslave crtcs */
- nv_lockvgac(priv, false);
+ ret = nouveau_devinit_fini(&priv->base, suspend);
+ if (ret)
+ return ret;
+
+...
2014 Jan 19
2
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...4.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 *object, bool suspend)
>> {
>> struct nv04_devinit_priv *priv = (void *)object;
>> + int ret;
>>
>> /* make i2c busses accessible */
>> nv_mask(priv, 0x000200, 0x00000001, 0x00000001);
>>
>> - /* unlock extended vga crtc regs, and unslave crtcs */
>> - nv_lockvgac(priv, false);...
2014 Jan 19
0
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...it 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 *object, bool suspend)
> {
> struct nv04_devinit_priv *priv = (void *)object;
> + int ret;
>
> /* make i2c busses accessible */
> nv_mask(priv, 0x000200, 0x00000001, 0x00000001);
>
> - /* unlock extended vga crtc regs, and unslave crtcs */
> - nv_lockvgac(priv, false);
> + ret = nouveau_d...
2014 Jan 19
0
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...04.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 *object, bool suspend)
>>> {
>>> struct nv04_devinit_priv *priv = (void *)object;
>>> + int ret;
>>>
>>> /* make i2c busses accessible */
>>> nv_mask(priv, 0x000200, 0x00000001, 0x00000001);
>>>
>>> - /* unlock extended vga crtc regs, and unslave crtcs */
>>> -...