drm/msm/hdmi: Fix HDMI pink strip issue seen on 8x96
authorArchit Taneja <architt@codeaurora.org>
Fri, 16 Jun 2017 05:09:36 +0000 (10:39 +0530)
committerRob Clark <robdclark@gmail.com>
Fri, 16 Jun 2017 15:16:09 +0000 (11:16 -0400)
commit816fa34c051492c7f115ad2fd91c9e723d7fc298
tree690bd6a80f2f8e42806500f85ea282017d624edd
parentb474cbbb2bfd8d38f8bc36165567fe153d89fc9a
drm/msm/hdmi: Fix HDMI pink strip issue seen on 8x96

A 2 pixel wide pink strip was observed on the left end of some HDMI
monitors configured in a HDMI mode.

It turned out that we were missing out on configuring AVI infoframes, and
unlike APQ8064, the 8x96 HDMI H/W seems to be sensitive to that.

Add configuration of AVI infoframes. While at it, make sure that
hdmi_audio_update is only called when we've detected that the monitor
supports HDMI.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/hdmi/hdmi_bridge.c