Displaying 4 results from an estimated 4 matches for "nv_wrvgaowner".
2014 Jan 19
2
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...00200, 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;
+
+ /* unslave crtcs */
if (priv->owner < 0)
priv->owner = nv_rdvgaowner(priv);
nv_wrvgaowner(priv, 0);
- return nouveau_devinit_fini(&priv->base, suspend);
+ return 0;
}
int
@@ -426,9 +430,8 @@ nv04_devinit_dtor(struct nouveau_object *object)
{
struct nv04_devinit_priv *priv = (void *)object;
- /* restore vga owner saved at first init, and lock crtc regs */
+ /* restore...
2014 Jan 19
2
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...+ ret = nouveau_devinit_fini(&priv->base, suspend);
>> + if (ret)
>> + return ret;
>> +
>> + /* unslave crtcs */
>> if (priv->owner < 0)
>> priv->owner = nv_rdvgaowner(priv);
>> nv_wrvgaowner(priv, 0);
>>
>> - return nouveau_devinit_fini(&priv->base, suspend);
>> + return 0;
>> }
>>
>> int
>> @@ -426,9 +430,8 @@ nv04_devinit_dtor(struct nouveau_object *object)
>> {
>> struct nv04_devinit_priv *priv = (vo...
2014 Jan 19
0
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...lockvgac(priv, false);
> + ret = nouveau_devinit_fini(&priv->base, suspend);
> + if (ret)
> + return ret;
> +
> + /* unslave crtcs */
> if (priv->owner < 0)
> priv->owner = nv_rdvgaowner(priv);
> nv_wrvgaowner(priv, 0);
>
> - return nouveau_devinit_fini(&priv->base, suspend);
> + return 0;
> }
>
> int
> @@ -426,9 +430,8 @@ nv04_devinit_dtor(struct nouveau_object *object)
> {
> struct nv04_devinit_priv *priv = (void *)object;
>
> - /* re...
2014 Jan 19
0
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...t_fini(&priv->base, suspend);
>>> + if (ret)
>>> + return ret;
>>> +
>>> + /* unslave crtcs */
>>> if (priv->owner < 0)
>>> priv->owner = nv_rdvgaowner(priv);
>>> nv_wrvgaowner(priv, 0);
>>>
>>> - return nouveau_devinit_fini(&priv->base, suspend);
>>> + return 0;
>>> }
>>>
>>> int
>>> @@ -426,9 +430,8 @@ nv04_devinit_dtor(struct nouveau_object *object)
>>> {
>>>...