1# CLOCKS 2('DPLL_STATUS', '0x6c060', '') 3('DPLL1_CFGCR1', '0x6c040', '') 4('DPLL2_CFGCR1', '0x6c048', '') 5('DPLL3_CFGCR1', '0x6c050', '') 6('DPLL1_CFGCR2', '0x6c044', '') 7('DPLL2_CFGCR2', '0x6c04c', '') 8('DPLL3_CFGCR2', '0x6c054', '') 9('DPLL_CTRL1', '0x6c058', '') 10('DPLL_CTRL2', '0x6c05c', '') 11('CDCLK_CTL', '0x46000', '') 12('LCPLL1_CTL', '0x46010', '') 13('LCPLL2_CTL', '0x46014', '') 14('TRANS_CLK_SEL_A', '0x46140', '') 15('TRANS_CLK_SEL_B', '0x46144', '') 16('TRANS_CLK_SEL_C', '0x46148', '') 17('WRPLL_CTL1', '0x46040', '') 18('WRPLL_CTL2', '0x46060', '') 19# PIPE_A_PLANE 20('PLANE_BUF_CFG_1_A', '0x7027c', '') 21('PLANE_BUF_CFG_2_A', '0x7037c', '') 22('PLANE_BUF_CFG_3_A', '0x7047c', '') 23('PLANE_NV12_BUF_CFG_1_A', '0x70278', '') 24('PLANE_NV12_BUF_CFG_2_A', '0x70378', '') 25('PLANE_NV12_BUF_CFG_3_A', '0x70478', '') 26('PLANE_CTL_1_A', '0x70180', '') 27('PLANE_CTL_2_A', '0x70280', '') 28('PLANE_CTL_3_A', '0x70380', '') 29('PLANE_KEYMAX_1_A', '0x701a0', '') 30('PLANE_KEYMAX_2_A', '0x702a0', '') 31('PLANE_KEYMAX_3_A', '0x703a0', '') 32('PLANE_KEYMSK_1_A', '0x70198', '') 33('PLANE_KEYMSK_2_A', '0x70298', '') 34('PLANE_KEYMSK_3_A', '0x70398', '') 35('PLANE_KEYVAL_1_A', '0x70194', '') 36('PLANE_KEYVAL_2_A', '0x70294', '') 37('PLANE_KEYVAL_3_A', '0x70394', '') 38('PLANE_OFFSET_1_A', '0x701a4', '') 39('PLANE_OFFSET_2_A', '0x702a4', '') 40('PLANE_OFFSET_3_A', '0x703a4', '') 41('PLANE_AUX_DIST_1_A', '0x701c0', '') 42('PLANE_AUX_DIST_2_A', '0x702c0', '') 43('PLANE_AUX_DIST_3_A', '0x703c0', '') 44('PLANE_AUX_OFFSET_1_A', '0x701c4', '') 45('PLANE_AUX_OFFSET_2_A', '0x702c4', '') 46('PLANE_AUX_OFFSET_3_A', '0x703c4', '') 47('PLANE_POS_1_A', '0x7018c', '') 48('PLANE_POS_2_A', '0x7028c', '') 49('PLANE_POS_3_A', '0x7038c', '') 50('PLANE_SIZE_1_A', '0x70190', '') 51('PLANE_SIZE_2_A', '0x70290', '') 52('PLANE_SIZE_3_A', '0x70390', '') 53('PLANE_STRIDE_1_A', '0x70188', '') 54('PLANE_STRIDE_2_A', '0x70288', '') 55('PLANE_STRIDE_3_A', '0x70388', '') 56('PLANE_SURF_1_A', '0x7019c', '') 57('PLANE_SURF_2_A', '0x7029c', '') 58('PLANE_SURF_3_A', '0x7039c', '') 59('PLANE_SURFLIVE_1_A', '0x701ac', '') 60('PLANE_SURFLIVE_2_A', '0x702ac', '') 61('PLANE_SURFLIVE_3_A', '0x703ac', '') 62('PLANE_WM_1_A_0', '0x70240', '') 63('PLANE_WM_1_A_1', '0x70244', '') 64('PLANE_WM_1_A_2', '0x70248', '') 65('PLANE_WM_1_A_3', '0x7024c', '') 66('PLANE_WM_1_A_4', '0x70250', '') 67('PLANE_WM_1_A_5', '0x70254', '') 68('PLANE_WM_1_A_6', '0x70258', '') 69('PLANE_WM_1_A_7', '0x7025c', '') 70('PLANE_WM_2_A_0', '0x70340', '') 71('PLANE_WM_2_A_1', '0x70344', '') 72('PLANE_WM_2_A_2', '0x70348', '') 73('PLANE_WM_2_A_3', '0x7034c', '') 74('PLANE_WM_2_A_4', '0x70350', '') 75('PLANE_WM_2_A_5', '0x70354', '') 76('PLANE_WM_2_A_6', '0x70358', '') 77('PLANE_WM_2_A_7', '0x7035c', '') 78('PLANE_WM_3_A_0', '0x70440', '') 79('PLANE_WM_3_A_1', '0x70444', '') 80('PLANE_WM_3_A_2', '0x70448', '') 81('PLANE_WM_3_A_3', '0x7044c', '') 82('PLANE_WM_3_A_4', '0x70450', '') 83('PLANE_WM_3_A_5', '0x70454', '') 84('PLANE_WM_3_A_6', '0x70458', '') 85('PLANE_WM_3_A_7', '0x7045c', '') 86('PLANE_WM_TRANS_1_A', '0x70268', '') 87('PLANE_WM_TRANS_2_A', '0x70368', '') 88('PLANE_WM_TRANS_3_A', '0x70468', '') 89# PIPE_A_CURSOR_PLANE 90('CUR_BUF_CFG_A', '0x7017c', '') 91('CUR_BASE_A', '0x70084', '') 92('CUR_CTL_A', '0x70080', '') 93('CUR_FBC_CTL_A', '0x700a0', '') 94('CUR_POS_A', '0x70088', '') 95('CUR_SURFLIVE_A', '0x700ac', '') 96('CUR_WM_A_0', '0x70140', '') 97('CUR_WM_A_1', '0x70144', '') 98('CUR_WM_A_2', '0x70148', '') 99('CUR_WM_A_3', '0x7014c', '') 100('CUR_WM_A_4', '0x70150', '') 101('CUR_WM_A_5', '0x70154', '') 102('CUR_WM_A_6', '0x70158', '') 103('CUR_WM_A_7', '0x7015c', '') 104('CUR_WM_TRANS_A', '0x70168', '') 105# PIPE_SCALER_A 106('PS_CTRL_1_A', '0x68180', '') 107('PS_CTRL_2_A', '0x68280', '') 108('PS_ECC_STAT_1_A', '0x681d0', '') 109('PS_ECC_STAT_2_A', '0x682d0', '') 110('PS_HPHASE_1_A', '0x68194', '') 111('PS_HPHASE_2_A', '0x68294', '') 112('PS_HSCALE_1_A', '0x68190', '') 113('PS_HSCALE_2_A', '0x68290', '') 114('PS_PWR_GATE_1_A', '0x68160', '') 115('PS_PWR_GATE_2_A', '0x68260', '') 116('PS_VPHASE_1_A', '0x68188', '') 117('PS_VPHASE_2_A', '0x68288', '') 118('PS_VSCALE_1_A', '0x68184', '') 119('PS_VSCALE_2_A', '0x68284', '') 120('PS_WIN_POS_1_A', '0x68170', '') 121('PS_WIN_POS_2_A', '0x68270', '') 122('PS_WIN_SZ_1_A', '0x68174', '') 123('PS_WIN_SZ_2_A', '0x68274', '') 124# PIPE_B_PLANE 125('PLANE_BUF_CFG_1_B', '0x7127c', '') 126('PLANE_BUF_CFG_2_B', '0x7137c', '') 127('PLANE_BUF_CFG_3_B', '0x7147c', '') 128('PLANE_NV12_BUF_CFG_1_B', '0x71278', '') 129('PLANE_NV12_BUF_CFG_2_B', '0x71378', '') 130('PLANE_NV12_BUF_CFG_3_B', '0x71478', '') 131('PLANE_CTL_1_B', '0x71180', '') 132('PLANE_CTL_2_B', '0x71280', '') 133('PLANE_CTL_3_B', '0x71380', '') 134('PLANE_KEYMAX_1_B', '0x711a0', '') 135('PLANE_KEYMAX_2_B', '0x712a0', '') 136('PLANE_KEYMAX_3_B', '0x713a0', '') 137('PLANE_KEYMSK_1_B', '0x71198', '') 138('PLANE_KEYMSK_2_B', '0x71298', '') 139('PLANE_KEYMSK_3_B', '0x71398', '') 140('PLANE_KEYVAL_1_B', '0x71194', '') 141('PLANE_KEYVAL_2_B', '0x71294', '') 142('PLANE_KEYVAL_3_B', '0x71394', '') 143('PLANE_OFFSET_1_B', '0x711a4', '') 144('PLANE_OFFSET_2_B', '0x712a4', '') 145('PLANE_OFFSET_3_B', '0x713a4', '') 146('PLANE_AUX_DIST_1_B', '0x711c0', '') 147('PLANE_AUX_DIST_2_B', '0x712c0', '') 148('PLANE_AUX_DIST_3_B', '0x713c0', '') 149('PLANE_AUX_OFFSET_1_B', '0x711c4', '') 150('PLANE_AUX_OFFSET_2_B', '0x712c4', '') 151('PLANE_AUX_OFFSET_3_B', '0x713c4', '') 152('PLANE_POS_1_B', '0x7118c', '') 153('PLANE_POS_2_B', '0x7128c', '') 154('PLANE_POS_3_B', '0x7138c', '') 155('PLANE_SIZE_1_B', '0x71190', '') 156('PLANE_SIZE_2_B', '0x71290', '') 157('PLANE_SIZE_3_B', '0x71390', '') 158('PLANE_STRIDE_1_B', '0x71188', '') 159('PLANE_STRIDE_2_B', '0x71288', '') 160('PLANE_STRIDE_3_B', '0x71388', '') 161('PLANE_SURF_1_B', '0x7119c', '') 162('PLANE_SURF_2_B', '0x7129c', '') 163('PLANE_SURF_3_B', '0x7139c', '') 164('PLANE_SURFLIVE_1_B', '0x711ac', '') 165('PLANE_SURFLIVE_2_B', '0x712ac', '') 166('PLANE_SURFLIVE_3_B', '0x713ac', '') 167('PLANE_WM_1_B_0', '0x71240', '') 168('PLANE_WM_1_B_1', '0x71244', '') 169('PLANE_WM_1_B_2', '0x71248', '') 170('PLANE_WM_1_B_3', '0x7124c', '') 171('PLANE_WM_1_B_4', '0x71250', '') 172('PLANE_WM_1_B_5', '0x71254', '') 173('PLANE_WM_1_B_6', '0x71258', '') 174('PLANE_WM_1_B_7', '0x7125c', '') 175('PLANE_WM_2_B_0', '0x71340', '') 176('PLANE_WM_2_B_1', '0x71344', '') 177('PLANE_WM_2_B_2', '0x71348', '') 178('PLANE_WM_2_B_3', '0x7134c', '') 179('PLANE_WM_2_B_4', '0x71350', '') 180('PLANE_WM_2_B_5', '0x71354', '') 181('PLANE_WM_2_B_6', '0x71358', '') 182('PLANE_WM_2_B_7', '0x7135c', '') 183('PLANE_WM_3_B_0', '0x71440', '') 184('PLANE_WM_3_B_1', '0x71444', '') 185('PLANE_WM_3_B_2', '0x71448', '') 186('PLANE_WM_3_B_3', '0x7144c', '') 187('PLANE_WM_3_B_4', '0x71450', '') 188('PLANE_WM_3_B_5', '0x71454', '') 189('PLANE_WM_3_B_6', '0x71458', '') 190('PLANE_WM_3_B_7', '0x7145c', '') 191('PLANE_WM_TRANS_1_B', '0x71268', '') 192('PLANE_WM_TRANS_2_B', '0x71368', '') 193('PLANE_WM_TRANS_3_B', '0x71468', '') 194# PIPE_B_CURSOR_PLANE 195('CUR_BUF_CFG_B', '0x7117c', '') 196('CUR_BASE_B', '0x71084', '') 197('CUR_CTL_B', '0x71080', '') 198('CUR_FBC_CTL_B', '0x710a0', '') 199('CUR_POS_B', '0x71088', '') 200('CUR_SURFLIVE_B', '0x710ac', '') 201('CUR_WM_B_0', '0x71140', '') 202('CUR_WM_B_1', '0x71144', '') 203('CUR_WM_B_2', '0x71148', '') 204('CUR_WM_B_3', '0x7114c', '') 205('CUR_WM_B_4', '0x71150', '') 206('CUR_WM_B_5', '0x71154', '') 207('CUR_WM_B_6', '0x71158', '') 208('CUR_WM_B_7', '0x7115c', '') 209('CUR_WM_TRANS_B', '0x71168', '') 210# PIPE_SCALER_B 211('PS_CTRL_1_B', '0x68980', '') 212('PS_CTRL_2_B', '0x68a80', '') 213('PS_ECC_STAT_1_B', '0x689d0', '') 214('PS_ECC_STAT_2_B', '0x68ad0', '') 215('PS_HPHASE_1_B', '0x68994', '') 216('PS_HPHASE_2_B', '0x68a94', '') 217('PS_HSCALE_1_B', '0x68990', '') 218('PS_HSCALE_2_B', '0x68a90', '') 219('PS_PWR_GATE_1_B', '0x68960', '') 220('PS_PWR_GATE_2_B', '0x68a60', '') 221('PS_VPHASE_1_B', '0x68988', '') 222('PS_VPHASE_2_B', '0x68a88', '') 223('PS_VSCALE_1_B', '0x68984', '') 224('PS_VSCALE_2_B', '0x68a84', '') 225('PS_WIN_POS_1_B', '0x68970', '') 226('PS_WIN_POS_2_B', '0x68a70', '') 227# PIPE_C_PLANE 228('PLANE_BUF_CFG_1_C', '0x7227c', '') 229('PLANE_BUF_CFG_2_C', '0x7237c', '') 230('PLANE_BUF_CFG_3_C', '0x7247c', '') 231('PLANE_NV12_BUF_CFG_1_C', '0x72278', '') 232('PLANE_NV12_BUF_CFG_2_C', '0x72378', '') 233('PLANE_NV12_BUF_CFG_3_C', '0x72478', '') 234('PLANE_CTL_1_C', '0x72180', '') 235('PLANE_CTL_2_C', '0x72280', '') 236('PLANE_CTL_3_C', '0x72380', '') 237('PLANE_KEYMAX_1_C', '0x721a0', '') 238('PLANE_KEYMAX_2_C', '0x722a0', '') 239('PLANE_KEYMAX_3_C', '0x723a0', '') 240('PLANE_KEYMSK_1_C', '0x72198', '') 241('PLANE_KEYMSK_2_C', '0x72298', '') 242('PLANE_KEYMSK_3_C', '0x72398', '') 243('PLANE_KEYVAL_1_C', '0x72194', '') 244('PLANE_KEYVAL_2_C', '0x72294', '') 245('PLANE_KEYVAL_3_C', '0x72394', '') 246('PLANE_OFFSET_1_C', '0x721a4', '') 247('PLANE_OFFSET_2_C', '0x722a4', '') 248('PLANE_OFFSET_3_C', '0x723a4', '') 249('PLANE_AUX_DIST_1_C', '0x721c0', '') 250('PLANE_AUX_DIST_2_C', '0x722c0', '') 251('PLANE_AUX_DIST_3_C', '0x723c0', '') 252('PLANE_AUX_OFFSET_1_C', '0x721c4', '') 253('PLANE_AUX_OFFSET_2_C', '0x722c4', '') 254('PLANE_AUX_OFFSET_3_C', '0x723c4', '') 255('PLANE_POS_1_C', '0x7218c', '') 256('PLANE_POS_2_C', '0x7228c', '') 257('PLANE_POS_3_C', '0x7238c', '') 258('PLANE_SIZE_1_C', '0x72190', '') 259('PLANE_SIZE_2_C', '0x72290', '') 260('PLANE_SIZE_3_C', '0x72390', '') 261('PLANE_STRIDE_1_C', '0x72188', '') 262('PLANE_STRIDE_2_C', '0x72288', '') 263('PLANE_STRIDE_3_C', '0x72388', '') 264('PLANE_SURF_1_C', '0x7219c', '') 265('PLANE_SURF_2_C', '0x7229c', '') 266('PLANE_SURF_3_C', '0x7239c', '') 267('PLANE_SURFLIVE_1_C', '0x721ac', '') 268('PLANE_SURFLIVE_2_C', '0x722ac', '') 269('PLANE_SURFLIVE_3_C', '0x723ac', '') 270('PLANE_WM_1_C_0', '0x72240', '') 271('PLANE_WM_1_C_1', '0x72244', '') 272('PLANE_WM_1_C_2', '0x72248', '') 273('PLANE_WM_1_C_3', '0x7224c', '') 274('PLANE_WM_1_C_4', '0x72250', '') 275('PLANE_WM_1_C_5', '0x72254', '') 276('PLANE_WM_1_C_6', '0x72258', '') 277('PLANE_WM_1_C_7', '0x7225c', '') 278('PLANE_WM_2_C_0', '0x72340', '') 279('PLANE_WM_2_C_1', '0x72344', '') 280('PLANE_WM_2_C_2', '0x72348', '') 281('PLANE_WM_2_C_3', '0x7234c', '') 282('PLANE_WM_2_C_4', '0x72350', '') 283('PLANE_WM_2_C_5', '0x72354', '') 284('PLANE_WM_2_C_6', '0x72358', '') 285('PLANE_WM_2_C_7', '0x7235c', '') 286('PLANE_WM_3_C_0', '0x72440', '') 287('PLANE_WM_3_C_1', '0x72444', '') 288('PLANE_WM_3_C_2', '0x72448', '') 289('PLANE_WM_3_C_3', '0x7244c', '') 290('PLANE_WM_3_C_4', '0x72450', '') 291('PLANE_WM_3_C_5', '0x72454', '') 292('PLANE_WM_3_C_6', '0x72458', '') 293('PLANE_WM_3_C_7', '0x7245c', '') 294('PLANE_WM_TRANS_1_C', '0x72268', '') 295('PLANE_WM_TRANS_2_C', '0x72368', '') 296('PLANE_WM_TRANS_3_C', '0x72468', '') 297# PIPE_C_CURSOR_PLANE 298('CUR_BUF_CFG_C', '0x7217c', '') 299('CUR_BASE_C', '0x72084', '') 300('CUR_CTL_C', '0x72080', '') 301('CUR_FBC_CTL_C', '0x720a0', '') 302('CUR_POS_C', '0x72088', '') 303('CUR_SURFLIVE_C', '0x720ac', '') 304('CUR_WM_C_0', '0x72140', '') 305('CUR_WM_C_1', '0x72144', '') 306('CUR_WM_C_2', '0x72148', '') 307('CUR_WM_C_3', '0x7214c', '') 308('CUR_WM_C_4', '0x72150', '') 309('CUR_WM_C_5', '0x72154', '') 310('CUR_WM_C_6', '0x72158', '') 311('CUR_WM_C_7', '0x7215c', '') 312('CUR_WM_TRANS_C', '0x72168', '') 313# PIPE_SCALER_C 314('PS_CTRL_1_C', '0x69180', '') 315('PS_ECC_STAT_1_C', '0x691d0', '') 316('PS_HPHASE_1_C', '0x69194', '') 317('PS_HSCALE_1_C', '0x69190', '') 318('PS_PWR_GATE_1_C', '0x69160', '') 319('PS_VPHASE_1_C', '0x69188', '') 320('PS_VSCALE_1_C', '0x69184', '') 321('PS_WIN_POS_1_C', '0x69170', '') 322('PS_WIN_SZ_1_C', '0x69174', '') 323# TRANSCODER_EDP_CONTROL 324('TRANS_CONF_EDP', '0x7f008', '') 325# TRANSCODER_EDP_TIMING 326('TRANS_HBLANK_EDP', '0x6f004', '') 327('TRANS_HSYNC_EDP', '0x6f008', '') 328('TRANS_HTOTAL_EDP', '0x6f000', '') 329('TRANS_SPACE_EDP', '0x6f024', '') 330('TRANS_VBLANK_EDP', '0x6f010', '') 331('TRANS_VSYNC_EDP', '0x6f014', '') 332('TRANS_VSYNCSHIFT_EDP', '0x6f028', '') 333('TRANS_VTOTAL_EDP', '0x6f00c', '') 334# TRANSCODER_EDP_M_N 335('TRANS_DATAM1_EDP', '0x6f030', '') 336('TRANS_DATAN1_EDP', '0x6f034', '') 337('TRANS_LINKM1_EDP', '0x6f040', '') 338('TRANS_LINKN1_EDP', '0x6f044', '') 339# TRANSCODER_EDP_DDI_CONTROL 340('TRANS_DDI_FUNC_CTL_EDP', '0x6f400', '') 341('TRANS_MSA_MISC_EDP', '0x6f410', '') 342# TRANSCODER_A_CONTROL 343('TRANS_CONF_A', '0x70008', '') 344# TRANSCODER_A_TIMING 345('TRANS_HBLANK_A', '0x60004', '') 346('TRANS_HSYNC_A', '0x60008', '') 347('TRANS_HTOTAL_A', '0x60000', '') 348('TRANS_MULT_A', '0x6002c', '') 349('TRANS_SPACE_A', '0x60024', '') 350('TRANS_VBLANK_A', '0x60010', '') 351('TRANS_VSYNC_A', '0x60014', '') 352('TRANS_VSYNCSHIFT_A', '0x60028', '') 353('TRANS_VTOTAL_A', '0x6000c', '') 354# TRANSCODER_A_M_N 355('TRANS_DATAM1_A', '0x60030', '') 356('TRANS_DATAN1_A', '0x60034', '') 357('TRANS_LINKM1_A', '0x60040', '') 358('TRANS_LINKN1_A', '0x60044', '') 359# TRANSCODER_A_DDI_CONTROL 360('TRANS_DDI_FUNC_CTL_A', '0x60400', '') 361('TRANS_MSA_MISC_A', '0x60410', '') 362# TRANSCODER_B_CONTROL 363('TRANS_CONF_B', '0x71008', '') 364# TRANSCODER_B_TIMING 365('TRANS_HBLANK_B', '0x61004', '') 366('TRANS_HSYNC_B', '0x61008', '') 367('TRANS_HTOTAL_B', '0x61000', '') 368('TRANS_MULT_B', '0x6102c', '') 369('TRANS_SPACE_B', '0x61024', '') 370('TRANS_VBLANK_B', '0x61010', '') 371('TRANS_VSYNC_B', '0x61014', '') 372('TRANS_VSYNCSHIFT_B', '0x61028', '') 373('TRANS_VTOTAL_B', '0x6100c', '') 374# TRANSCODER_B_M_N 375('TRANS_DATAM1_B', '0x61030', '') 376('TRANS_DATAN1_B', '0x61034', '') 377('TRANS_LINKM1_B', '0x61040', '') 378('TRANS_LINKN1_B', '0x61044', '') 379# TRANSCODER_B_DDI_CONTROL 380('TRANS_DDI_FUNC_CTL_B', '0x61400', '') 381('TRANS_MSA_MISC_B', '0x61410', '') 382# TRANSCODER_C_CONTROL 383('TRANS_CONF_C', '0x72008', '') 384# TRANSCODER_C_TIMING 385('TRANS_HBLANK_C', '0x62004', '') 386('TRANS_HSYNC_C', '0x62008', '') 387('TRANS_HTOTAL_C', '0x62000', '') 388('TRANS_MULT_C', '0x6202c', '') 389('TRANS_SPACE_C', '0x62024', '') 390('TRANS_VBLANK_C', '0x62010', '') 391('TRANS_VSYNC_C', '0x62014', '') 392('TRANS_VSYNCSHIFT_C', '0x62028', '') 393('TRANS_VTOTAL_C', '0x6200c', '') 394# TRANSCODER_C_M_N 395('TRANS_DATAM1_C', '0x62030', '') 396('TRANS_DATAN1_C', '0x62034', '') 397('TRANS_LINKM1_C', '0x62040', '') 398('TRANS_LINKN1_C', '0x62044', '') 399# TRANSCODER_C_DDI_CONTROL 400('TRANS_DDI_FUNC_CTL_C', '0x62400', '') 401('TRANS_MSA_MISC_C', '0x62410', '') 402# WATERMARK 403('WM_LINETIME_A', '0x45270', '') 404('WM_LINETIME_B', '0x45274', '') 405('WM_LINETIME_C', '0x45278', '') 406('WM_MISC', '0x45260', '') 407