Lines Matching refs:malidp
135 struct malidp_drm *malidp = drm_to_malidp(encoder->dev); in malidp_mw_encoder_atomic_check() local
156 malidp_hw_get_format_id(&malidp->dev->hw->map, SE_MEMWRITE, in malidp_mw_encoder_atomic_check()
168 u8 alignment = malidp_hw_get_pitch_align(malidp->dev, 0); in malidp_mw_encoder_atomic_check()
190 static u32 *get_writeback_formats(struct malidp_drm *malidp, int *n_formats) in get_writeback_formats() argument
192 const struct malidp_hw_regmap *map = &malidp->dev->hw->map; in get_writeback_formats()
213 struct malidp_drm *malidp = drm_to_malidp(drm); in malidp_mw_connector_init() local
217 if (!malidp->dev->hw->enable_memwrite) in malidp_mw_connector_init()
220 drm_connector_helper_add(&malidp->mw_connector.base, in malidp_mw_connector_init()
223 formats = get_writeback_formats(malidp, &n_formats); in malidp_mw_connector_init()
227 ret = drm_writeback_connector_init(drm, &malidp->mw_connector, in malidp_mw_connector_init()
231 1 << drm_crtc_index(&malidp->crtc)); in malidp_mw_connector_init()
242 struct malidp_drm *malidp = drm_to_malidp(drm); in malidp_mw_atomic_commit() local
243 struct drm_writeback_connector *mw_conn = &malidp->mw_connector; in malidp_mw_atomic_commit()
245 struct malidp_hw_device *hwdev = malidp->dev; in malidp_mw_atomic_commit()