<div class="gmail_quote">On Fri, Oct 7, 2011 at 11:08, Jesse Barnes <span dir="ltr"><<a href="mailto:jbarnes@virtuousgeek.org">jbarnes@virtuousgeek.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, 6 Oct 2011 20:30:35 -0300<br>
Eugeni Dodonov <<a href="mailto:eugeni@dodonov.net">eugeni@dodonov.net</a>> wrote:<br>
<br>
> From: Eugeni Dodonov <<a href="mailto:eugeni.dodonov@intel.com">eugeni.dodonov@intel.com</a>><br>
><br>
> This allows to avoid talking to a non-existent bus repeatedly until we<br>
> finally timeout. The non-existent bus is signalled by -ENXIO error,<br>
> provided by i2c_algo_bit:bit_doAddress call.<br>
><br>
> As the advantage of such change, all the other routines which use<br>
> drm_get_edid would benefit for this timeout.<br>
><br>
> As the disadvantage comes the fact that I only tested it on Intel<br>
> cards, so I am not sure whether it would work on nouveau and radeon.<br>
><br>
> This change should potentially fix<br>
> <a href="https://bugs.freedesktop.org/show_bug.cgi?id=41059" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=41059</a><br>
<br>
</div>I think I like this, assuming i2c doesn't lie to us. But won't we spam<br>
the log quite a bit? We do detection a lot because userspace often<br>
polls it and performs detection at app startup a lot.<br></blockquote><div><br>This extra logging is there just for making it easy to see when the outputs come and go. For the final version, we could use a KERN_DEBUG instead.<br clear="all">
</div></div><br>-- <br>Eugeni Dodonov<a href="http://eugeni.dodonov.net/" target="_blank"><br></a><br>