Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: Add DCN_BASE regs

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Bhawanpreet Lakha and committed by
Alex Deucher
5f687972 ce609526

+34
+34
drivers/gpu/drm/amd/include/renoir_ip_offset.h
··· 169 169 { { 0, 0, 0, 0, 0 } }, 170 170 { { 0, 0, 0, 0, 0 } }, 171 171 { { 0, 0, 0, 0, 0 } } } }; 172 + static const struct IP_BASE DCN_BASE ={ { { { 0x00000012, 0x000000C0, 0x000034C0, 0, 0 } }, 173 + { { 0, 0, 0, 0, 0 } }, 174 + { { 0, 0, 0, 0, 0 } }, 175 + { { 0, 0, 0, 0, 0 } }, 176 + { { 0, 0, 0, 0, 0 } } } }; 172 177 static const struct IP_BASE OSSSYS_BASE ={ { { { 0x000010A0, 0x0240A000, 0, 0, 0 } }, 173 178 { { 0, 0, 0, 0, 0 } }, 174 179 { { 0, 0, 0, 0, 0 } }, ··· 1366 1361 #define UVD0_BASE__INST6_SEG3 0 1367 1362 #define UVD0_BASE__INST6_SEG4 0 1368 1363 1364 + #define DCN_BASE__INST0_SEG0 0x00000012 1365 + #define DCN_BASE__INST0_SEG1 0x000000C0 1366 + #define DCN_BASE__INST0_SEG2 0x000034C0 1367 + #define DCN_BASE__INST0_SEG3 0 1368 + #define DCN_BASE__INST0_SEG4 0 1369 + 1370 + #define DCN_BASE__INST1_SEG0 0 1371 + #define DCN_BASE__INST1_SEG1 0 1372 + #define DCN_BASE__INST1_SEG2 0 1373 + #define DCN_BASE__INST1_SEG3 0 1374 + #define DCN_BASE__INST1_SEG4 0 1375 + 1376 + #define DCN_BASE__INST2_SEG0 0 1377 + #define DCN_BASE__INST2_SEG1 0 1378 + #define DCN_BASE__INST2_SEG2 0 1379 + #define DCN_BASE__INST2_SEG3 0 1380 + #define DCN_BASE__INST2_SEG4 0 1381 + 1382 + #define DCN_BASE__INST3_SEG0 0 1383 + #define DCN_BASE__INST3_SEG1 0 1384 + #define DCN_BASE__INST3_SEG2 0 1385 + #define DCN_BASE__INST3_SEG3 0 1386 + #define DCN_BASE__INST3_SEG4 0 1387 + 1388 + #define DCN_BASE__INST4_SEG0 0 1389 + #define DCN_BASE__INST4_SEG1 0 1390 + #define DCN_BASE__INST4_SEG2 0 1391 + #define DCN_BASE__INST4_SEG3 0 1392 + #define DCN_BASE__INST4_SEG4 0 1369 1393 #endif