[Mesa-dev] [PATCH v3 10/14] i965/miptree: Allocate mcs_buf for an image's CCS
Chad Versace
chadversary at chromium.org
Fri Jul 14 22:42:47 UTC 2017
On Wed 12 Jul 2017, Jason Ekstrand wrote:
> From: Ben Widawsky <ben at bwidawsk.net>
>
> This code will disable actually creating these buffers for the scanout,
> but it puts the allocation in place.
>
> Primarily this patch is split out for review, it can be squashed in
> later if preferred.
>
> v2:
> assert(mt->offset == 0) in ccs creation (as requested by Topi)
> Remove bogus is_scanout check in miptree_release
>
> v3:
> Remove is_scanout assert in intel_miptree_create. It doesn't work with
> latest codebase - not sure it ever should have worked.
>
> v4:
> assert(mt->last_level == 0) and assert(mt->first_level == 0) in ccs setup
> (Topi)
>
> v5 (Jason Ekstrand):
> - Base the decision to allocate a CCS on the image modifier
>
> Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
> Acked-by: Daniel Stone <daniels at collabora.com>
> Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 102 ++++++++++++++++++++++++--
> 1 file changed, 95 insertions(+), 7 deletions(-)
LGTM
Reviewed-by: Chad Versace <chadversary at chromium.org>
More information about the mesa-dev
mailing list