diff options
author | Dave Airlie <airlied@redhat.com> | 2009-08-13 02:32:14 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-09-07 19:24:37 -0400 |
commit | 4ce001abafafe77e5dd943d1480fc9f87894e96f (patch) | |
tree | 4a22b42c58a80450992fcf5d7625b19fe045855b /drivers/gpu/drm/radeon/radeon_drv.c | |
parent | 551ebd837c75fc75df81811a18b7136c39cab487 (diff) |
drm/radeon/kms: add initial radeon tv-out support.
This ports the tv-out code from the DDX to KMS.
adds a radeon.tv module option, radeon.tv=0 to disable tv
Signed-off-by: Dave Airlie <airlied@redhat.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 0bd5879a4957..133e975dbf0c 100644 --- a/drivers/gpu/drm/radeon/radeon_drv.c +++ b/drivers/gpu/drm/radeon/radeon_drv.c | |||
@@ -91,6 +91,7 @@ int radeon_gart_size = 512; /* default gart size */ | |||
91 | int radeon_benchmarking = 0; | 91 | int radeon_benchmarking = 0; |
92 | int radeon_testing = 0; | 92 | int radeon_testing = 0; |
93 | int radeon_connector_table = 0; | 93 | int radeon_connector_table = 0; |
94 | int radeon_tv = 1; | ||
94 | #endif | 95 | #endif |
95 | 96 | ||
96 | MODULE_PARM_DESC(no_wb, "Disable AGP writeback for scratch registers"); | 97 | MODULE_PARM_DESC(no_wb, "Disable AGP writeback for scratch registers"); |
@@ -123,6 +124,9 @@ module_param_named(test, radeon_testing, int, 0444); | |||
123 | 124 | ||
124 | MODULE_PARM_DESC(connector_table, "Force connector table"); | 125 | MODULE_PARM_DESC(connector_table, "Force connector table"); |
125 | module_param_named(connector_table, radeon_connector_table, int, 0444); | 126 | module_param_named(connector_table, radeon_connector_table, int, 0444); |
127 | |||
128 | MODULE_PARM_DESC(tv, "TV enable (0 = disable)"); | ||
129 | module_param_named(tv, radeon_tv, int, 0444); | ||
126 | #endif | 130 | #endif |
127 | 131 | ||
128 | static int radeon_suspend(struct drm_device *dev, pm_message_t state) | 132 | static int radeon_suspend(struct drm_device *dev, pm_message_t state) |