Matthew Auld b65a9b9821 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>
2017-12-18 11:53:29 +00:00
..
2017-11-11 11:23:15 +01:00
2017-11-15 20:42:10 -08:00
2017-11-15 20:42:10 -08:00
2017-11-15 20:42:10 -08:00
2017-11-15 20:42:10 -08:00
2017-12-06 15:51:23 +01:00
2017-12-06 15:51:37 +01:00
2017-11-02 11:10:37 -02:00
2017-11-23 12:31:49 +02:00
2017-11-15 20:42:10 -08:00