Skip to content
Commit be062fa4 authored by Chris Wilson's avatar Chris Wilson
Browse files

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: default avatarChris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170317194648.12468-2-chris@chris-wilson.co.uk
Reviewed-by: default avatarMatthew Auld <matthew.auld@intel.com>
parent f3ddd2c1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment