<div dir="ltr">I mean, if you're going to break the ABI for this, can we fix it so that we have one mode structure instead of three?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 8, 2015 at 4:56 PM, Keith Packard <span dir="ltr"><<a href="mailto:keithp@keithp.com" target="_blank">keithp@keithp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">"Jasper St. Pierre" <<a href="mailto:jstpierre@mecheye.net">jstpierre@mecheye.net</a>> writes:<br>
<br>
</span><span class="">> Fine by me. I actually stopped using vrefresh in my kernel driver and<br>
> instead started using drm_mode_vrefresh, so we can actually drop this<br>
> patch.<br>
<br>
</span>Oh, we should send the correct vrefresh value to the kernel; it's part<br>
of the API after all. Having an integer vrefresh value isn't all that<br>
useful anyways; we often end up with multiple<br>
similar-but-not-quite-the-same modes that differ by less than 1Hz in<br>
vrefresh.<br>
<br>
But, removing VRefresh from the X server and then sending a<br>
computed value to the kernel seems like a fine plan.<br>
<br>
For now, we need to retain ABI in X, so using your existing plan which<br>
computes the value to send to the kernel seems appropriate. That just<br>
needs to be fixed to round the value rather than truncate and I think<br>
we'll be set for 1.17 at least.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
-keith<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">  Jasper<br></div>
</div>