Home
last modified time | relevance | path

Searched refs:cmdq_client (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/mediatek/
H A Dmtk_crtc.c54 struct cmdq_client cmdq_client; member
116 if (mtk_crtc->cmdq_client.chan) in mtk_drm_finish_page_flip()
135 if (mtk_crtc->cmdq_client.chan) { in mtk_crtc_destroy()
136 cmdq_pkt_destroy(&mtk_crtc->cmdq_client, &mtk_crtc->cmdq_handle); in mtk_crtc_destroy()
137 mbox_free_channel(mtk_crtc->cmdq_client.chan); in mtk_crtc_destroy()
138 mtk_crtc->cmdq_client.chan = NULL; in mtk_crtc_destroy()
280 struct cmdq_client *cmdq_cl = container_of(cl, struct cmdq_client, client); in ddp_cmdq_cb()
281 struct mtk_crtc *mtk_crtc = container_of(cmdq_cl, struct mtk_crtc, cmdq_client); in ddp_cmdq_cb()
597 if (mtk_crtc->cmdq_client.chan) { in mtk_crtc_update_config()
598 mbox_flush(mtk_crtc->cmdq_client.chan, 2000); in mtk_crtc_update_config()
[all …]
/linux/include/linux/soc/mediatek/
H A Dmtk-cmdq.h59 struct cmdq_client { struct
88 struct cmdq_client *cmdq_mbox_create(struct device *dev, int index);
94 void cmdq_mbox_destroy(struct cmdq_client *client);
104 int cmdq_pkt_create(struct cmdq_client *client, struct cmdq_pkt *pkt, size_t size);
111 void cmdq_pkt_destroy(struct cmdq_client *client, struct cmdq_pkt *pkt);
402 static inline struct cmdq_client *cmdq_mbox_create(struct device *dev, int index)
407 static inline void cmdq_mbox_destroy(struct cmdq_client *client) { } in cmdq_dev_get_client_reg()
409 static inline int cmdq_pkt_create(struct cmdq_client *client, struct cmdq_pkt *pkt, size_t size)
414 static inline void cmdq_pkt_destroy(struct cmdq_client *client, struct cmdq_pkt *pkt) { }
79 chancmdq_client global() argument