]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/savage: re-add busmaster enable, regression fix
authorFlorian Zumbiehl <florz@florz.de>
Tue, 2 Oct 2012 12:20:37 +0000 (12:20 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Oct 2012 20:50:22 +0000 (05:50 +0900)
commit df86b5765a48d5f557489577652bd6df145b0e1b upstream.

466e69b8b03b8c1987367912782bc12988ad8794 dropped busmaster enable from the
global drm code and moved it to the individual drivers, but missed the savage
driver. So, this re-adds busmaster enable to the savage driver, fixing the
regression.

Signed-off-by: Florian Zumbiehl <florz@florz.de>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/savage/savage_bci.c

index 1efbb90758378ad3a34d02c74e1eaacb36490933..c89aef420971d02fc8daa966fdc4781448597958 100644 (file)
@@ -547,6 +547,8 @@ int savage_driver_load(struct drm_device *dev, unsigned long chipset)
 
        dev_priv->chipset = (enum savage_family)chipset;
 
+       pci_set_master(dev->pdev);
+
        return 0;
 }