commit | b65a9b98218fe1e3ae1ad2c240c39179f1dd1b9a | [log] [tgz] |
---|---|---|
author | Matthew Auld <matthew.auld@intel.com> | Mon Dec 18 10:38:55 2017 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Mon Dec 18 11:53:29 2017 +0000 |
tree | 2d9de1643284094e7e3bf3292039c26c307d0bf9 | |
parent | a31d73c3a7218539bc25fc298ac6cd5b66d96b86 [diff] |
drm/i915: prefer i915_gem_object_has_pages() We have an existing helper for testing obj->mm.pages, so use it. Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20171218103855.25274-1-matthew.auld@intel.com Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>