mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
ODROID-COMMON: vout: set default vout mode as HDMI always initialized
Change-Id: Id9adb4d3adbf95d61eb34ce9097a01738f54cb63 Signed-off-by: Dongjin Kim <tobetter@gmail.com>
This commit is contained in:
@@ -4257,6 +4257,9 @@ static void hdmitx_hpd_plugin_handler(struct work_struct *work)
|
||||
info = hdmitx_get_current_vinfo();
|
||||
if (info && (info->mode == VMODE_HDMI))
|
||||
hdmitx_set_audio(hdev, &(hdev->cur_audio_param));
|
||||
#if defined(CONFIG_ARCH_MESON64_ODROID_COMMON)
|
||||
set_disp_mode_auto();
|
||||
#endif
|
||||
hdev->hpd_state = 1;
|
||||
hdmitx_notify_hpd(hdev->hpd_state);
|
||||
|
||||
|
||||
@@ -894,7 +894,16 @@ static int refresh_tvout_mode(void)
|
||||
if (tvout_monitor_flag == 0)
|
||||
return 0;
|
||||
|
||||
#if defined(CONFIG_ARCH_MESON64_ODROID_COMMON)
|
||||
/*
|
||||
* vout mode is treated as HDMI always initialized
|
||||
* even though HDMI cable is detached.
|
||||
* TODO : except cvbs cable is plugged in.
|
||||
*/
|
||||
hpd_state = 1;
|
||||
#else
|
||||
hpd_state = vout_get_hpd_state();
|
||||
#endif
|
||||
if (hpd_state) {
|
||||
/* Vout will check the checksum of EDID of uboot and kernel.
|
||||
* If checksum is different. Vout will set null to display/mode.
|
||||
|
||||
Reference in New Issue
Block a user