On 06/03/2019 14:25, Chris Wilson wrote:
Split the plain old shmem object into its own file to start decluttering i915_gem.c Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
[snip]
+ +const struct drm_i915_gem_object_ops i915_gem_shmem_ops = { + .flags = I915_GEM_OBJECT_HAS_STRUCT_PAGE | + I915_GEM_OBJECT_IS_SHRINKABLE, + + .get_pages = shmem_get_pages_gtt, + .put_pages = shmem_put_pages_gtt, + + .pwrite = shmem_pwrite_gtt,
I never really understood the _gtt thing here...maybe because of the prepare_gtt?
Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx> _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx