[Bug 91513] [IVB/HSW/BDW/SKL Bisected] Lightsmark performance reduced by 7%-10%
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jul 31 14:28:12 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=91513
Matt Turner <mattst88 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mattst88 at gmail.com
--- Comment #2 from Matt Turner <mattst88 at gmail.com> ---
Created attachment 117475
--> https://bugs.freedesktop.org/attachment.cgi?id=117475&action=edit
untested patch
I see one problem:
- switch (requested) {
- case INTEL_MIPTREE_TILING_ANY:
+ switch (layout_flags & MIPTREE_LAYOUT_ALLOC_ANY_TILED) {
+ case MIPTREE_LAYOUT_ALLOC_ANY_TILED:
break;
- case INTEL_MIPTREE_TILING_Y:
+ case MIPTREE_LAYOUT_ALLOC_YTILED:
return I915_TILING_Y;
- case INTEL_MIPTREE_TILING_NONE:
+ case MIPTREE_LAYOUT_ALLOC_LINEAR:
return I915_TILING_NONE;
}
but we have
+ MIPTREE_LAYOUT_ALLOC_YTILED = 1 << 5,
+ MIPTREE_LAYOUT_ALLOC_XTILED = 1 << 6,
+ MIPTREE_LAYOUT_ALLOC_LINEAR = 1 << 7,
};
+#define MIPTREE_LAYOUT_ALLOC_ANY_TILED (MIPTREE_LAYOUT_ALLOC_YTILED | \
+ MIPTREE_LAYOUT_ALLOC_XTILED)
the third case (MIPTREE_LAYOUT_ALLOC_LINEAR) in the switch is now impossible to
reach. I think it is supposed to be "case 0:". Please test the (untested)
attached patch.
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150731/977c3d80/attachment.html>
More information about the intel-3d-bugs
mailing list