]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't unconditionally try to deref aliasing ppgtt
authorBen Widawsky <benjamin.widawsky@intel.com>
Fri, 6 Dec 2013 22:10:48 +0000 (14:10 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Dec 2013 14:27:44 +0000 (15:27 +0100)
commitea5d541a45b009b963dfd44e1fdda4cb57bda3cc
treec29f76a5eb0c715e8a50f14434ef298168ad784e
parent56aa9a963113e16e2e9b7fe9d9aff4f5dcd8227f
drm/i915: Don't unconditionally try to deref aliasing ppgtt

Since the beginning, the functions which try to properly reference the
aliasing PPGTT have deferences a potentially null aliasing_ppgtt member.
Since the accessors are meant to be global, this will not do.

Introduced originally in:
commit cf82f609f2f71ba6ef13dd4eb0d4c469a2b44385
Author: Ben Widawsky <ben@bwidawsk.net>
Date:   Wed Jul 31 16:59:56 2013 -0700

    drm/i915: Make proper functions for VMs

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c