search for: nvobj_engine_sw

Displaying 3 results from an estimated 3 matches for "nvobj_engine_sw".

2012 Jul 27
0
[PATCH 3/3] nouveau: add vblank methods on newer cards
...drm/nouveau/nv50_software.c index df554d9..1f3ef11 100644 --- a/drivers/gpu/drm/nouveau/nv50_software.c +++ b/drivers/gpu/drm/nouveau/nv50_software.c @@ -75,7 +75,7 @@ mthd_vblsem_release(struct nouveau_channel *chan, u32 class, u32 mthd, u32 data) struct nv50_software_chan *pch = chan->engctx[NVOBJ_ENGINE_SW]; struct drm_device *dev = chan->dev; - if (data > 1) + if (data > 1 || !list_empty(&pch->base.vblank.list)) return -EINVAL; drm_vblank_get(dev, data); diff --git a/drivers/gpu/drm/nouveau/nvc0_software.c b/drivers/gpu/drm/nouveau/nvc0_software.c index 4fd14cf..5bd381c 10...
2012 Jul 27
0
[PATCH 2/3] nouveau: add software methods to e0
...e; + struct nvc0_software_chan *pch; + struct nouveau_channel *chan; + unsigned long flags; + bool handled = false; + + spin_lock_irqsave(&dev_priv->channels.lock, flags); + if (chid >= pfifo->channels || !(chan = dev_priv->channels.ptr[chid])) + goto out; + + pch = chan->engctx[NVOBJ_ENGINE_SW]; + if (!mthd) { + if (data && data != 0x906e) + goto out; + + handled = true; + pch->class[subc] = data; + } else { + u32 class = pch->class[subc]; + if (!class) + goto out; + + handled = !nouveau_gpuobj_mthd_call(chan, class, mthd, data); + } + +out: + spin_unlock_irqresto...
2012 Dec 20
32
[Bug 58556] New: MacBook Pro 5, 1 with nVidia 9400m and 9600m, scrambled screen
https://bugs.freedesktop.org/show_bug.cgi?id=58556 Priority: medium Bug ID: 58556 Assignee: nouveau at lists.freedesktop.org Summary: MacBook Pro 5,1 with nVidia 9400m and 9600m, scrambled screen QA Contact: xorg-team at lists.x.org Severity: major Classification: Unclassified OS: other