<div dir="ltr">No problem to merge them, thank you.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 3, 2017 at 1:36 PM, Frediano Ziglio <span dir="ltr"><<a href="mailto:fziglio@redhat.com" target="_blank">fziglio@redhat.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="">><br>
> From: "<a href="mailto:yuri.benditovich@daynix.com">yuri.benditovich@daynix.com</a>" <<a href="mailto:yuri.benditovich@daynix.com">yuri.benditovich@daynix.com</a>><br>
><br>
> Default indication period (13-17ms) from the driver to OS<br>
> increases total CPU consumption during presentation operations.<br>
> Reducing indication frequency to 200 ms reduces cost of this<br>
> feature. Till now we do not see any negative impact of this.<br>
><br>
> Signed-off-by: Yuri Benditovich <<a href="mailto:yuri.benditovich@daynix.com">yuri.benditovich@daynix.com</a>><br>
<br>
</span>Till 7/12 I ack them.<br>
<br>
I have additional consideration/comments for the next ones.<br>
Can I merge till 7/12 or do you want to wait for all of them?<br>
<span class="HOEnZb"><font color="#888888"><br>
Frediano<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> ---<br>
>  qxldod/QxlDod.cpp | 6 ++++--<br>
>  1 file changed, 4 insertions(+), 2 deletions(-)<br>
><br>
> diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp<br>
> index 7341389..aa70f39 100755<br>
> --- a/qxldod/QxlDod.cpp<br>
> +++ b/qxldod/QxlDod.cpp<br>
> @@ -19,6 +19,7 @@<br>
>                            (QXL_INTERRUPT_CURSOR) | \<br>
>                            (QXL_INTERRUPT_IO_CMD))<br>
><br>
> +#define VSYNC_PERIOD    200 // ms, use 0 for auto<br>
>  #define VSYNC_RATE      75<br>
><br>
>  BOOLEAN g_bSupportVSync;<br>
> @@ -5006,8 +5007,9 @@ VOID QxlDod::EnableVsync(BOOLEAN bEnable)<br>
>          else<br>
>          {<br>
>              LARGE_INTEGER li;<br>
> -            LONG period = 1000 / VSYNC_RATE;<br>
> -            DbgPrint(TRACE_LEVEL_WARNING, ("Enabled VSync(fired %d)\n",<br>
> m_VsyncFiredCounter));<br>
> +            LONG period = VSYNC_PERIOD;<br>
> +            if (!period) period = 1000 / VSYNC_RATE;<br>
> +            DbgPrint(TRACE_LEVEL_WARNING, ("Enabled VSync %d ms(fired<br>
> %d)\n", period, m_VsyncFiredCounter));<br>
>              li.QuadPart = -10000000 / VSYNC_RATE;<br>
>              KeSetTimerEx(&m_VsyncTimer, li, period, &m_VsyncTimerDpc);<br>
>          }<br>
<br>
</div></div></blockquote></div><br></div>