Lines Matching refs:layer
291 mc->scaled_planes_mask &= ~(mp->layer->id); in malidp_se_check_scaling()
295 if (mp->layer->id & (DE_SMART | DE_GRAPHICS2)) in malidp_se_check_scaling()
298 mc->scaled_planes_mask |= mp->layer->id; in malidp_se_check_scaling()
483 if (!mp->layer->mmu_ctrl_offset) in malidp_de_prefetch_settings()
511 mp->layer->id, fb->format->format, in malidp_de_plane_check()
561 if (mp->layer->rot == ROTATE_NONE) in malidp_de_plane_check()
563 if ((mp->layer->rot == ROTATE_COMPRESSED) && !(fb->modifier)) in malidp_de_plane_check()
575 if (mp->layer->id == DE_SMART && fb->modifier) { in malidp_de_plane_check()
611 if (!mp->layer->stride_offset) in malidp_de_set_plane_pitches()
627 mp->layer->base + in malidp_de_set_plane_pitches()
628 mp->layer->stride_offset + i * 4); in malidp_de_set_plane_pitches()
681 plane->layer->base + plane->layer->yuv2rgb_offset + in malidp_de_set_color_encoding()
692 if (!mp->layer->mmu_ctrl_offset) in malidp_de_set_mmu_control()
701 mp->layer->base + mp->layer->mmu_ctrl_offset); in malidp_de_set_mmu_control()
713 ptr = mp->layer->ptr + (plane_index << 4); in malidp_set_plane_base_addr()
748 if (!mp->layer->afbc_decoder_offset) in malidp_de_set_plane_afbc()
752 malidp_hw_write(mp->hwdev, 0, mp->layer->afbc_decoder_offset); in malidp_de_set_plane_afbc()
765 mp->layer->afbc_decoder_offset + MALIDP_AD_CROP_H); in malidp_de_set_plane_afbc()
770 mp->layer->afbc_decoder_offset + MALIDP_AD_CROP_V); in malidp_de_set_plane_afbc()
778 malidp_hw_write(mp->hwdev, val, mp->layer->afbc_decoder_offset); in malidp_de_set_plane_afbc()
814 val = malidp_hw_read(mp->hwdev, mp->layer->base); in malidp_de_plane_update()
816 malidp_hw_write(mp->hwdev, val, mp->layer->base); in malidp_de_plane_update()
832 mp->layer->base + MALIDP_LAYER_SIZE); in malidp_de_plane_update()
835 mp->layer->base + MALIDP_LAYER_COMP_SIZE); in malidp_de_plane_update()
839 mp->layer->base + MALIDP_LAYER_OFFSET); in malidp_de_plane_update()
841 if (mp->layer->id == DE_SMART) { in malidp_de_plane_update()
847 mp->layer->base + MALIDP550_LS_ENABLE); in malidp_de_plane_update()
850 mp->layer->base + MALIDP550_LS_R1_IN_SIZE); in malidp_de_plane_update()
856 val = malidp_hw_read(mp->hwdev, mp->layer->base + MALIDP_LAYER_CONTROL); in malidp_de_plane_update()
891 m->scaler_config.plane_src_id == mp->layer->id) in malidp_de_plane_update()
899 mp->layer->base + MALIDP_LAYER_CONTROL); in malidp_de_plane_update()
909 mp->layer->base + MALIDP_LAYER_CONTROL); in malidp_de_plane_disable()
968 if ((map->pixel_formats[j].layer & id) == id) in malidp_de_planes_init()
990 plane->layer = &map->layers[i]; in malidp_de_planes_init()
1002 plane->layer->base + MALIDP_LAYER_COMPOSE); in malidp_de_planes_init()