]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: enable semaphores on gen6 if dmar is not active
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 2 Apr 2012 18:48:43 +0000 (20:48 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 May 2012 08:34:39 +0000 (10:34 +0200)
commit23c01a0f3f7f576235dd70f702bf18f6f0c3e34d
tree378191f1b7ae44ac1d896c3a50226650aaca21ee
parent424dfc986117f1346ab5d7c3f64b34216a47f21f
drm/i915: enable semaphores on gen6 if dmar is not active

Inspired by the recent ppgtt regression report, where switching of
dmar only for the gpu seems to fix things completely, I've looked
again at the semaphores+vt-d situation.

Contrary to my earlier testing a few months back my system is now
stable with dmar disabled for the igd, and not only when disabling
dmar completely.

So I'm rather hopeful that all our recent fixes for snb have changed
things for code and it's time to try enabling semaphores again. We've
also had issues with enabling semaphores which are not vt-d related,
but I guess these are all fixed by the autoreport-disabling and lazy
request fix. And there's only one way to find out whether there are
still other issues ...

When I've tried to apply this patch I've noticed that semaphores on
gen6 have already silently been enabled in

commit 04174d8355d08a7f836eadf96965f4f5aae0d635
Author: Ben Widawsky <ben@bwidawsk.net>
Date:   Thu Apr 5 14:47:36 2012 -0700

    drm/i915: use semaphores for the display plane

Fix this up by only checking whether dmar is enabled on the gfx (not
on the entire system).

Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c