]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: Fix guest fail to read EDID leading to black guest console issue.
authorXu Han <xu.han@intel.com>
Tue, 21 Mar 2017 02:00:59 +0000 (10:00 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 21 Mar 2017 02:50:02 +0000 (10:50 +0800)
commit44ab2e4a466e6b0099342f5374e7ed5b9c85f78b
tree2859ce204875e6a087e43cfcaa7b745522f4b609
parent9353c0fd30ec2f28f8102949c6a13e07e20fe58f
drm/i915/gvt: Fix guest fail to read EDID leading to black guest console issue.

It appears missing slaves on the i2c should cause 0xff to be returned
rather than 0. So, when the Windows driver tried to address a slave
at 0x40 and got 0’s back rather than 0xff’s it must have confused it.

Signed-off-by: Paul Durrant <Paul.Durrant@citrix.com>
Signed-off-by: Xu Han <xu.han@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/edid.c