drm/nvd0/disp: remove fetching of capabilities report
authorBen Skeggs <bskeggs@redhat.com>
Mon, 19 Nov 2012 00:18:25 +0000 (10:18 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 28 Nov 2012 23:57:57 +0000 (09:57 +1000)
Unused, and caused a race with evo_sync().  Will revisit using it properly
later on.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvd0_display.c

index d0920acea741708ddddf688bfee307e91f97786e..b444aa7a8ae8fac13d5443481a1110aedd4755ec 100644 (file)
@@ -1863,14 +1863,8 @@ nvd0_display_init(struct drm_device *dev)
        if (push) {
                evo_mthd(push, 0x0088, 1);
                evo_data(push, NvEvoSync);
-               evo_mthd(push, 0x0084, 1);
-               evo_data(push, 0x00000000);
-               evo_mthd(push, 0x0084, 1);
-               evo_data(push, 0x80000000);
-               evo_mthd(push, 0x008c, 1);
-               evo_data(push, 0x00000000);
                evo_kick(push, nvd0_mast(dev));
-               return 0;
+               return evo_sync(dev);
        }
 
        return -EBUSY;