From 7e616ae2014d78e8173fd4ade7a001b85ffd0a08 Mon Sep 17 00:00:00 2001 From: Rafael Antognolli Date: Mon, 7 Aug 2017 12:14:04 -0700 Subject: [PATCH] intel/genxml: Use a single field for clear color address on gen10. genxml does not support having two address fields with different names but same position in the state struct. Both "Clear Color Address" and "Clear Depth Address Low" mean the same thing, only for different surface types. To workaround this genxml limitation, rename "Clear Color Address" to "Clear Value Address" and use it for both color and depth. Do the same for the high bits. TODO: add support for multiple addresses at the same position in the xml. v2: Combine high and low order bits into a single address field. Signed-off-by: Rafael Antognolli Reviewed-by: Jason Ekstrand Reviewed-by: Jordan Justen --- src/intel/genxml/gen10.xml | 7 +++---- src/intel/genxml/gen11.xml | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/intel/genxml/gen10.xml b/src/intel/genxml/gen10.xml index 8c35d70e9d2..5aa518fb533 100644 --- a/src/intel/genxml/gen10.xml +++ b/src/intel/genxml/gen10.xml @@ -575,12 +575,11 @@ + + - - - - diff --git a/src/intel/genxml/gen11.xml b/src/intel/genxml/gen11.xml index 517f0beb93b..0cdd6dce0d6 100644 --- a/src/intel/genxml/gen11.xml +++ b/src/intel/genxml/gen11.xml @@ -576,13 +576,12 @@ + + - - - - -- 2.30.2