mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user