i965: require pixel scoreboard stall prior to ISP disable
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 1 May 2018 11:32:45 +0000 (12:32 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 9 May 2018 19:11:51 +0000 (20:11 +0100)
commitf536097f67521180dafd270b28ac9a852af9c141
treeb3a15f68b7453517d15a5e523b84ff3d34f41e45
parent561348caa14a849dd50ed1df1d8f7abba7de66f7
i965: require pixel scoreboard stall prior to ISP disable

Invalidating the indirect state pointers might affect a previously
scheduled & still running 3DPRIMITIVE (causing page fault). So stall
on pixel scoreboard before that.

v2: Fix compile issue :(

v3: Stall on pixel scoreboard

v4: Drop the post sync operation (Lionel)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Fixes: ca19ee33d7d39 ("i965/gen10: Ignore push constant packets during context restore.")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106243
src/mesa/drivers/dri/i965/brw_pipe_control.c