[igt-dev] [PATCH i-g-t 2/3] tools/aubdump: Add bitmap to track gtt pages that have been mapped

Scott D Phillips scott.d.phillips at intel.com
Wed Mar 7 16:20:04 UTC 2018


Jordan Justen <jordan.l.justen at intel.com> writes:

> This will allow us to map ranges as they are used, but prevents
> remapping already mapped regions.
>
> By mapping ranges as they are used, we can support pinned pages
> without having to map all pages of the first 32-bits.
>
> v2:
>  * Make bitmap manipulation functions independent from 4k page size.
>    Maybe will be usable also for 1GB pages with PPGTT.
>
> Cc: Scott D Phillips <scott.d.phillips at intel.com>
> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>

lgtm
Reviewed-b: Scott D Phillips <scott.d.phillips at intel.com>


More information about the igt-dev mailing list