/* Returns true if video.ko can do display output switching. This does not work well/at all with binary graphics drivers which disable system io ranges and do it on their own.  */
int acpi_video_display_switch_support(void)
/* Returns true if video.ko can do display output switching. This does not work well/at all with binary graphics drivers which disable system io ranges and do it on their own.  */
int acpi_video_display_switch_support(void)
{
	if (!acpi_video_caps_checked)
		acpi_video_get_capabilities(NULL);
	if (acpi_video_support & ACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VENDOR)
		return 0;
	else if (acpi_video_support & ACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VIDEO)
		return 1;
	if (acpi_video_support & ACPI_VIDEO_OUTPUT_SWITCHING_DMI_VENDOR)
		return 0;
	else if (acpi_video_support & ACPI_VIDEO_OUTPUT_SWITCHING_DMI_VIDEO)
		return 1;
	return acpi_video_support & ACPI_VIDEO_OUTPUT_SWITCHING;
}