Re: [PATCH 3/3] drm/i915/gt: Replace manual kmap_atomic() with pin_map for renderstate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 19 Jun 2020 at 15:31, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
>
> We only emit the renderstate once now during module load, it is no
> longer a concern that we are delaying context creation and so do not
> need to so eagerly optimise. Since the last time we have looked at the
> renderstate, we have a pin_map / flush_map facility that supports simple
> single mappings, replacing the open-coded kmap_atomic() and
> prepare_write. As it should be a single page, of which we only write a
> small portion, we stick to a simple WB [kmap] and use clflush on !llc
> platforms, rather than creating a temporary WC vmapping for the single
> page.
>
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux