diff options
author | Dave Airlie <airlied@redhat.com> | 2010-06-08 11:34:35 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-06-08 11:36:01 +1000 |
commit | 426114b4a99d37b394efe3336968bb0ab9b6e9ae (patch) | |
tree | b01c6b06c0f0d68b9af3c461620433dd9c86c99f | |
parent | f64bf0de8e2de7c1bf9cc0c614603dd23c9060ad (diff) |
xv: fix Xv on M6/RV100 under KMS.
pRADEONEnt->HasCRTC2 wasn't setup under KMS.
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | src/radeon_kms.c | 4 |
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; |