commit | b91b09eea7a15ab417aa9ed6502b3be12f5283f8 | [log] [tgz] |
---|---|---|
author | Matthew Auld <matthew.auld@intel.com> | Fri Oct 06 23:18:17 2017 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Sat Oct 07 10:11:45 2017 +0100 |
tree | a17eb01a664bca3e248231843c000e08be02e869 | |
parent | 2a9654b2cdd8f9ef51b91dfd4448973a47284825 [diff] |
drm/i915: push set_pages down to the callers Each backend is now responsible for calling __i915_gem_object_set_pages upon successfully gathering its backing storage. This eliminates the inconsistency between the async and sync paths, which stands out even more when we start throwing around an sg_mask in a later patch. Suggested-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20171006145041.21673-6-matthew.auld@intel.com Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20171006221833.32439-5-chris@chris-wilson.co.uk