Home
last modified time | relevance | path

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

/drivers/gpu/drm/arc/
Darcpgu_drv.c119 unsigned long mode_clock = arcpgu->crtc.mode.crtc_clock * 1000; in arcpgu_show_pxlclock() local
122 seq_printf(m, "mode: %lu\n", mode_clock); in arcpgu_show_pxlclock()
/drivers/gpu/drm/rcar-du/
Drcar_du_crtc.c215 unsigned long mode_clock = mode->clock * 1000; in rcar_du_crtc_set_display_timing() local
220 unsigned long target = mode_clock; in rcar_du_crtc_set_display_timing()
273 rcar_du_escr_divider(rcrtc->clock, mode_clock, in rcar_du_crtc_set_display_timing()
276 rcar_du_escr_divider(rcrtc->extclock, mode_clock, in rcar_du_crtc_set_display_timing()
280 mode_clock, params.clk == rcrtc->clock ? "cpg" : "ext", in rcar_du_crtc_set_display_timing()
/drivers/gpu/drm/arm/
Dhdlcd_drv.c215 unsigned long mode_clock = hdlcd->crtc.mode.crtc_clock * 1000; in hdlcd_show_pxlclock() local
218 seq_printf(m, "mode: %lu\n", mode_clock); in hdlcd_show_pxlclock()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_connectors.c104 unsigned mode_clock, max_tmds_clock; in amdgpu_connector_get_monitor_bpc() local
167 mode_clock = amdgpu_connector->pixelclock_for_modeset; in amdgpu_connector_get_monitor_bpc()
173 connector->name, mode_clock, max_tmds_clock); in amdgpu_connector_get_monitor_bpc()
176 if ((bpc == 12) && (mode_clock * 3/2 > max_tmds_clock)) { in amdgpu_connector_get_monitor_bpc()
178 (mode_clock * 5/4 <= max_tmds_clock)) in amdgpu_connector_get_monitor_bpc()
187 if ((bpc == 10) && (mode_clock * 5/4 > max_tmds_clock)) { in amdgpu_connector_get_monitor_bpc()
/drivers/gpu/drm/i915/display/
Dintel_dp.h117 u32 intel_dp_mode_to_fec_clock(u32 mode_clock);
Dintel_dp.c497 u32 intel_dp_mode_to_fec_clock(u32 mode_clock) in intel_dp_mode_to_fec_clock() argument
499 return div_u64(mul_u32_u32(mode_clock, 1000000U), in intel_dp_mode_to_fec_clock()
504 u32 mode_clock, u32 mode_hdisplay) in intel_dp_dsc_get_output_bpp() argument
516 intel_dp_mode_to_fec_clock(mode_clock); in intel_dp_dsc_get_output_bpp()
551 int mode_clock, int mode_hdisplay) in intel_dp_dsc_get_slice_count() argument
556 if (mode_clock <= DP_DSC_PEAK_PIXEL_RATE) in intel_dp_dsc_get_slice_count()
557 min_slice_count = DIV_ROUND_UP(mode_clock, in intel_dp_dsc_get_slice_count()
560 min_slice_count = DIV_ROUND_UP(mode_clock, in intel_dp_dsc_get_slice_count()
Dintel_sdvo.c832 int mode_clock; in intel_sdvo_get_dtd_from_mode() local
849 mode_clock = mode->clock; in intel_sdvo_get_dtd_from_mode()
850 mode_clock /= 10; in intel_sdvo_get_dtd_from_mode()
851 dtd->part1.clock = mode_clock; in intel_sdvo_get_dtd_from_mode()
/drivers/gpu/drm/radeon/
Dradeon_connectors.c127 int mode_clock, max_tmds_clock; in radeon_get_monitor_bpc() local
197 mode_clock = radeon_connector->pixelclock_for_modeset; in radeon_get_monitor_bpc()
203 connector->name, mode_clock, max_tmds_clock); in radeon_get_monitor_bpc()
206 if ((bpc == 12) && (mode_clock * 3/2 > max_tmds_clock)) { in radeon_get_monitor_bpc()
208 (mode_clock * 5/4 <= max_tmds_clock)) in radeon_get_monitor_bpc()
217 if ((bpc == 10) && (mode_clock * 5/4 > max_tmds_clock)) { in radeon_get_monitor_bpc()