<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - amdgpu.dc=1 shows performance issues with Xorg compositors when moving windows"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106175#c65">Comment # 65</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - amdgpu.dc=1 shows performance issues with Xorg compositors when moving windows"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106175">bug 106175</a>
              from <span class="vcard"><a class="email" href="mailto:bmilreu@gmail.com" title="bmilreu@gmail.com">bmilreu@gmail.com</a>
</span></b>
        <pre>(In reply to Nicholas Kazlauskas from <a href="show_bug.cgi?id=106175#c64">comment #64</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=142574" name="attach_142574" title="0001-drm-amd-display-Add-fast-path-for-legacy-cursor-plan.patch">attachment 142574</a> <a href="attachment.cgi?id=142574&action=edit" title="0001-drm-amd-display-Add-fast-path-for-legacy-cursor-plan.patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=106175&attachment=142574'>[review]</a> [review]
> 0001-drm-amd-display-Add-fast-path-for-legacy-cursor-plan.patch

> This patch is similar to the async_update one but it takes care to lock if
> anything is modifying the plane. It's very close to what i915 does with a
> few minor differences with framebuffer handling.

> I've tested it for compton with Gallium HUD up and I no longer see the issue
> on mouse movement (cursor fb changes are still a bit slow, so you'll still
> probably see spikes on cursor changes).

> You can try this on top of amd-staging-drm-next and I'd imagine it'd fix
> your problems.</span >

Patch does work for me.

Is there an easy way to backport this to 4.19 mainline? Would be very useful to
integrate the fix into stable kernels.

As it is currently it wont work on 4.19 because it uses <drm/drm_atomic_uapi.h>
which isnt mainlined yet. Brandon's hack works on 4.19 just in case it matters.

Last question, is this patch <a href="https://patchwork.freedesktop.org/patch/263412/">https://patchwork.freedesktop.org/patch/263412/</a>
you just submitted related to this issue? 

Thanks a LOT for tackling this Nicholas and Brandon</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>