summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/radeon_kms.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index c6a3df77..3c832ca1 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -512,6 +512,10 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags)
goto fail;
}
+ if (info->drmmode.mode_res->count_crtcs == 1)
+ pRADEONEnt->HasCRTC2 = FALSE;
+ else
+ pRADEONEnt->HasCRTC2 = TRUE;
{
struct drm_radeon_gem_info mminfo;