[Mesa-dev] [PATCH] i965: Make BLORP disable the NP Z PMA stall fix.
Jason Ekstrand
jason at jlekstrand.net
Sun Jan 15 00:36:07 UTC 2017
I thought I'd fixed this already... In any case
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
you should probably cc stable
On Sat, Jan 14, 2017 at 4:23 PM, Kenneth Graunke <kenneth at whitecape.org>
wrote:
> This may fix GPU hangs on Gen8. I don't know if it does though.
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
> src/mesa/drivers/dri/i965/genX_blorp_exec.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/genX_blorp_exec.c
> b/src/mesa/drivers/dri/i965/genX_blorp_exec.c
> index 40a2499e08f..bb1dfa98063 100644
> --- a/src/mesa/drivers/dri/i965/genX_blorp_exec.c
> +++ b/src/mesa/drivers/dri/i965/genX_blorp_exec.c
> @@ -206,6 +206,10 @@ retry:
>
> brw_emit_depth_stall_flushes(brw);
>
> +#if GEN_GEN == 8
> + gen8_write_pma_stall_bits(brw, 0);
> +#endif
> +
> blorp_emit(batch, GENX(3DSTATE_DRAWING_RECTANGLE), rect) {
> rect.ClippedDrawingRectangleXMax = MAX2(params->x1, params->x0) -
> 1;
> rect.ClippedDrawingRectangleYMax = MAX2(params->y1, params->y0) -
> 1;
> --
> 2.11.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170114/96c13469/attachment.html>
More information about the mesa-dev
mailing list