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 <[email protected]>

[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 <[email protected]>


_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to