summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-10-30 04:03:38 +0400
committerBen Skeggs <bskeggs@redhat.com>2012-11-29 03:57:40 +0400
commit944234d6a2c46a4666533904b7ea8c79807e9072 (patch)
tree6306458369806376745131892a1fb52a974108ab
parent370c00f939c5dddd527ab5cfa8740ba7683ac630 (diff)
downloadlinux-944234d6a2c46a4666533904b7ea8c79807e9072.tar.xz
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;
}