[Intel-gfx] [PATCH 2/3] drm/i915/gvt: Drop redundant prepare_write/pin_pages

Matthew Auld matthew.william.auld at gmail.com
Fri Jun 19 19:44:29 UTC 2020


On Fri, 19 Jun 2020 at 15:31, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> Since gvt calls pin_map for the shadow batch buffer, this makes the
> action of prepare_write [+pin_pages] redundant. We can write into the
> obj->mm.mapping directory and the flush_map routine knows when it has to
> flush the cpu cache afterwards.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list