Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33ae1827 authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie
Browse files

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: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@kernel.org
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 73104b5c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;