commit | be062fa42738822b8b91351752ff89275e25b516 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Mar 17 19:46:48 2017 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Fri Mar 17 22:55:56 2017 +0000 |
tree | 00337fe19c9571cf13cb7f0c62fdeac4d35858c3 | |
parent | f3ddd2c14fdc08798a7fa2d32b39786585162f50 [diff] |
drm/i915: Initialise i915_gem_object_create_from_data() directly Use pagecache_write to avoid shmemfs clearing the pages prior to us immediately overwriting them with our data. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/20170317194648.12468-2-chris@chris-wilson.co.uk Reviewed-by: Matthew Auld <matthew.auld@intel.com>