|
@@ -128,6 +128,7 @@ int radeon_disp_priority = 0;
|
|
|
int radeon_hw_i2c = 0;
|
|
|
int radeon_pcie_gen2 = 0;
|
|
|
int radeon_msi = -1;
|
|
|
+int radeon_lockup_timeout = 10000;
|
|
|
|
|
|
MODULE_PARM_DESC(no_wb, "Disable AGP writeback for scratch registers");
|
|
|
module_param_named(no_wb, radeon_no_wb, int, 0444);
|
|
@@ -177,6 +178,9 @@ module_param_named(pcie_gen2, radeon_pcie_gen2, int, 0444);
|
|
|
MODULE_PARM_DESC(msi, "MSI support (1 = enable, 0 = disable, -1 = auto)");
|
|
|
module_param_named(msi, radeon_msi, int, 0444);
|
|
|
|
|
|
+MODULE_PARM_DESC(lockup_timeout, "GPU lockup timeout in ms (defaul 10000 = 10 seconds, 0 = disable)");
|
|
|
+module_param_named(lockup_timeout, radeon_lockup_timeout, int, 0444);
|
|
|
+
|
|
|
static int radeon_suspend(struct drm_device *dev, pm_message_t state)
|
|
|
{
|
|
|
drm_radeon_private_t *dev_priv = dev->dev_private;
|