Lines Matching refs:rts
107 if (fb->rt_count == 1 && fb->rts[0].view && !fb->rts[0].discard && in GENX()
108 fb->rts[0].view->image->layout.crc_mode != PAN_IMAGE_CRC_NONE) in GENX()
117 if (!fb->rts[i].view || fb->rts[0].discard || in GENX()
118 fb->rts[i].view->image->layout.crc_mode == PAN_IMAGE_CRC_NONE) in GENX()
121 bool valid = *(fb->rts[i].crc_valid); in GENX()
273 const struct pan_image_view *rt = fb->rts[rt_crc].view; in pan_prepare_crc()
284 if (fb->rts[rt_crc].clear) { in pan_prepare_crc()
285 uint32_t clear_val = fb->rts[rt_crc].clear_value[0]; in pan_prepare_crc()
327 const struct pan_image_view *rt = fb->rts[cb].view; in pan_cbuf_bytes_per_pixel()
454 cfg->clean_pixel_write_enable = fb->rts[idx].clear; in pan_prepare_rt()
456 if (fb->rts[idx].clear) { in pan_prepare_rt()
457 cfg->clear.color_0 = fb->rts[idx].clear_value[0]; in pan_prepare_rt()
458 cfg->clear.color_1 = fb->rts[idx].clear_value[1]; in pan_prepare_rt()
459 cfg->clear.color_2 = fb->rts[idx].clear_value[2]; in pan_prepare_rt()
460 cfg->clear.color_3 = fb->rts[idx].clear_value[3]; in pan_prepare_rt()
463 const struct pan_image_view *rt = fb->rts[idx].view; in pan_prepare_rt()
464 if (!rt || fb->rts[idx].discard) { in pan_prepare_rt()
677 if (fb->rts[i].view && !fb->rts[i].discard && in pan_force_clean_write()
678 pan_force_clean_write_rt(fb->rts[i].view, tile_size)) in pan_force_clean_write()
763 bool *valid = fb->rts[crc_rt].crc_valid; in GENX()
806 if (!fb->rts[i].view) in GENX()
809 cbuf_offset += pan_bytes_per_pixel_tib(fb->rts[i].view->format) * in GENX()
810 tile_size * fb->rts[i].view->image->layout.nr_samples; in GENX()
813 *(fb->rts[i].crc_valid) = false; in GENX()
838 if (fb->rts[0].clear) { in GENX()
839 cfg.clear_color_0 = fb->rts[0].clear_value[0]; in GENX()
840 cfg.clear_color_1 = fb->rts[0].clear_value[1]; in GENX()
841 cfg.clear_color_2 = fb->rts[0].clear_value[2]; in GENX()
842 cfg.clear_color_3 = fb->rts[0].clear_value[3]; in GENX()
851 if (fb->rt_count && fb->rts[0].view) { in GENX()
852 const struct pan_image_view *rt = fb->rts[0].view; in GENX()
875 cfg.color_write_enable = !fb->rts[0].discard; in GENX()
922 cfg.msaa = mali_sampling_mode(fb->rts[0].view); in GENX()