<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [ILK] [sna gen 5] Delayed drawing of strings and characters."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84108">84108</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[ILK] [sna gen 5] Delayed drawing of strings and characters.
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hamer.mk@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=106568" name="attach_106568" title="Restoration of one hunk from fb51ec4">attachment 106568</a> <a href="attachment.cgi?id=106568&action=edit" title="Restoration of one hunk from fb51ec4">[details]</a></span>
Restoration of one hunk from fb51ec4

I have Lenovo ThinkPad X201 tablet with Intel Core i7 L-620 (Intel HD Graphics
gen 5).

Somewhere around version 2.99.912 of xf86-video-intel I got a strange bug: when
I scroll page in browser the refreshing of screen is delayed or when I type
text the symbols appear not after each one but after every second symbol.

I found that problem starts after commit:
commit fb51ec44f4b6069ab854233d5d0da34eb79f754c
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Date:   Mon Jun 23 09:07:13 2014 +0100

    sna: Rename IGNORE_CPU to IGNORE_DAMAGE to better reflect its purpose

    Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>

I found that if I restore only one hunk (4th hunk in file
«src/sna/sna_accel.c») from this commit the bug disappears. By this hunk the
one line in «src/sna/sna_accel.c» was changed but not just renamed:
from: (flags & REPLACES || !priv->gpu_damage.....
to: (flags & (REPLACES | IGNORE_DAMAGE) || !priv->gpu_damage.....

But according to <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - Damage tracking problems"
   href="show_bug.cgi?id=79993">bug #79993</a> this maybe not a root cause. But I don't know why
my patch works...

Please see video here: <a href="http://youtu.be/JjAScg4MZNk">http://youtu.be/JjAScg4MZNk</a>
On «test 1» and «test 2» I use clean driver from git and symbols printed with
delay.
On «test 3» and «test 4» I use attached patch and symbols printed normally.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>