drm/i915/bdw: Populate lrc with aliasing ppgtt if required
authorThomas Daniel <thomas.daniel@intel.com>
Tue, 19 Aug 2014 09:13:36 +0000 (10:13 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:03:56 +0000 (11:03 +0200)
commit2d96553613b861d62f28b3eb172f473ca10fea06
tree5b8ec5ae91f436bb4403d24fedb068a2102bce35
parentd84a0f3280c48fa28857de59a47e2fbf8753969f
drm/i915/bdw: Populate lrc with aliasing ppgtt if required

A previous commit broke aliasing PPGTT for lrc, resulting in a kernel oops
on boot. Add a check so that is full PPGTT is not in use the context is
populated with the aliasing PPGTT.

Issue: VIZ-4278
Signed-off-by: Thomas Daniel <thomas.daniel@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lrc.c