Lines Matching refs:luma
1434 * fill decoding target field from the luma and chroma surfaces
1436 void si_uvd_set_dt_surfaces(struct ruvd_msg *msg, struct radeon_surf *luma,
1442 msg->body.decode.dt_pitch = luma->u.legacy.level[0].nblk_x * luma->blk_w;
1443 switch (luma->u.legacy.level[0].mode) {
1461 msg->body.decode.dt_luma_top_offset = texture_offset(luma, 0, type);
1465 msg->body.decode.dt_luma_bottom_offset = texture_offset(luma, 1, type);
1474 assert(luma->u.legacy.bankw == chroma->u.legacy.bankw);
1475 assert(luma->u.legacy.bankh == chroma->u.legacy.bankh);
1476 assert(luma->u.legacy.mtilea == chroma->u.legacy.mtilea);
1479 msg->body.decode.dt_surf_tile_config |= RUVD_BANK_WIDTH(bank_wh(luma->u.legacy.bankw));
1480 msg->body.decode.dt_surf_tile_config |= RUVD_BANK_HEIGHT(bank_wh(luma->u.legacy.bankh));
1482 RUVD_MACRO_TILE_ASPECT_RATIO(macro_tile_aspect(luma->u.legacy.mtilea));
1485 msg->body.decode.dt_pitch = luma->u.gfx9.surf_pitch * luma->blk_w;
1489 msg->body.decode.dt_luma_top_offset = texture_offset(luma, 0, type);
1492 msg->body.decode.dt_luma_bottom_offset = texture_offset(luma, 1, type);