[Bug 94338] Kernel DRM/i915 init sends eDP panel into self-test loop
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Mar 1 15:59:56 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=94338
--- Comment #14 from Ville Syrjala <ville.syrjala at linux.intel.com> ---
Just for posterity, here's the tried and failed bare address hack I proposed
(In reply to infernix from comment #0)
> Tried with no effect: http://paste.debian.net/410285/
--- a/drivers/gpu/drm/drm_dp_helper.c
+++ b/drivers/gpu/drm/drm_dp_helper.c
@@ -688,22 +688,7 @@ static int drm_dp_i2c_xfer(struct i2c_adapter *adapter,
struct i2c_msg *msgs,
for (i = 0; i < num; i++) {
msg.address = msgs[i].addr;
drm_dp_i2c_msg_set_request(&msg, &msgs[i]);
- /* Send a bare address packet to start the transaction.
- * Zero sized messages specify an address only (bare
- * address) transaction.
- */
- msg.buffer = NULL;
- msg.size = 0;
- err = drm_dp_i2c_do_msg(aux, &msg);
- /*
- * Reset msg.request in case in case it got
- * changed into a WRITE_STATUS_UPDATE.
- */
- drm_dp_i2c_msg_set_request(&msg, &msgs[i]);
-
- if (err < 0)
- break;
/* We want each transaction to be as large as possible, but
* we'll go to smaller sizes if the hardware gives us a
* short reply.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160301/53a367d5/attachment.html>
More information about the intel-gfx-bugs
mailing list