[Intel-gfx] [PATCH 1/4] drm/i915/gtt: Store scratch page size alongside not in the common struct

Matthew Auld matthew.william.auld at gmail.com
Tue Mar 5 14:10:33 UTC 2019


On Tue, 5 Mar 2019 at 13:54, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> As the scratch page is the only one to be allocated with variable size,
> rather than keep an unused slot in all i915_page_table structs, store it
> alongside the vm->scratch_page.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Matthew Auld <matthew.auld at intel.com>
> Cc: Mika Kuoppala <mika.kuoppala at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list