Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/
H A Ddrm_modes.c640 int hdisplay_rnd, hmargin, vdisplay_rnd, vmargin, vsync; in drm_cvt_mode() local
665 hdisplay_rnd = hdisplay - (hdisplay % CVT_H_GRANULARITY); in drm_cvt_mode()
670 hmargin = hdisplay_rnd * CVT_MARGIN_PERCENTAGE / 1000; in drm_cvt_mode()
674 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin; in drm_cvt_mode()
868 unsigned int hdisplay_rnd, vdisplay_rnd, vfieldrate_rqd; in drm_gtf_mode_complex() local
894 hdisplay_rnd = (hdisplay + GTF_CELL_GRAN / 2) / GTF_CELL_GRAN; in drm_gtf_mode_complex()
895 hdisplay_rnd = hdisplay_rnd * GTF_CELL_GRAN; in drm_gtf_mode_complex()
957 left_margin = (hdisplay_rnd * GTF_MARGIN_PERCENTAGE + 500) / in drm_gtf_mode_complex()
965 total_active_pixels = hdisplay_rnd + left_margin + right_margin; in drm_gtf_mode_complex()
993 drm_mode->hdisplay = hdisplay_rnd; in drm_gtf_mode_complex()
[all …]