intel/blorp: Add support for fast clear address.
authorRafael Antognolli <rafael.antognolli@intel.com>
Thu, 7 Dec 2017 16:47:38 +0000 (08:47 -0800)
committerRafael Antognolli <rafael.antognolli@intel.com>
Thu, 5 Apr 2018 14:42:45 +0000 (07:42 -0700)
commit188a473b9a198d1fb070e2635177a0fc689117b7
treeaac55972200fa0e7662b93d628bb89fa19d1bea1
parentb8f45cf967e1810c4e59b49b1ed1d955f01496a1
intel/blorp: Add support for fast clear address.

On gen10+, if surface->clear_color_addr is present, use it directly
intead of copying it to the surface state.

v4: Remove redundant #if clause for GEN <= 10 (Jason)
v5: Move flush after the reloc, and keep lower bits (Topi).

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/intel/blorp/blorp_genX_exec.h