summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-08-28 11:30:55 +1000
committerDave Airlie <airlied@redhat.com>2008-08-28 11:30:55 +1000
commit9afe872ae9ef608269688e08f62beca2181f60dc (patch)
tree4eb8300972fdd73107b9a90b3fe95dbc1bf7b061
parent6a27e019bc16ce901d6be6c85e63c0bad75dd16a (diff)
radeon: limit LVDS to first CRTC for now
-rw-r--r--linux-core/radeon_encoders.c3
-rw-r--r--linux-core/radeon_legacy_encoders.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/linux-core/radeon_encoders.c b/linux-core/radeon_encoders.c
index a889953e..897be82a 100644
--- a/linux-core/radeon_encoders.c
+++ b/linux-core/radeon_encoders.c
@@ -376,7 +376,8 @@ struct drm_encoder *radeon_encoder_lvtma_add(struct drm_device *dev, int bios_in
encoder = &radeon_encoder->base;
- encoder->possible_crtcs = 0x3;
+ /* Set LVTMA to only use crtc 0 */
+ encoder->possible_crtcs = 0x1;
encoder->possible_clones = 0;
drm_encoder_init(dev, encoder, &radeon_atom_lvtma_enc_funcs,
DRM_MODE_ENCODER_LVDS);
diff --git a/linux-core/radeon_legacy_encoders.c b/linux-core/radeon_legacy_encoders.c
index 3fae0076..ba2036f7 100644
--- a/linux-core/radeon_legacy_encoders.c
+++ b/linux-core/radeon_legacy_encoders.c
@@ -374,7 +374,8 @@ struct drm_encoder *radeon_encoder_legacy_lvds_add(struct drm_device *dev, int b
encoder = &radeon_encoder->base;
- encoder->possible_crtcs = 0x3;
+ /* Limit LVDS to crtc 0 for RMX */
+ encoder->possible_crtcs = 0x1;
encoder->possible_clones = 0;
drm_encoder_init(dev, encoder, &radeon_legacy_lvds_enc_funcs,
DRM_MODE_ENCODER_LVDS);