macrotile 1030 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c uint32_t *tile, *macrotile; macrotile 1033 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile = adev->gfx.config.macrotile_mode_array; macrotile 1051 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[reg_offset] = 0; macrotile 1158 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[0] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1162 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[1] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1166 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[2] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1170 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[3] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1174 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[4] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1178 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[5] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1182 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[6] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1186 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[8] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_2) | macrotile 1190 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[9] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_2) | macrotile 1194 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[10] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1198 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[11] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1202 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[12] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1206 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[13] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1210 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[14] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1219 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmGB_MACROTILE_MODE0 + reg_offset, macrotile[reg_offset]); macrotile 1341 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[0] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1345 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[1] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1349 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[2] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1353 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[3] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1357 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[4] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1361 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[5] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1365 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[6] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1369 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[8] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1373 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[9] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1377 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[10] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1381 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[11] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1385 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[12] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1389 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[13] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1393 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[14] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1402 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmGB_MACROTILE_MODE0 + reg_offset, macrotile[reg_offset]); macrotile 1511 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[0] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1515 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[1] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1519 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[2] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1523 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[3] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1527 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[4] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1531 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[5] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1535 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[6] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1539 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[8] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_4) | macrotile 1543 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[9] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_4) | macrotile 1547 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[10] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_2) | macrotile 1551 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[11] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_2) | macrotile 1555 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[12] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1559 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[13] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1563 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c macrotile[14] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 1572 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmGB_MACROTILE_MODE0 + reg_offset, macrotile[reg_offset]); macrotile 2336 drivers/gpu/drm/radeon/cik.c u32 *macrotile = rdev->config.cik.macrotile_mode_array; macrotile 2366 drivers/gpu/drm/radeon/cik.c macrotile[reg_offset] = 0; macrotile 2449 drivers/gpu/drm/radeon/cik.c macrotile[0] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2453 drivers/gpu/drm/radeon/cik.c macrotile[1] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2457 drivers/gpu/drm/radeon/cik.c macrotile[2] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2461 drivers/gpu/drm/radeon/cik.c macrotile[3] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2465 drivers/gpu/drm/radeon/cik.c macrotile[4] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2469 drivers/gpu/drm/radeon/cik.c macrotile[5] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2473 drivers/gpu/drm/radeon/cik.c macrotile[6] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2477 drivers/gpu/drm/radeon/cik.c macrotile[8] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2481 drivers/gpu/drm/radeon/cik.c macrotile[9] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2485 drivers/gpu/drm/radeon/cik.c macrotile[10] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2489 drivers/gpu/drm/radeon/cik.c macrotile[11] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2493 drivers/gpu/drm/radeon/cik.c macrotile[12] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2497 drivers/gpu/drm/radeon/cik.c macrotile[13] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2501 drivers/gpu/drm/radeon/cik.c macrotile[14] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2509 drivers/gpu/drm/radeon/cik.c WREG32(GB_MACROTILE_MODE0 + (reg_offset * 4), macrotile[reg_offset]); macrotile 2592 drivers/gpu/drm/radeon/cik.c macrotile[0] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2596 drivers/gpu/drm/radeon/cik.c macrotile[1] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2600 drivers/gpu/drm/radeon/cik.c macrotile[2] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2604 drivers/gpu/drm/radeon/cik.c macrotile[3] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2608 drivers/gpu/drm/radeon/cik.c macrotile[4] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2612 drivers/gpu/drm/radeon/cik.c macrotile[5] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2616 drivers/gpu/drm/radeon/cik.c macrotile[6] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2620 drivers/gpu/drm/radeon/cik.c macrotile[8] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2624 drivers/gpu/drm/radeon/cik.c macrotile[9] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2628 drivers/gpu/drm/radeon/cik.c macrotile[10] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2632 drivers/gpu/drm/radeon/cik.c macrotile[11] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2636 drivers/gpu/drm/radeon/cik.c macrotile[12] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2640 drivers/gpu/drm/radeon/cik.c macrotile[13] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2644 drivers/gpu/drm/radeon/cik.c macrotile[14] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2652 drivers/gpu/drm/radeon/cik.c WREG32(GB_MACROTILE_MODE0 + (reg_offset * 4), macrotile[reg_offset]); macrotile 2817 drivers/gpu/drm/radeon/cik.c macrotile[0] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2821 drivers/gpu/drm/radeon/cik.c macrotile[1] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2825 drivers/gpu/drm/radeon/cik.c macrotile[2] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2829 drivers/gpu/drm/radeon/cik.c macrotile[3] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2833 drivers/gpu/drm/radeon/cik.c macrotile[4] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2837 drivers/gpu/drm/radeon/cik.c macrotile[5] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2841 drivers/gpu/drm/radeon/cik.c macrotile[6] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2845 drivers/gpu/drm/radeon/cik.c macrotile[8] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_2) | macrotile 2849 drivers/gpu/drm/radeon/cik.c macrotile[9] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_2) | macrotile 2853 drivers/gpu/drm/radeon/cik.c macrotile[10] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2857 drivers/gpu/drm/radeon/cik.c macrotile[11] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2861 drivers/gpu/drm/radeon/cik.c macrotile[12] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2865 drivers/gpu/drm/radeon/cik.c macrotile[13] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2869 drivers/gpu/drm/radeon/cik.c macrotile[14] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2877 drivers/gpu/drm/radeon/cik.c WREG32(GB_MACROTILE_MODE0 + (reg_offset * 4), macrotile[reg_offset]); macrotile 2960 drivers/gpu/drm/radeon/cik.c macrotile[0] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_2) | macrotile 2964 drivers/gpu/drm/radeon/cik.c macrotile[1] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_2) | macrotile 2968 drivers/gpu/drm/radeon/cik.c macrotile[2] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2972 drivers/gpu/drm/radeon/cik.c macrotile[3] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2976 drivers/gpu/drm/radeon/cik.c macrotile[4] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2980 drivers/gpu/drm/radeon/cik.c macrotile[5] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2984 drivers/gpu/drm/radeon/cik.c macrotile[6] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 2988 drivers/gpu/drm/radeon/cik.c macrotile[8] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_4) | macrotile 2992 drivers/gpu/drm/radeon/cik.c macrotile[9] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_4) | macrotile 2996 drivers/gpu/drm/radeon/cik.c macrotile[10] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_2) | macrotile 3000 drivers/gpu/drm/radeon/cik.c macrotile[11] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_2) | macrotile 3004 drivers/gpu/drm/radeon/cik.c macrotile[12] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 3008 drivers/gpu/drm/radeon/cik.c macrotile[13] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 3012 drivers/gpu/drm/radeon/cik.c macrotile[14] = (BANK_WIDTH(ADDR_SURF_BANK_WIDTH_1) | macrotile 3020 drivers/gpu/drm/radeon/cik.c WREG32(GB_MACROTILE_MODE0 + (reg_offset * 4), macrotile[reg_offset]);