[Mesa-dev] [PATCH 00/13] Fix stencil texturing and BO caching bugs

Pohjolainen, Topi topi.pohjolainen at gmail.com
Fri Jul 6 12:36:01 UTC 2018


On Tue, Jun 12, 2018 at 12:21:52PM -0700, Nanley Chery wrote:
> This series fixes a couple stencil texturing bugs on HSW and
> cache-tracking for certain stencil BOs on all platforms.
> 
> Nanley Chery (13):
>   i965: Set the r8stencil flag in miptree_finish_write
>   i965/miptree: Set the r8stencil flag in map_depthstencil
>   i965/draw: Set the r8stencil flag after drawing
>   i965/draw: Fix adding the stencil bo to the depth cache
>   i965/miptree: Use make_surface in map_blit
>   i965/miptree: Delete MIPTREE_CREATE_LINEAR
>   i965/miptree: Share tiling_flags in miptree_create
>   i965/miptree: Share the miptree format in miptree_create
>   i965/miptree: Share alloc_flags in miptree_create

I'm not sure if this maintains the BO_ALLOC_BUSY.

>   i965/miptree: Add and use mt_surf_usage
>   i965/miptree: Refactor miptree_create
>   i965/miptree: Create the r8stencil_mt immediately
>   i965/miptree: Inline make_separate_stencil

Same here. Otherwise the series is:

Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

> 
>  src/mesa/drivers/dri/i965/brw_blorp.c         |   6 +-
>  src/mesa/drivers/dri/i965/brw_clear.c         |   8 -
>  src/mesa/drivers/dri/i965/brw_draw.c          |  14 +-
>  src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 211 ++++++++----------
>  src/mesa/drivers/dri/i965/intel_mipmap_tree.h |   5 +-
>  src/mesa/drivers/dri/i965/intel_tex_image.c   |   3 -
>  6 files changed, 103 insertions(+), 144 deletions(-)
> 
> -- 
> 2.17.0
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list