diff options
author | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | 2016-04-07 11:08:03 +0300 |
---|---|---|
committer | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | 2016-04-07 14:49:42 +0300 |
commit | e5716f55753cdce9f6348e5778847e772af6c917 (patch) | |
tree | e3a67e6549b78f09aced77a465f2472f2326eb39 /drivers/gpu/drm/i915/intel_pm.c | |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
0 files changed, 0 insertions, 0 deletions