From: Florian Zumbiehl Date: Tue, 2 Oct 2012 12:20:37 +0000 (+0000) Subject: drm/savage: re-add busmaster enable, regression fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=df86b5765a48d5f557489577652bd6df145b0e1b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/savage: re-add busmaster enable, regression fix 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 Reviewed-by: Alex Deucher Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/savage/savage_bci.c b/drivers/gpu/drm/savage/savage_bci.c index 1efbb9075837..c89aef420971 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; }