Lines Matching refs:mast
397 struct nv50_mast mast; member
410 #define nv50_mast(d) (&nv50_disp(d)->mast)
486 struct nv50_mast *mast = nv50_mast(dev); in evo_sync() local
487 u32 *push = evo_wait(mast, 8); in evo_sync()
495 evo_kick(push, mast); in evo_sync()
695 struct nv50_mast *mast = nv50_mast(nv_crtc->base.dev); in nv50_crtc_set_dither() local
716 push = evo_wait(mast, 4); in nv50_crtc_set_dither()
718 if (nv50_vers(mast) < GF110_DISP_CORE_CHANNEL_DMA) { in nv50_crtc_set_dither()
722 if (nv50_vers(mast) < GK104_DISP_CORE_CHANNEL_DMA) { in nv50_crtc_set_dither()
734 evo_kick(push, mast); in nv50_crtc_set_dither()
743 struct nv50_mast *mast = nv50_mast(nv_crtc->base.dev); in nv50_crtc_set_scale() local
814 push = evo_wait(mast, 8); in nv50_crtc_set_scale()
816 if (nv50_vers(mast) < GF110_DISP_CORE_CHANNEL_DMA) { in nv50_crtc_set_scale()
836 evo_kick(push, mast); in nv50_crtc_set_scale()
851 struct nv50_mast *mast = nv50_mast(nv_crtc->base.dev); in nv50_crtc_set_raster_vblank_dmi() local
854 push = evo_wait(mast, 8); in nv50_crtc_set_raster_vblank_dmi()
860 evo_kick(push, mast); in nv50_crtc_set_raster_vblank_dmi()
867 struct nv50_mast *mast = nv50_mast(nv_crtc->base.dev); in nv50_crtc_set_color_vibrance() local
875 push = evo_wait(mast, 16); in nv50_crtc_set_color_vibrance()
877 if (nv50_vers(mast) < GF110_DISP_CORE_CHANNEL_DMA) { in nv50_crtc_set_color_vibrance()
889 evo_kick(push, mast); in nv50_crtc_set_color_vibrance()
900 struct nv50_mast *mast = nv50_mast(nv_crtc->base.dev); in nv50_crtc_set_image() local
903 push = evo_wait(mast, 16); in nv50_crtc_set_image()
905 if (nv50_vers(mast) < GF110_DISP_CORE_CHANNEL_DMA) { in nv50_crtc_set_image()
914 if (nv50_vers(mast) > NV50_DISP_CORE_CHANNEL_DMA) { in nv50_crtc_set_image()
934 evo_kick(push, mast); in nv50_crtc_set_image()
944 struct nv50_mast *mast = nv50_mast(nv_crtc->base.dev); in nv50_crtc_cursor_show() local
945 u32 *push = evo_wait(mast, 16); in nv50_crtc_cursor_show()
947 if (nv50_vers(mast) < G82_DISP_CORE_CHANNEL_DMA) { in nv50_crtc_cursor_show()
952 if (nv50_vers(mast) < GF110_DISP_CORE_CHANNEL_DMA) { in nv50_crtc_cursor_show()
957 evo_data(push, mast->base.vram.handle); in nv50_crtc_cursor_show()
963 evo_data(push, mast->base.vram.handle); in nv50_crtc_cursor_show()
965 evo_kick(push, mast); in nv50_crtc_cursor_show()
973 struct nv50_mast *mast = nv50_mast(nv_crtc->base.dev); in nv50_crtc_cursor_hide() local
974 u32 *push = evo_wait(mast, 16); in nv50_crtc_cursor_hide()
976 if (nv50_vers(mast) < G82_DISP_CORE_CHANNEL_DMA) { in nv50_crtc_cursor_hide()
980 if (nv50_vers(mast) < GF110_DISP_CORE_CHANNEL_DMA) { in nv50_crtc_cursor_hide()
991 evo_kick(push, mast); in nv50_crtc_cursor_hide()
999 struct nv50_mast *mast = nv50_mast(nv_crtc->base.dev); in nv50_crtc_cursor_show_hide() local
1007 u32 *push = evo_wait(mast, 2); in nv50_crtc_cursor_show_hide()
1011 evo_kick(push, mast); in nv50_crtc_cursor_show_hide()
1025 struct nv50_mast *mast = nv50_mast(crtc->dev); in nv50_crtc_prepare() local
1030 push = evo_wait(mast, 6); in nv50_crtc_prepare()
1032 if (nv50_vers(mast) < G82_DISP_CORE_CHANNEL_DMA) { in nv50_crtc_prepare()
1038 if (nv50_vers(mast) < GF110_DISP_CORE_CHANNEL_DMA) { in nv50_crtc_prepare()
1054 evo_kick(push, mast); in nv50_crtc_prepare()
1064 struct nv50_mast *mast = nv50_mast(crtc->dev); in nv50_crtc_commit() local
1067 push = evo_wait(mast, 32); in nv50_crtc_commit()
1069 if (nv50_vers(mast) < G82_DISP_CORE_CHANNEL_DMA) { in nv50_crtc_commit()
1076 if (nv50_vers(mast) < GF110_DISP_CORE_CHANNEL_DMA) { in nv50_crtc_commit()
1083 evo_data(push, mast->base.vram.handle); in nv50_crtc_commit()
1093 evo_data(push, mast->base.vram.handle); in nv50_crtc_commit()
1098 evo_kick(push, mast); in nv50_crtc_commit()
1135 struct nv50_mast *mast = nv50_mast(crtc->dev); in nv50_crtc_mode_set() local
1174 push = evo_wait(mast, 64); in nv50_crtc_mode_set()
1176 if (nv50_vers(mast) < GF110_DISP_CORE_CHANNEL_DMA) { in nv50_crtc_mode_set()
1211 evo_kick(push, mast); in nv50_crtc_mode_set()
1219 if (nv50_vers(mast) < GF110_DISP_CORE_CHANNEL_DMA) in nv50_crtc_mode_set()
1576 struct nv50_mast *mast = nv50_mast(encoder->dev); in nv50_dac_mode_set() local
1583 push = evo_wait(mast, 8); in nv50_dac_mode_set()
1585 if (nv50_vers(mast) < GF110_DISP_CORE_CHANNEL_DMA) { in nv50_dac_mode_set()
1615 evo_kick(push, mast); in nv50_dac_mode_set()
1625 struct nv50_mast *mast = nv50_mast(encoder->dev); in nv50_dac_disconnect() local
1632 push = evo_wait(mast, 4); in nv50_dac_disconnect()
1634 if (nv50_vers(mast) < GF110_DISP_CORE_CHANNEL_DMA) { in nv50_dac_disconnect()
1641 evo_kick(push, mast); in nv50_dac_disconnect()
1896 struct nv50_mast *mast = nv50_mast(nv_encoder->base.base.dev); in nv50_sor_ctrl() local
1898 if (temp != nv_encoder->ctrl && (push = evo_wait(mast, 2))) { in nv50_sor_ctrl()
1899 if (nv50_vers(mast) < GF110_DISP_CORE_CHANNEL_DMA) { in nv50_sor_ctrl()
1906 evo_kick(push, mast); in nv50_sor_ctrl()
1948 struct nv50_mast *mast = nv50_mast(encoder->dev); in nv50_sor_mode_set() local
2031 if (nv50_vers(mast) >= GF110_DISP) { in nv50_sor_mode_set()
2032 u32 *push = evo_wait(mast, 3); in nv50_sor_mode_set()
2048 evo_kick(push, mast); in nv50_sor_mode_set()
2179 struct nv50_mast *mast = nv50_mast(encoder->dev); in nv50_pior_mode_set() local
2207 push = evo_wait(mast, 8); in nv50_pior_mode_set()
2209 if (nv50_vers(mast) < GF110_DISP_CORE_CHANNEL_DMA) { in nv50_pior_mode_set()
2219 evo_kick(push, mast); in nv50_pior_mode_set()
2229 struct nv50_mast *mast = nv50_mast(encoder->dev); in nv50_pior_disconnect() local
2236 push = evo_wait(mast, 4); in nv50_pior_disconnect()
2238 if (nv50_vers(mast) < GF110_DISP_CORE_CHANNEL_DMA) { in nv50_pior_disconnect()
2242 evo_kick(push, mast); in nv50_pior_disconnect()
2335 struct nv50_mast *mast = nv50_mast(dev); in nv50_fbdma_init() local
2393 ret = nvif_object_init(&mast->base.base.user, name, NV_DMA_IN_MEMORY, in nv50_fbdma_init()
2494 nv50_dmac_destroy(&disp->mast.base, disp->disp); in nv50_display_destroy()
2548 &disp->mast); in nv50_display_create()