Chris Wilson
d0a57789d5
drm/i915: Only insert the mb() before updating the fence parameter
...
With a fence, we only need to insert a memory barrier around the actual
fence alteration for CPU accesses through the GTT. Performing the
barrier in flush-fence was inserting unnecessary and expensive barriers
for never fenced objects.
Note removing the barriers from flush-fence, which was effectively a
barrier before every direct access through the GTT, revealed that we
where missing a barrier before the first access through the GTT. Lack of
that barrier was sufficient to cause GPU hangs.
v2: Add a couple more comments to explain the new barriers
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk >
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch >
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org >
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch >
2013-01-20 13:11:16 +01:00
..
2013-01-04 23:10:29 +01:00
2013-01-03 15:57:02 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:04 -08:00
2013-01-03 15:57:16 -08:00
2013-01-06 00:36:17 +01:00
2013-01-08 07:31:49 -08:00
2013-01-03 15:57:15 -08:00
2012-12-12 18:07:07 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2013-01-20 13:11:12 +01:00
2013-01-08 18:53:56 -08:00
2013-01-03 15:57:15 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 13:11:19 +01:00
2013-01-03 13:11:06 +01:00
2013-01-03 15:57:02 -08:00
2013-01-03 15:57:16 -08:00
2013-01-08 18:53:56 -08:00
2013-01-09 08:43:56 -08:00
2012-12-13 12:00:02 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2013-01-20 13:11:16 +01:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2012-12-22 20:13:45 +01:00
2013-01-03 15:57:03 -08:00
2013-01-03 13:11:05 +01:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:15 -08:00
2013-01-04 10:30:11 -08:00
2013-01-03 15:57:14 -08:00
2012-12-11 14:08:47 -08:00
2012-12-14 14:42:53 -08:00
2013-01-03 15:57:02 -08:00
2013-01-02 17:58:41 -08:00
2012-12-18 15:19:06 +10:30
2013-01-03 15:57:14 -08:00
2012-12-21 17:08:06 -08:00
2013-01-03 15:57:02 -08:00
2013-01-03 15:57:14 -08:00
2013-01-03 15:57:14 -08:00
2013-01-03 15:57:14 -08:00
2012-12-21 17:10:29 -08:00
2013-01-03 15:57:14 -08:00
2013-01-03 15:57:03 -08:00
2013-01-07 19:51:19 -08:00
2013-01-03 15:57:16 -08:00
2012-12-19 10:58:53 +00:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:03 -08:00
2012-12-26 10:43:06 -07:00
2012-12-12 11:45:16 -08:00
2013-01-08 18:53:56 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 13:10:53 +01:00
2013-01-08 18:53:56 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2012-12-12 18:07:07 -08:00
2012-12-19 08:19:07 -08:00
2012-12-11 13:13:55 -08:00
2013-01-03 15:57:04 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2013-01-04 16:11:48 -08:00
2012-12-13 14:20:19 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2012-12-19 15:11:41 +00:00
2013-01-08 07:31:49 -08:00
2013-01-08 14:41:53 +10:00
2012-12-15 14:25:10 -08:00
2013-01-03 15:57:02 -08:00
2012-12-16 11:28:10 -08:00
2012-12-12 12:05:15 -08:00
2013-01-03 15:57:02 -08:00
2012-12-07 13:43:51 -07:00
2012-12-15 14:25:10 -08:00
2013-01-08 18:53:56 -08:00
2012-12-18 09:58:09 -08:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2013-01-02 12:07:05 +01:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00