commit | 8aac2220cc949accfdaae6161242c95f072da5ac | [log] [tgz] |
---|---|---|
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Thu Apr 21 13:04:45 2016 +0100 |
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Mon Apr 25 12:34:51 2016 +0100 |
tree | ef59bd152786bb9086e1181db0ca0fd65865d582 | |
parent | 598b9ec8eff264f29fbfef811d3e69da1eb38503 [diff] |
drm/i915: Simplify i915_gem_obj_ggtt_offset_view Can use the new vma->is_ggtt to simplify the check and remove the local variables. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Dave Gordon <david.s.gordon@intel.com>