Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/meson/
H A Dmeson_venc.c896 union meson_hdmi_venc_mode *dmt_mode) in meson_venc_hdmi_get_dmt_vmode() argument
898 memset(dmt_mode, 0, sizeof(*dmt_mode)); in meson_venc_hdmi_get_dmt_vmode()
900 dmt_mode->encp.dvi_settings = 0x21; in meson_venc_hdmi_get_dmt_vmode()
901 dmt_mode->encp.video_mode = 0x4040; in meson_venc_hdmi_get_dmt_vmode()
902 dmt_mode->encp.video_mode_adv = 0x18; in meson_venc_hdmi_get_dmt_vmode()
903 dmt_mode->encp.max_pxcnt = mode->htotal - 1; in meson_venc_hdmi_get_dmt_vmode()
904 dmt_mode->encp.havon_begin = mode->htotal - mode->hsync_start; in meson_venc_hdmi_get_dmt_vmode()
905 dmt_mode->encp.havon_end = dmt_mode->encp.havon_begin + in meson_venc_hdmi_get_dmt_vmode()
907 dmt_mode->encp.vavon_bline = mode->vtotal - mode->vsync_start; in meson_venc_hdmi_get_dmt_vmode()
908 dmt_mode->encp.vavon_eline = dmt_mode->encp.vavon_bline + in meson_venc_hdmi_get_dmt_vmode()
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_client_modeset.c269 struct drm_display_mode *dmt_mode, *mode; in drm_client_target_cloned() local
314 dmt_mode = drm_mode_find_dmt(dev, 1024, 768, 60, false); in drm_client_target_cloned()
316 if (!dmt_mode) in drm_client_target_cloned()
324 if (drm_mode_match(mode, dmt_mode, in drm_client_target_cloned()
334 kfree(dmt_mode); in drm_client_target_cloned()