]> 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)
committerDave Airlie <airlied@redhat.com>
Wed, 3 Oct 2012 00:34:55 +0000 (10:34 +1000)
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>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
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;
 }