drm/nve0/ce: link ce2 to its engine, rather than from graphics
authorBen Skeggs <bskeggs@redhat.com>
Sun, 28 Apr 2013 23:36:42 +0000 (09:36 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 1 Jul 2013 03:43:36 +0000 (13:43 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c
drivers/gpu/drm/nouveau/core/engine/graph/nve0.c

index 4419fd2..eff2b57 100644 (file)
@@ -44,7 +44,8 @@ static const struct {
        u64 subdev;
        u64 mask;
 } fifo_engine[] = {
-       _(NVDEV_ENGINE_GR      , (1ULL << NVDEV_ENGINE_SW)),
+       _(NVDEV_ENGINE_GR      , (1ULL << NVDEV_ENGINE_SW) |
+                                (1ULL << NVDEV_ENGINE_COPY2)),
        _(NVDEV_ENGINE_VP      , 0),
        _(NVDEV_ENGINE_PPP     , 0),
        _(NVDEV_ENGINE_BSP     , 0),
index 678c16f..b0a5a88 100644 (file)
@@ -36,7 +36,6 @@ nve0_graph_sclass[] = {
        { 0xa040, &nouveau_object_ofuncs },
        { 0xa097, &nouveau_object_ofuncs },
        { 0xa0c0, &nouveau_object_ofuncs },
-       { 0xa0b5, &nouveau_object_ofuncs },
        {}
 };