#include "sec_xberc.h"
#include <xf86RandR12.h>
#include "common.h"
+#include "sec_dummy.h"
static Bool SECCrtcConfigResize(ScrnInfoPtr pScrn, int width, int height);
static void SECModeVblankHandler(int fd, unsigned int frame, unsigned int tv_sec,
xf86CrtcSetSizeRange (pScrn, 320, 200, pSecMode->mode_res->max_width,
pSecMode->mode_res->max_height);
-
+#if 1
for (i = 0; i < pSecMode->mode_res->count_crtcs; i++)
secCrtcInit (pScrn, pSecMode, i);
for (i = 0; i < pSecMode->mode_res->count_connectors; i++)
secOutputInit (pScrn, pSecMode, i);
-
+#endif
for (i = 0; i < pSecMode->plane_res->count_planes; i++)
secPlaneInit (pScrn, pSecMode, i);
-#ifdef NO_CRTC_MODE
- if (pSecMode->num_real_crtc == 0 ||
- pSecMode->num_real_output == 0)
- {
- secOutputDummyInit(pScrn, pSecMode, FALSE);
- }
+#if 0
+ secDummyOutputInit(pScrn, pSecMode, FALSE);
#endif //NO_CRTC_MODE
_secSetMainMode (pScrn, pSecMode);
*msc = 0;
return TRUE;
}
- else
#endif //NO_CRTC_MODE
if (pSec->isLcdOff)
{