drm/msm: clear deep color mode flags when updating modes
Currently, deep color mode flags are not being cleared across connect-disconnect of HDMI cable. This leads to stale information being present on the next successful connection. Clear the stale deep color mode flags before updating the modes during a connection event. Change-Id: I90d494a67dfb1c3fd464f1e1ffb24592bd712702 Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
This commit is contained in:
parent
a49bb61510
commit
a4d823ae08
1 changed files with 6 additions and 0 deletions
|
@ -549,6 +549,12 @@ int _sde_edid_update_modes(struct drm_connector *connector,
|
|||
{
|
||||
int rc = 0;
|
||||
struct sde_edid_ctrl *edid_ctrl = (struct sde_edid_ctrl *)(input);
|
||||
struct drm_display_info *disp_info;
|
||||
|
||||
disp_info = &connector->display_info;
|
||||
|
||||
if (disp_info)
|
||||
disp_info->edid_hdmi_dc_modes = 0;
|
||||
|
||||
SDE_EDID_DEBUG("%s +", __func__);
|
||||
if (edid_ctrl->edid) {
|
||||
|
|
Loading…
Add table
Reference in a new issue