Displaying 4 results from an estimated 4 matches for "unslave".
Did you mean:
enslave
2014 Jan 19
2
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...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;
+
+ /* unslave crtcs */
if (priv->owner < 0)
priv->owner = nv_rdvgaowner(priv);
nv_wrvgaowner(priv, 0);
- return nouveau_devinit_fini(&priv->base, suspe...
2014 Jan 19
2
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...spend)
>> {
>> 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;
>> +
>> + /* unslave crtcs */
>> if (priv->owner < 0)
>>...
2014 Jan 19
0
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...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;
> +
> + /* unslave crtcs */
> if (priv->owner < 0)
> priv->owner = nv_rdvga...
2014 Jan 19
0
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...gt; 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;
>>> +
>>> + /* unslave crtcs */
>>> if (priv->owne...