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

From: Alex Deucher
Date: Tue Oct 02 2012 - 11:08:38 EST


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

Reviewed-by: Alex Deucher <alexdeucher@xxxxxxxxx>

>
> 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@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/