summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-10-30 10:03:38 +1000
committerBen Skeggs <bskeggs@redhat.com>2012-11-29 09:57:40 +1000
commit944234d6a2c46a4666533904b7ea8c79807e9072 (patch)
tree6306458369806376745131892a1fb52a974108ab
parent370c00f939c5dddd527ab5cfa8740ba7683ac630 (diff)
drm/nv50/disp: allow PCI_US pushbuf binding
-rw-r--r--drivers/gpu/drm/nouveau/core/engine/disp/nv50.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c b/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
index 531175da6bb3..c7f288b83bcf 100644
--- a/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
+++ b/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
@@ -141,6 +141,9 @@ nv50_disp_dmac_create_(struct nouveau_object *parent,
case NV_MEM_TARGET_VRAM:
dmac->push = 0x00000000 | dmac->pushdma->start >> 8;
break;
+ case NV_MEM_TARGET_PCI_NOSNOOP:
+ dmac->push = 0x00000003 | dmac->pushdma->start >> 8;
+ break;
default:
return -EINVAL;
}