Re: [PATCH] drm/i915: Only initialize partially filled pagetables

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

 



On 8 September 2017 at 19:16, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
> If we know that we will completely fill a pagetable (i.e. we are
> inserting a complete set of 512 pages), we can skip prefilling that PT
> with scratch entries. If we have to abort the insertion prior to writing
> the real entries, we will teardown the pagetable and remove it from the
> page directory (so that we will restart the allocation next time).
>
> We could do similar tricks for the PD and PDP, but the likelihood of a
> single insertion covering the entire 512 entries diminishes, as do the
> cycle savings. The saving are even greater (relatively) when we are
> preallocating page tables for huge pages, as then we never need to fill
> the page table.
>
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> Cc: Matthew Auld <matthew.auld@xxxxxxxxx>
> Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>
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]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux