xv: fix Xv on M6/RV100 under KMS.

pRADEONEnt->HasCRTC2 wasn't setup under KMS.

Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie
2010-06-08 11:34:35 +10:00
parent f64bf0de8e
commit 426114b4a9

View File

@@ -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;