Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71386ef9 authored by Oscar Mateo's avatar Oscar Mateo Committed by Daniel Vetter
Browse files

drm/i915/bdw: Disable semaphores for Execlists



Up until recently, semaphores weren't enabled in BDW so we didn't care
about them. But then Rodrigo came and enabled them:

   commit 521e62e4
   Author: Rodrigo Vivi <rodrigo.vivi@intel.com>

      drm/i915: Enable semaphores on BDW

So now we have to explicitly disable them for Execlists until both
features play nicely.

Signed-off-by: default avatarOscar Mateo <oscar.mateo@intel.com>
Reviewed-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent cc9130be
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -481,6 +481,10 @@ bool i915_semaphore_is_enabled(struct drm_device *dev)
	if (i915.semaphores >= 0)
	if (i915.semaphores >= 0)
		return i915.semaphores;
		return i915.semaphores;


	/* TODO: make semaphores and Execlists play nicely together */
	if (i915.enable_execlists)
		return false;

	/* Until we get further testing... */
	/* Until we get further testing... */
	if (IS_GEN8(dev))
	if (IS_GEN8(dev))
		return false;
		return false;