diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2011-08-11 14:01:03 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-08-12 10:48:08 +0100 |
commit | 33ae1827d6c3c79c5957536ec29d5a8780623147 (patch) | |
tree | 0aedec053818b20962dc67c6260e648e141e99e8 /drivers/gpu/drm/radeon/radeon_encoders.c | |
parent | 73104b5cfe3067d68f2c2de3f3d4d4964c55873e (diff) |
drm/radeon/kms: fix regression is handling >2 heads on cedar/caicos
Need to add support for 4 crtcs when setting the possible crtcs
for the encoders.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_encoders.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_encoders.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_encoders.c b/drivers/gpu/drm/radeon/radeon_encoders.c index b293487e5aa3..319d85d7e759 100644 --- a/drivers/gpu/drm/radeon/radeon_encoders.c +++ b/drivers/gpu/drm/radeon/radeon_encoders.c @@ -2323,6 +2323,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; |