void vHDMIResetGenReg(u8 ui1resindex, u8 ui1colorspace)
{
	MT8193_DRV_FUNC();
	vResetHDMI(1);
	vHDMIVideoOutput(ui1resindex, ui1colorspace);
	vResetHDMI(0);
	vEnableNotice(TRUE);
	vWriteHdmiIntMask(0xff);
	vSetHDMIDataEnable(ui1resindex);
	vSetHDMISyncDelay(ui1resindex);

	if (i4SharedInfo(SI_EDID_VSDB_EXIST) == TRUE)
		vEnableHdmiMode(TRUE);
	else
		vEnableHdmiMode(FALSE);

	vEnableNCTSAutoWrite();
	vHDMISettingColorSpace(ui1colorspace);
}
void vHDMIResetGenReg(u8 ui1resindex, u8 ui1colorspace)
{
  MT8193_DRV_FUNC();
  vResetHDMI(1);
  vHDMIVideoOutput(ui1resindex, ui1colorspace);
  vResetHDMI(0);
  vEnableNotice(TRUE);
  vWriteHdmiIntMask(0xfe);
  vSetHDMIDataEnable(ui1resindex);
  vSetHDMISyncDelay(ui1resindex);
  vEnableHdmiMode(TRUE);
  vEnableNCTSAutoWrite();
  vHDMISettingColorSpace(ui1colorspace);
}