diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2015-11-12 14:59:55 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2015-11-12 17:16:40 +0300 |
commit | 1b683729e7ac3b003a03a1fd0803fd0fd3eb448d (patch) | |
tree | 1af88a5d3fdf318b349710b0a840b747abcc1ec5 /samples/livepatch | |
parent | af9b9c193184233d470bd71a0edc245feea34da4 (diff) | |
download | linux-1b683729e7ac3b003a03a1fd0803fd0fd3eb448d.tar.xz |
drm/i915: Remove redundant check in i915_gem_obj_to_vma
No need to verify VMA belongs to GGTT since:
1. The function must return a normal VMA belonging to passed in VM.
2. There can only be one normal VMA for any VM.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1447329595-17495-1-git-send-email-tvrtko.ursulin@linux.intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'samples/livepatch')
0 files changed, 0 insertions, 0 deletions