Searched refs:src_lev (Results 1 – 2 of 2) sorted by relevance
414 struct etna_resource_level *src_lev = &src->levels[blit_info->src.level]; in etna_try_blt_blit() local421 if (!src_lev->ts_size || !src_lev->ts_valid) /* No TS, no worries */ in etna_try_blt_blit()426 op.addr.offset = src_lev->offset + blit_info->src.box.z * src_lev->layer_stride; in etna_try_blt_blit()429 op.ts_addr.offset = src_lev->ts_offset + blit_info->src.box.z * src_lev->ts_layer_stride; in etna_try_blt_blit()431 op.ts_clear_value[0] = src_lev->clear_value; in etna_try_blt_blit()432 op.ts_clear_value[1] = src_lev->clear_value; in etna_try_blt_blit()434 op.num_tiles = src_lev->size / 128; /* TODO: cache modes */ in etna_try_blt_blit()445 op.src.addr.offset = src_lev->offset + blit_info->src.box.z * src_lev->layer_stride; in etna_try_blt_blit()448 op.src.stride = src_lev->stride; in etna_try_blt_blit()456 if (src_lev->ts_size && src_lev->ts_valid) { in etna_try_blt_blit()[all …]
438 struct etna_resource_level *src_lev, unsigned int src_offset, in etna_manual_blit() argument467 srow += src_lev->stride * 4; in etna_manual_blit()596 struct etna_resource_level *src_lev = &src->levels[blit_info->src.level]; in etna_try_rs_blit() local601 assert((blit_info->src.box.x + blit_info->src.box.width) * msaa_xscale <= src_lev->padded_width); in etna_try_rs_blit()602 …assert((blit_info->src.box.y + blit_info->src.box.height) * msaa_yscale <= src_lev->padded_height); in etna_try_rs_blit()606 unsigned src_offset = src_lev->offset + in etna_try_rs_blit()607 blit_info->src.box.z * src_lev->layer_stride + in etna_try_rs_blit()610 src_lev->stride, in etna_try_rs_blit()619 if (src_lev->padded_width <= ETNA_RS_WIDTH_MASK || in etna_try_rs_blit()621 src_lev->padded_height <= ETNA_RS_HEIGHT_MASK || in etna_try_rs_blit()[all …]