Skip to contentSkip to conversation

drm/radeon/kms: fix regression is handling >2 heads on cedar/caicos

PATCH New [email protected] 1 participant 1 message Aug 11, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/radeon/kms: fix regression is handling >2 heads on cedar/caicos

From: Alex Deucher <[email protected]>

Need to add support for 4 crtcs when setting the possible crtcs for the encoders.

---
 drivers/gpu/drm/radeon/radeon_encoders.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/gpu/drm/radeon/radeon_encoders.c +3 -0
index 4c4d8e5..39cfef6 100644
@@ -2394,6 +2394,9 @@ radeon_add_atom_encoder(struct drm_device *dev,
 	default:
 		encoder->possible_crtcs = 0x3;
 		break;
+	case 4:
+		encoder->possible_crtcs = 0xf;
+		break;
 	case 6:
 		encoder->possible_crtcs = 0x3f;
 		break;
Signature · 1 line
1.7.1.1