[Bug 90112] [BSW Bisected] lightsmark performance decreased by 15%-20%
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Apr 21 01:10:34 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90112
--- Comment #7 from Chris Wilson <chris at chris-wilson.co.uk> ---
(In reply to Chris Wilson from comment #6)
> Created attachment 115243 [details] [review]
> Use coarse throttling first
>
> This patch should work around the change in behaviour for very, very slow
> render clients. But it would be more interesting to measure the impact of
> the libdrm patch first.
Also requires
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c
b/src/mesa/drivers/dri/i965/intel_screen.c
index 5a9207a..4dc54e5 100644
--- a/src/mesa/drivers/dri/i965/intel_screen.c
+++ b/src/mesa/drivers/dri/i965/intel_screen.c
@@ -174,8 +174,10 @@ intel_dri2_flush_with_flags(__DRIcontext *cPriv,
if (flags & __DRI2_FLUSH_DRAWABLE)
intel_resolve_for_dri2_flush(brw, dPriv);
- if (reason == __DRI2_THROTTLE_SWAPBUFFER)
+ if (reason == __DRI2_THROTTLE_SWAPBUFFER) {
+ brw->need_flush_throttle = true;
brw->need_swap_throttle = true;
+ }
if (reason == __DRI2_THROTTLE_FLUSHFRONT)
brw->need_flush_throttle = true;
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20150421/dd677771/attachment.html>
More information about the intel-gfx-bugs
mailing list