Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ccc05c24 authored by Jeevan Shriram's avatar Jeevan Shriram Committed by Stephen Boyd
Browse files

msm: HDMI: Re-initialize the scan details for every HPD



After disconnecting the phone from TV which doesn't support
underscan, and connected to TV which support underscan,
underscan is not working due to non re-initialization of
scan variables. Re-initialize the underscan variables for
every HDP events.

CRs-Fixed: 375862
Change-Id: I22b7b8785ec93f9cf226e9b646a851ffb3ceff62
Signed-off-by: default avatarJeevan Shriram <jshriram@codeaurora.org>
parent 3573d435
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1858,6 +1858,9 @@ int hdmi_common_read_edid(void)
	/* EDID_BLOCK_SIZE[0x80] Each page size in the EDID ROM */
	uint8 edid_buf[0x80 * 4];

	external_common_state->pt_scan_info = 0;
	external_common_state->it_scan_info = 0;
	external_common_state->ce_scan_info = 0;
	external_common_state->preferred_video_format = 0;
	external_common_state->present_3d = 0;
	memset(&external_common_state->disp_mode_list, 0,