[Intel-gfx] [PATCH i-g-t] quick_dump: Expand the WM cursor registers

Damien Lespiau damien.lespiau at intel.com
Tue May 12 08:43:07 PDT 2015


The tool I used to generate that list doesn't support expanding the list
of registers when dealing with something like CUR_WM_A_*. Expand it by
hand for now (tm).

Remove CUR_PAL_${pipe}_* for the same reason (and because it's not very
useful to have).

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 tools/quick_dump/skl_display.txt | 30 ++++++++++++++++++++++++------
 1 file changed, 24 insertions(+), 6 deletions(-)

diff --git a/tools/quick_dump/skl_display.txt b/tools/quick_dump/skl_display.txt
index 37c7d99..d995e3a 100644
--- a/tools/quick_dump/skl_display.txt
+++ b/tools/quick_dump/skl_display.txt
@@ -88,10 +88,16 @@
 ('CUR_BASE_A', '0x70084', '')
 ('CUR_CTL_A', '0x70080', '')
 ('CUR_FBC_CTL_A', '0x700a0', '')
-('CUR_PAL_A_*', '0x70090', '')
 ('CUR_POS_A', '0x70088', '')
 ('CUR_SURFLIVE_A', '0x700ac', '')
-('CUR_WM_A_*', '0x70140', '')
+('CUR_WM_A_0', '0x70140', '')
+('CUR_WM_A_1', '0x70144', '')
+('CUR_WM_A_2', '0x70148', '')
+('CUR_WM_A_3', '0x7014c', '')
+('CUR_WM_A_4', '0x70150', '')
+('CUR_WM_A_5', '0x70154', '')
+('CUR_WM_A_6', '0x70158', '')
+('CUR_WM_A_7', '0x7015c', '')
 ('CUR_WM_TRANS_A', '0x70168', '')
 # PIPE_SCALER_A
 ('PS_CTRL_1_A', '0x68180', '')
@@ -184,10 +190,16 @@
 ('CUR_BASE_B', '0x71084', '')
 ('CUR_CTL_B', '0x71080', '')
 ('CUR_FBC_CTL_B', '0x710a0', '')
-('CUR_PAL_B_*', '0x71090', '')
 ('CUR_POS_B', '0x71088', '')
 ('CUR_SURFLIVE_B', '0x710ac', '')
-('CUR_WM_B_*', '0x71140', '')
+('CUR_WM_B_0', '0x71140', '')
+('CUR_WM_B_1', '0x71144', '')
+('CUR_WM_B_2', '0x71148', '')
+('CUR_WM_B_3', '0x7114c', '')
+('CUR_WM_B_4', '0x71150', '')
+('CUR_WM_B_5', '0x71154', '')
+('CUR_WM_B_6', '0x71158', '')
+('CUR_WM_B_7', '0x7115c', '')
 ('CUR_WM_TRANS_B', '0x71168', '')
 # PIPE_SCALER_B
 ('PS_CTRL_1_B', '0x68980', '')
@@ -281,10 +293,16 @@
 ('CUR_BASE_C', '0x72084', '')
 ('CUR_CTL_C', '0x72080', '')
 ('CUR_FBC_CTL_C', '0x720a0', '')
-('CUR_PAL_C_*', '0x72090', '')
 ('CUR_POS_C', '0x72088', '')
 ('CUR_SURFLIVE_C', '0x720ac', '')
-('CUR_WM_C_*', '0x72140', '')
+('CUR_WM_C_0', '0x72140', '')
+('CUR_WM_C_1', '0x72144', '')
+('CUR_WM_C_2', '0x72148', '')
+('CUR_WM_C_3', '0x7214c', '')
+('CUR_WM_C_4', '0x72150', '')
+('CUR_WM_C_5', '0x72154', '')
+('CUR_WM_C_6', '0x72158', '')
+('CUR_WM_C_7', '0x7215c', '')
 ('CUR_WM_TRANS_C', '0x72168', '')
 # PIPE_SCALER_C
 ('PS_CTRL_1_C', '0x69180', '')
-- 
2.1.0



More information about the Intel-gfx mailing list