From 6cc21d7caded2800810a4e11d4c00aaa1cf47aa4 Mon Sep 17 00:00:00 2001 From: Ville Syrjälä Date: Wed, 14 Mar 2018 18:54:05 +0200 Subject: lib/rendercopy: Add enough surface state for AUX_CCS_E MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Populate the gen8+ SURFACE_STATE aux bits correctly. Signed-off-by: Ville Syrjälä Reviewed-by: Chris Wilson --- lib/gen8_render.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'lib/gen8_render.h') diff --git a/lib/gen8_render.h b/lib/gen8_render.h index 048e667c..470dca0f 100644 --- a/lib/gen8_render.h +++ b/lib/gen8_render.h @@ -131,7 +131,11 @@ struct gen8_surface_state } ss5; struct { - uint32_t pad; /* Multisample Control Surface stuff */ + uint32_t aux_mode:3; + uint32_t aux_pitch:9; + uint32_t pad0:4; + uint32_t aux_qpitch:15; + uint32_t pad1:1; } ss6; struct { @@ -159,13 +163,11 @@ struct gen8_surface_state } ss9; struct { - uint32_t pad0:12; - uint32_t aux_base_addr:20; + uint32_t aux_base_addr; } ss10; struct { - uint32_t aux_base_addr_hi:16; - uint32_t pad:16; + uint32_t aux_base_addr_hi; } ss11; struct { -- cgit v1.2.3