]> git.cworth.org Git - cworth.org/blobdiff - src/exa/i965/synchronous_composite.mdwn
Convert prefix directives to new syntax.
[cworth.org] / src / exa / i965 / synchronous_composite.mdwn
index 6f2684015c3ce2104eeb5e3bd7b48caed8716821..9c55f739ce8037b51b7911c052b4ae1c0fe0cf6a 100644 (file)
@@ -1,6 +1,6 @@
-[[meta title="Synchronous compositing in the i965 driver"]]
+[[!meta title="Synchronous compositing in the i965 driver"]]
 
-[[tag exa performance xorg]]
+[[!tag exa performance xorg]]
 
 A couple of weeks ago I aired [[my_confusion|avoiding_rmw]] about a
 situation in which using EXA with an i965 card was 4 times slower than
@@ -66,7 +66,7 @@ following for me.
             <li class="vmlinux" style="width:16%;">vmlinux <span>16%</span></li>
             <li class="libxul" style="width:11%;">libxul <span>11%</span></li>
             <li class="libexa" style="width:6%;"><a href="http://cworth.org/exa/i965/synchronous_composite/EXA/libexa.oprofile">libexa</a> <span>6%</span></li>
-            <li class="pixman" style="width:5%;"><a href="http://cworth.org/exa/i965/synchronous_composite/EXA/libexa.oprofile">pixman </a><span>5%</span></li>
+            <li class="pixman" style="width:5%;"><a href="http://cworth.org/exa/i965/synchronous_composite/EXA/pixman.oprofile">pixman </a><span>5%</span></li>
             <li class="Xorg" style="width:4%;"><a href="http://cworth.org/exa/i965/synchronous_composite/EXA/X.oprofile">Xorg</a> <span>4%</span></li>
            <li class="other" style="width:9%">other <span>9%</span></li>
         </ul>
@@ -103,7 +103,7 @@ software fallbacks at all. Here's what I got:
             <li class="intel_drv" style="width:22%;"><a href="http://cworth.org/exa/i965/synchronous_composite/EXA-no-fallbacks/intel_drv.oprofile">intel_drv </a><span>22%</span></li>
             <li class="libc" style="width:16%;"><a href="http://cworth.org/exa/i965/synchronous_composite/EXA-no-fallbacks/libc.oprofile">libc </a><span>16%</span></li>
             <li class="libxul" style="width:13%;">libxul <span>13%</span></li>
-            <li class="pixman" style="width:9%;"><a href="http://cworth.org/exa/i965/synchronous_composite/EXA-no-fallbacks/libexa.oprofile">pixman </a><span>9%</span></li>
+            <li class="pixman" style="width:9%;"><a href="http://cworth.org/exa/i965/synchronous_composite/EXA-no-fallbacks/pixman.oprofile">pixman </a><span>9%</span></li>
             <li class="libexa" style="width:4%;"><a href="http://cworth.org/exa/i965/synchronous_composite/EXA-no-fallbacks/libexa.oprofile">libexa </a><span>4%</span></li>
             <li class="Xorg" style="width:4%;"><a href="http://cworth.org/exa/i965/synchronous_composite/EXA-no-fallbacks/X.oprofile">Xorg </a><span>4%</span></li>
            <li class="other" style="width:9%">other <span>9%</span></li>
@@ -132,7 +132,7 @@ So, now take a look at the performance with this patch attached:
             <li class="intel_drv" style="width:49%;"><a href="http://cworth.org/exa/i965/synchronous_composite/EXA-no-gettimeofday/intel_drv.oprofile">intel_drv </a><span>49%</span></li>
             <li class="libxul" style="width:16%;">libxul <span>16%</span></li>
             <li class="libc" style="width:10%;"><a href="http://cworth.org/exa/i965/synchronous_composite/EXA-no-gettimeofday/libc.oprofile">libc </a><span>10%</span></li>
-            <li class="pixman" style="width:7%;"><a href="http://cworth.org/exa/i965/synchronous_composite/EXA-no-gettimeofday/libexa.oprofile">pixman </a><span>7%</span></li>
+            <li class="pixman" style="width:7%;"><a href="http://cworth.org/exa/i965/synchronous_composite/EXA-no-gettimeofday/pixman.oprofile">pixman </a><span>7%</span></li>
             <li class="libexa" style="width:4%;"><a href="http://cworth.org/exa/i965/synchronous_composite/EXA-no-gettimeofday/libexa.oprofile">libexa </a><span>4%</span></li>
             <li class="Xorg" style="width:2%;"><a href="http://cworth.org/exa/i965/synchronous_composite/EXA-no-gettimeofday/X.oprofile">Xorg </a><span>2%</span></li>
             <li class="vmlinux" style="width:2%;">vmlinux <span>2%</span></li>
@@ -150,9 +150,9 @@ saved from libc and the kernel.
 
 What's going on here? What's happening is that the driver is spending
 an awful lot of time busy-waiting, and all we did here was to help it
-busy-wait even faster. Now, we know that aren't any software fallbacks
-happening here, so what's all the waiting about? It appears to be
-caused primarily by `i965_prepare_composite` which includes the
+busy-wait even faster. Now, we know that there aren't any software
+fallbacks happening here, so what's all the waiting about? It appears
+to be caused primarily by `i965_prepare_composite` which includes the
 following comment and code:
 
     /* Because we only have a single static buffer for our state currently,