i965/gen10: Implement WaForceRCPFEHangWorkaround
authorAnuj Phogat <anuj.phogat@gmail.com>
Mon, 11 Sep 2017 20:03:31 +0000 (13:03 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 3 Nov 2017 21:30:34 +0000 (14:30 -0700)
commitd3d0fe4572f62474b86ef3a68405046c68b54062
treec0d5fb5b15db2865fe52ede250a6f5c1eb1ecf08
parent3cf4fe22199a39bde3d290e343612349866a93f9
i965/gen10: Implement WaForceRCPFEHangWorkaround

This workaround doesn't fix any of the piglit hangs we've seen
on CNL. But it might be fixing something we haven't tested yet.

V2: Add the check for Post Sync Operation.
    Update the workaround comment.
    Use braces around if-else.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/mesa/drivers/dri/i965/brw_pipe_control.c