diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-07-16 15:58:50 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-07-17 14:52:46 -0400 |
commit | 1294d4a36d1e0dacfc37c1f269d78ff58f0cd8bc (patch) | |
tree | 9a5afd468988672a58310fdcfbe14839672f28c0 /drivers/gpu/drm/radeon/radeon_drv.c | |
parent | d1ce3d5496f2a7c90dd00a9133572f931d2acdcc (diff) |
drm/radeon: add a module parameter to disable aspm
Can cause hangs when enabled in certain motherboards.
Set radeon.aspm=0 to disable aspm.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_drv.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_drv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c index e5419b350170..29876b1be8ec 100644 --- a/drivers/gpu/drm/radeon/radeon_drv.c +++ b/drivers/gpu/drm/radeon/radeon_drv.c | |||
@@ -167,6 +167,7 @@ int radeon_msi = -1; | |||
167 | int radeon_lockup_timeout = 10000; | 167 | int radeon_lockup_timeout = 10000; |
168 | int radeon_fastfb = 0; | 168 | int radeon_fastfb = 0; |
169 | int radeon_dpm = -1; | 169 | int radeon_dpm = -1; |
170 | int radeon_aspm = -1; | ||
170 | 171 | ||
171 | MODULE_PARM_DESC(no_wb, "Disable AGP writeback for scratch registers"); | 172 | MODULE_PARM_DESC(no_wb, "Disable AGP writeback for scratch registers"); |
172 | module_param_named(no_wb, radeon_no_wb, int, 0444); | 173 | module_param_named(no_wb, radeon_no_wb, int, 0444); |
@@ -225,6 +226,9 @@ module_param_named(fastfb, radeon_fastfb, int, 0444); | |||
225 | MODULE_PARM_DESC(dpm, "DPM support (1 = enable, 0 = disable, -1 = auto)"); | 226 | MODULE_PARM_DESC(dpm, "DPM support (1 = enable, 0 = disable, -1 = auto)"); |
226 | module_param_named(dpm, radeon_dpm, int, 0444); | 227 | module_param_named(dpm, radeon_dpm, int, 0444); |
227 | 228 | ||
229 | MODULE_PARM_DESC(aspm, "ASPM support (1 = enable, 0 = disable, -1 = auto)"); | ||
230 | module_param_named(aspm, radeon_aspm, int, 0444); | ||
231 | |||
228 | static struct pci_device_id pciidlist[] = { | 232 | static struct pci_device_id pciidlist[] = { |
229 | radeon_PCI_IDS | 233 | radeon_PCI_IDS |
230 | }; | 234 | }; |