commit | 841cd7737557785c0f215b0984c06aaaaa882302 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Aug 06 15:04:48 2014 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Aug 13 14:23:29 2014 +0200 |
tree | a58dca612ff402b33b63b678e7ebb841ea731b29 | |
parent | 4d884705dababd7d0f3f12796bc7b45e84962596 [diff] |
drm/i915: Only refcount ppgtt if it actually is one This essentially unbreaks non-ppgtt operation where we'd scribble over random memory. While at it give the vm_to_ppgtt function a proper prefix and make it a bit more paranoid. Reviewed-by: Michel Thierry <michel.thierry@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>