Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/
Ddrm_modes.c637 int hdisplay_rnd, hmargin, vdisplay_rnd, vmargin, vsync; in drm_cvt_mode() local
662 hdisplay_rnd = hdisplay - (hdisplay % CVT_H_GRANULARITY); in drm_cvt_mode()
667 hmargin = hdisplay_rnd * CVT_MARGIN_PERCENTAGE / 1000; in drm_cvt_mode()
671 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin; in drm_cvt_mode()
865 unsigned int hdisplay_rnd, vdisplay_rnd, vfieldrate_rqd; in drm_gtf_mode_complex() local
891 hdisplay_rnd = (hdisplay + GTF_CELL_GRAN / 2) / GTF_CELL_GRAN; in drm_gtf_mode_complex()
892 hdisplay_rnd = hdisplay_rnd * GTF_CELL_GRAN; in drm_gtf_mode_complex()
954 left_margin = (hdisplay_rnd * GTF_MARGIN_PERCENTAGE + 500) / in drm_gtf_mode_complex()
962 total_active_pixels = hdisplay_rnd + left_margin + right_margin; in drm_gtf_mode_complex()
990 drm_mode->hdisplay = hdisplay_rnd; in drm_gtf_mode_complex()
[all …]