[Intel-gfx] [PATCH 1/2] drm/i915/gem: Single page objects are naturally contiguous

Matthew Auld matthew.william.auld at gmail.com
Thu Jan 2 10:15:52 UTC 2020


On Wed, 1 Jan 2020 at 22:08, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> Small objects that only occupy a single page are naturally contiguous,
> so mark them as such and allow them the special abilities that come with
> it.
>
> A more thorough treatment would extend i915_gem_object_pin_map() to
> support discontiguous lmem objects, following the example of
> ioremap_prot() and use get_vm_area() + remap_io_sg().
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Matthew Auld <matthew.auld at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list