]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/bdw: Do not initialize PPGTT in the legacy way for execlists
authorThomas Daniel <thomas.daniel@intel.com>
Wed, 20 Aug 2014 15:24:50 +0000 (16:24 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:04:13 +0000 (11:04 +0200)
commit067f0a440973804ae93f333cdbab1bde0285ceaa
treea29c1e0f2c87748627920affc9de54bd72be49bf
parent62f50ef497be2be9591613a55cea9a5b77967b79
drm/i915/bdw: Do not initialize PPGTT in the legacy way for execlists

A pending commit removes synchronous mode from switch_mm.  This breaks
execlists because switch_mm will always try to write to the legacy ring
buffer.

Return immediately from i915_ppgtt_init_gw in execlists mode.
No longer check for execlists mode in gen8_ppgtt_enable() because this
will no longer be called in execlists mode.

Signed-off-by: Thomas Daniel <thomas.daniel@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c