[PATCH] drm/savage: re-add busmaster enable, regression fix

Alex Deucher alexdeucher at gmail.com
Tue Oct 2 08:08:46 PDT 2012


On Tue, Oct 2, 2012 at 8:20 AM, Florian Zumbiehl <florz at florz.de> wrote:
> 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 at florz.de>

Reviewed-by: Alex Deucher <alexdeucher at gmail.com>

>
> diff --git a/drivers/gpu/drm/savage/savage_bci.c b/drivers/gpu/drm/savage/savage_bci.c
> index 6eb507a..7d3f0f0 100644
> --- a/drivers/gpu/drm/savage/savage_bci.c
> +++ b/drivers/gpu/drm/savage/savage_bci.c
> @@ -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;
>  }
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list