diff options
author | Imre Deak <imre.deak@intel.com> | 2018-04-16 18:53:09 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2018-04-18 16:33:14 +0300 |
commit | 7eb2c4dd54ff841f2fe509a84973eb25fa20bda2 (patch) | |
tree | 88df30ed3cdb70891385db05728ca510a25fa8a4 /drivers/sn | |
parent | b8e47d87be65aec931846ced9a34a22d2021c311 (diff) |
drm/i915: Fix LSPCON TMDS output buffer enabling from low-power statedrm-misc-fixes-2018-04-18-1drm-misc-fixes-2018-04-18
LSPCON adapters in low-power state may ignore the first I2C write during
TMDS output buffer enabling, resulting in a blank screen even with an
otherwise enabled pipe. Fix this by reading back and validating the
written value a few times.
The problem was noticed on GLK machines with an onboard LSPCON adapter
after entering/exiting DC5 power state. Doing an I2C read of the adapter
ID as the first transaction - instead of the I2C write to enable the
TMDS buffers - returns the correct value. Based on this we assume that
the transaction itself is sent properly, it's only the adapter that is
not ready for some reason to accept this first write after waking from
low-power state. In my case the second I2C write attempt always
succeeded.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105854
Cc: Clinton Taylor <clinton.a.taylor@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180416155309.11100-1-imre.deak@intel.com
Diffstat (limited to 'drivers/sn')
0 files changed, 0 insertions, 0 deletions