sna: Use VMask in 3DSTATE_PS
PATCH 1/1 sna: Use VMask in 3DSTATE_PS
Using dispatch mask cause hangs waiting PS Done on some cases like bug #83207, with larger screen or when scaling it.
Also mesa uses VMask instead of Dmask for 3DSTATE_PS because in some cases they were getting incorrect derivatives for subspans.
Reference: https://bugs.freedesktop.org/show_bug.cgi?id=83207
--- src/sna/gen8_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/sna/gen8_render.c +1 -1
@@ -954,7 +954,7 @@ gen8_emit_wm(struct sna *sna, int kernel)OUT_BATCH (GEN8_3DSTATE_PS | (12 -2 ));OUT_BATCH64 (kernels[0 ] ?: kernels[1 ] ?: kernels[2 ]);OUT_BATCH (1 <<PS_SAMPLER_COUNT_SHIFT | -//PS_VECTOR_MASK_ENABLE | +PS_VECTOR_MASK_ENABLE | wm_kernels[kernel].num_surfaces <<PS_BINDING_TABLE_ENTRY_COUNT_SHIFT );OUT_BATCH64 (0 );/* scratch address */ OUT_BATCH(PS_MAX_THREADS |
Signature · 6 lines
1.9.3 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 10 lines · Rodrigo Vivi
Using dispatch mask cause hangs waiting PS Done on some cases like bug #83207, with larger screen or when scaling it.
Also mesa uses VMask instead of Dmask for 3DSTATE_PS because in some cases they were getting incorrect derivatives for subspans.
Reference: https://bugs.freedesktop.org/show_bug.cgi?id=83207
Cc Timo Aaltonen <[email protected]>Cc Gary Wang <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>
works great, thanks!
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 7 lines · Timo Aaltonen
Quoted 6 lines · Rodrigo Vivi
Using dispatch mask cause hangs waiting PS Done on some cases like bug #83207, with larger screen or when scaling it.
Also mesa uses VMask instead of Dmask for 3DSTATE_PS because in some cases they were getting incorrect derivatives for subspans.
Quoted 8 lines
Quoted 4 lines
Reference: https://bugs.freedesktop.org/show_bug.cgi?id=83207
Cc Timo Aaltonen <[email protected]>Cc Gary Wang <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>works great, thanks!
Tested-by Timo Aaltonen <[email protected]>
Thanks for finding that and testing,
Pushed.
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx