commit | e5716f55753cdce9f6348e5778847e772af6c917 | [log] [tgz] |
---|---|---|
author | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | Thu Apr 07 11:08:03 2016 +0300 |
committer | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | Thu Apr 07 14:49:42 2016 +0300 |
tree | e3a67e6549b78f09aced77a465f2472f2326eb39 | |
parent | 281c114f8e80d3a86f18ccf7cb93460bad48fcbe [diff] |
drm/i915: Use i915_vm_to_ppgtt instead of manual container_of Looks much better without container_of everywhere. v2: - In i915_gem_restore_gtt_mappings too (Chris) v3: - Do not cause WARN by calling on non PPGTT object (Chris) Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>