Lines Matching refs:AddrSurfInfoOut
253 ADDR_COMPUTE_SURFACE_INFO_OUTPUT *AddrSurfInfoOut, in gfx6_compute_level() argument
300 AddrSurfInfoOut); in gfx6_compute_level()
306 surf_level->offset = align64(surf->surf_size, AddrSurfInfoOut->baseAlign); in gfx6_compute_level()
307 surf_level->slice_size_dw = AddrSurfInfoOut->sliceSize / 4; in gfx6_compute_level()
308 surf_level->nblk_x = AddrSurfInfoOut->pitch; in gfx6_compute_level()
309 surf_level->nblk_y = AddrSurfInfoOut->height; in gfx6_compute_level()
311 switch (AddrSurfInfoOut->tileMode) { in gfx6_compute_level()
326 surf->u.legacy.stencil_tiling_index[level] = AddrSurfInfoOut->tileIndex; in gfx6_compute_level()
328 surf->u.legacy.tiling_index[level] = AddrSurfInfoOut->tileIndex; in gfx6_compute_level()
330 surf->surf_size = surf_level->offset + AddrSurfInfoOut->surfSize; in gfx6_compute_level()
338 AddrDccIn->colorSurfSize = AddrSurfInfoOut->surfSize; in gfx6_compute_level()
339 AddrDccIn->tileMode = AddrSurfInfoOut->tileMode; in gfx6_compute_level()
340 AddrDccIn->tileInfo = *AddrSurfInfoOut->pTileInfo; in gfx6_compute_level()
341 AddrDccIn->tileIndex = AddrSurfInfoOut->tileIndex; in gfx6_compute_level()
342 AddrDccIn->macroModeIndex = AddrSurfInfoOut->macroModeIndex; in gfx6_compute_level()
363 AddrHtileIn->pitch = AddrSurfInfoOut->pitch; in gfx6_compute_level()
364 AddrHtileIn->height = AddrSurfInfoOut->height; in gfx6_compute_level()
365 AddrHtileIn->numSlices = AddrSurfInfoOut->depth; in gfx6_compute_level()
368 AddrHtileIn->pTileInfo = AddrSurfInfoOut->pTileInfo; in gfx6_compute_level()
369 AddrHtileIn->tileIndex = AddrSurfInfoOut->tileIndex; in gfx6_compute_level()
370 AddrHtileIn->macroModeIndex = AddrSurfInfoOut->macroModeIndex; in gfx6_compute_level()
488 ADDR_COMPUTE_SURFACE_INFO_OUTPUT AddrSurfInfoOut = {0}; in gfx6_compute_surface() local
498 AddrSurfInfoOut.size = sizeof(ADDR_COMPUTE_SURFACE_INFO_OUTPUT); in gfx6_compute_surface()
503 AddrSurfInfoOut.pTileInfo = &AddrTileInfoOut; in gfx6_compute_surface()
679 AddrSurfInfoOut.macroModeIndex = cik_get_macro_tile_index(surf); in gfx6_compute_surface()
699 &AddrSurfInfoIn, &AddrSurfInfoOut, in gfx6_compute_surface()
710 assert(AddrSurfInfoOut.tcCompatible || in gfx6_compute_surface()
715 if (!AddrSurfInfoOut.tcCompatible) { in gfx6_compute_surface()
721 AddrSurfInfoIn.tileIndex = AddrSurfInfoOut.tileIndex; in gfx6_compute_surface()
722 stencil_tile_idx = AddrSurfInfoOut.stencilTileIdx; in gfx6_compute_surface()
728 &AddrSurfInfoOut, surf); in gfx6_compute_surface()
746 &AddrSurfInfoIn, &AddrSurfInfoOut, in gfx6_compute_surface()
765 &AddrSurfInfoOut, surf); in gfx6_compute_surface()
771 if (AddrSurfInfoOut.tileMode >= ADDR_TM_2D_TILED_THIN1) { in gfx6_compute_surface()
773 AddrSurfInfoOut.pTileInfo->tileSplitBytes; in gfx6_compute_surface()