i965: Add an end-of-pipe sync helper
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 20 Jan 2017 11:17:39 +0000 (13:17 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 14 Jun 2017 22:11:22 +0000 (15:11 -0700)
commit7b607aae3fea4c7a3022641115aa01a05b434448
tree3ec2c4eadfeda9d65d77bd92454f50a14b8cccb8
parentb771d9a136715fdf8ba0b478380e19b63f1e491b
i965: Add an end-of-pipe sync helper

v2 (Jason Ekstrand):
 - Take a flags parameter to control the flushes
 - Refactoring

Cc: "17.1" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_pipe_control.c