Displaying 1 result from an estimated 1 matches for "6a45913".
Did you mean:
645913
2009 Dec 19
1
[PATCH] drm/nouveau: always do buffer object moves on bo->channel
...ret;
+ }
+
+ ret = nouveau_gpuobj_ref_add(dev, chan, NvDmaGART, tt, NULL);
+ if (ret) {
+ NV_ERROR(dev, "Error referencing GART ctxdma: %d\n", ret);
+ return ret;
+ }
+
return 0;
}
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c
index 6a45913..c9757f2 100644
--- a/drivers/gpu/drm/nouveau/nouveau_state.c
+++ b/drivers/gpu/drm/nouveau/nouveau_state.c
@@ -321,46 +321,10 @@ static int
nouveau_card_init_channel(struct drm_device *dev)
{
struct drm_nouveau_private *dev_priv = dev->dev_private;
- struct nouveau_gpuobj *gpuobj;
- int ret...