Lines Matching refs:luma
1204 * fill decoding target field from the luma and chroma surfaces
1206 void ruvd_set_dt_surfaces(struct ruvd_msg *msg, struct radeon_surf *luma,
1209 msg->body.decode.dt_pitch = luma->u.legacy.level[0].nblk_x * luma->blk_w;
1210 switch (luma->u.legacy.level[0].mode) {
1228 msg->body.decode.dt_luma_top_offset = texture_offset(luma, 0);
1232 msg->body.decode.dt_luma_bottom_offset = texture_offset(luma, 1);
1241 assert(luma->u.legacy.bankw == chroma->u.legacy.bankw);
1242 assert(luma->u.legacy.bankh == chroma->u.legacy.bankh);
1243 assert(luma->u.legacy.mtilea == chroma->u.legacy.mtilea);
1246 msg->body.decode.dt_surf_tile_config |= RUVD_BANK_WIDTH(bank_wh(luma->u.legacy.bankw));
1247 msg->body.decode.dt_surf_tile_config |= RUVD_BANK_HEIGHT(bank_wh(luma->u.legacy.bankh));
1248 msg->body.decode.dt_surf_tile_config |= RUVD_MACRO_TILE_ASPECT_RATIO(macro_tile_aspect(luma->u.legacy.mtilea));