diff options
author | Dave Airlie <airlied@starflyer.(none)> | 2005-09-30 03:09:07 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-09-30 03:09:07 -0400 |
commit | 689b9d74b1c00e1316fbb7d1e912fe1227fdb1ab (patch) | |
tree | 46d53c2d2ecb31d3db08f034052106030a9d8046 /drivers/char/drm/radeon_drv.c | |
parent | b6ce156c415544f900e031890c78eba8bc92f9b3 (diff) |
drm: add option to force writeback off.
In order to get some better debugging from people about certain hangs/crashes
we need to be able to turn AGP writeback off permanently...
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/radeon_drv.c')
-rw-r--r-- | drivers/char/drm/radeon_drv.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/char/drm/radeon_drv.c b/drivers/char/drm/radeon_drv.c index 6c1766120c10..7074d01ed1dd 100644 --- a/drivers/char/drm/radeon_drv.c +++ b/drivers/char/drm/radeon_drv.c | |||
@@ -37,6 +37,11 @@ | |||
37 | 37 | ||
38 | #include "drm_pciids.h" | 38 | #include "drm_pciids.h" |
39 | 39 | ||
40 | int radeon_no_wb; | ||
41 | |||
42 | MODULE_PARM_DESC(no_wb, "Disable AGP writeback for scratch registers\n"); | ||
43 | module_param_named(no_wb, radeon_no_wb, int, 0444); | ||
44 | |||
40 | static int postinit(struct drm_device *dev, unsigned long flags) | 45 | static int postinit(struct drm_device *dev, unsigned long flags) |
41 | { | 46 | { |
42 | DRM_INFO("Initialized %s %d.%d.%d %s on minor %d: %s\n", | 47 | DRM_INFO("Initialized %s %d.%d.%d %s on minor %d: %s\n", |