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)
commit671b50134ccd75a5dd1584e306a9316587371af3
treea29c1e0f2c87748627920affc9de54bd72be49bf
parent975d568adeba8e50fe0e526298ab4fdf8636e115
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