intel/blorp/gen12: Set FWCC when storing the clear color.
authorRafael Antognolli <rafael.antognolli@intel.com>
Wed, 24 Apr 2019 20:05:20 +0000 (13:05 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Mon, 28 Oct 2019 17:47:05 +0000 (10:47 -0700)
commit43b48ee752eb733c7d3c4e3146c5ba1bdcec42a7
tree833e16c3f36443ad268b4a5479a6d9311ce90eda
parent07e16221d975bbc286e89bffadf60f36afcddb7f
intel/blorp/gen12: Set FWCC when storing the clear color.

From "Render Target Fast Clear" description for Gen12:

   "SW must store clear color using MI_STORE_DATA_IMM with
   ForceWriteCompletionCheck bit set."

From Instruction_MI_STORE_DATA_IMM, bitfield 10 (when set to 1):

   "Following the last write from this command, Command Streamer
   will wait for all previous writes are completed and in global
   observable domain before moving to next command."

We use 4 SDIs to store the clear color (one per channel). From the
description, it looks to me that setting that flag only on the last SDI
should be enough.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/intel/blorp/blorp_genX_exec.h
src/intel/genxml/gen12.xml