]> Pileus Git - ~andy/linux/blobdiff - drivers/gpu/drm/radeon/si.c
Merge branch 'drm-nouveau-next' of git://anongit.freedesktop.org/git/nouveau/linux-2.6
[~andy/linux] / drivers / gpu / drm / radeon / si.c
index d3f05076f3852243c94a54abf0d6c5ec4a879c35..d325280e2f9ffcc94b2260e802f6533c242f6546 100644 (file)
@@ -7053,6 +7053,9 @@ static void si_program_aspm(struct radeon_device *rdev)
        bool disable_l0s = false, disable_l1 = false, disable_plloff_in_l1 = false;
        bool disable_clkreq = false;
 
+       if (radeon_aspm == 0)
+               return;
+
        if (!(rdev->flags & RADEON_IS_PCIE))
                return;