Home
last modified time | relevance | path

Searched refs:adjusted_mode (Results 1 – 25 of 238) sorted by relevance

12345678910

/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dintel_panel.c419 sync_width = adjusted_mode->crtc_hsync_end - adjusted_mode->crtc_hsync_start; in centre_horizontally()
420 blank_width = adjusted_mode->crtc_hblank_end - adjusted_mode->crtc_hblank_start; in centre_horizontally()
428 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_hblank_start + blank_width; in centre_horizontally()
430 adjusted_mode->crtc_hsync_start = adjusted_mode->crtc_hblank_start + sync_pos; in centre_horizontally()
431 adjusted_mode->crtc_hsync_end = adjusted_mode->crtc_hsync_start + sync_width; in centre_horizontally()
441 sync_width = adjusted_mode->crtc_vsync_end - adjusted_mode->crtc_vsync_start; in centre_vertically()
442 blank_width = adjusted_mode->crtc_vblank_end - adjusted_mode->crtc_vblank_start; in centre_vertically()
451 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vblank_start + sync_pos; in centre_vertically()
452 adjusted_mode->crtc_vsync_end = adjusted_mode->crtc_vsync_start + sync_width; in centre_vertically()
493 struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; in i9xx_scale_aspect() local
[all …]
A Dvlv_dsi.c279 struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_dsi_compute_config() local
1180 adjusted_mode->crtc_hsync_start = hfp + adjusted_mode->crtc_hdisplay; in bxt_dsi_get_pipe_config()
1182 adjusted_mode->crtc_hblank_start = adjusted_mode->crtc_hdisplay; in bxt_dsi_get_pipe_config()
1183 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in bxt_dsi_get_pipe_config()
1185 adjusted_mode->crtc_vsync_start = vfp + adjusted_mode->crtc_vdisplay; in bxt_dsi_get_pipe_config()
1187 adjusted_mode->crtc_vblank_start = adjusted_mode->crtc_vdisplay; in bxt_dsi_get_pipe_config()
1188 adjusted_mode->crtc_vblank_end = adjusted_mode->crtc_vtotal; in bxt_dsi_get_pipe_config()
1316 hfp = adjusted_mode->crtc_hsync_start - adjusted_mode->crtc_hdisplay; in set_dsi_timings()
1318 hbp = adjusted_mode->crtc_htotal - adjusted_mode->crtc_hsync_end; in set_dsi_timings()
1329 vfp = adjusted_mode->crtc_vsync_start - adjusted_mode->crtc_vdisplay; in set_dsi_timings()
[all …]
A Dintel_vrr.c107 struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; in intel_vrr_compute_config() local
114 if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) in intel_vrr_compute_config()
120 vmin = DIV_ROUND_UP(adjusted_mode->crtc_clock * 1000, in intel_vrr_compute_config()
121 adjusted_mode->crtc_htotal * info->monitor_range.max_vfreq); in intel_vrr_compute_config()
122 vmax = adjusted_mode->crtc_clock * 1000 / in intel_vrr_compute_config()
123 (adjusted_mode->crtc_htotal * info->monitor_range.min_vfreq); in intel_vrr_compute_config()
125 vmin = max_t(int, vmin, adjusted_mode->crtc_vtotal); in intel_vrr_compute_config()
126 vmax = max_t(int, vmax, adjusted_mode->crtc_vtotal); in intel_vrr_compute_config()
154 crtc_state->vrr.vmin + 1 - adjusted_mode->crtc_vdisplay; in intel_vrr_compute_config()
157 min(255, crtc_state->vrr.vmin - adjusted_mode->crtc_vdisplay - in intel_vrr_compute_config()
A Ddvo_ns2501.c576 adjusted_mode->crtc_clock, in ns2501_mode_set()
577 adjusted_mode->crtc_hdisplay, in ns2501_mode_set()
579 adjusted_mode->crtc_hblank_end, in ns2501_mode_set()
580 adjusted_mode->crtc_hsync_start, in ns2501_mode_set()
581 adjusted_mode->crtc_hsync_end, in ns2501_mode_set()
582 adjusted_mode->crtc_htotal, in ns2501_mode_set()
583 adjusted_mode->crtc_hskew, in ns2501_mode_set()
584 adjusted_mode->crtc_vdisplay, in ns2501_mode_set()
586 adjusted_mode->crtc_vblank_end, in ns2501_mode_set()
588 adjusted_mode->crtc_vsync_end, in ns2501_mode_set()
[all …]
A Dintel_dvo.c176 pipe_config->hw.adjusted_mode.flags |= flags; in intel_dvo_get_config()
178 pipe_config->hw.adjusted_mode.crtc_clock = pipe_config->port_clock; in intel_dvo_get_config()
207 &pipe_config->hw.adjusted_mode); in intel_enable_dvo()
253 struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_dvo_compute_config() local
266 ret = intel_panel_compute_config(connector, adjusted_mode); in intel_dvo_compute_config()
271 if (adjusted_mode->flags & DRM_MODE_FLAG_DBLSCAN) in intel_dvo_compute_config()
286 const struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_dvo_pre_enable() local
300 if (adjusted_mode->flags & DRM_MODE_FLAG_PHSYNC) in intel_dvo_pre_enable()
302 if (adjusted_mode->flags & DRM_MODE_FLAG_PVSYNC) in intel_dvo_pre_enable()
306 DVO_SRCDIM_HORIZONTAL(adjusted_mode->crtc_hdisplay) | in intel_dvo_pre_enable()
[all …]
A Dicl_dsi.c312 &pipe_config->hw.adjusted_mode; in configure_dual_link_mode()
887 &crtc_state->hw.adjusted_mode; in gen11_dsi_set_transcoder_timings()
1507 adjusted_mode->crtc_htotal = in gen11_dsi_get_timings()
1511 adjusted_mode->crtc_hsync_end = in gen11_dsi_get_timings()
1518 adjusted_mode->crtc_hdisplay -= in gen11_dsi_get_timings()
1522 adjusted_mode->crtc_hblank_start = adjusted_mode->crtc_hdisplay; in gen11_dsi_get_timings()
1523 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in gen11_dsi_get_timings()
1531 adjusted_mode->crtc_vblank_start = adjusted_mode->crtc_vdisplay; in gen11_dsi_get_timings()
1532 adjusted_mode->crtc_vblank_end = adjusted_mode->crtc_vtotal; in gen11_dsi_get_timings()
1667 &pipe_config->hw.adjusted_mode; in gen11_dsi_compute_config()
[all …]
A Dintel_crt.c170 const struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; in intel_crt_set_dpms() local
178 if (adjusted_mode->flags & DRM_MODE_FLAG_PHSYNC) in intel_crt_set_dpms()
180 if (adjusted_mode->flags & DRM_MODE_FLAG_PVSYNC) in intel_crt_set_dpms()
390 struct drm_display_mode *adjusted_mode = in intel_crt_compute_config() local
391 &pipe_config->hw.adjusted_mode; in intel_crt_compute_config()
405 struct drm_display_mode *adjusted_mode = in pch_crt_compute_config() local
406 &pipe_config->hw.adjusted_mode; in pch_crt_compute_config()
422 struct drm_display_mode *adjusted_mode = in hsw_crt_compute_config() local
423 &pipe_config->hw.adjusted_mode; in hsw_crt_compute_config()
429 if (adjusted_mode->crtc_hdisplay > 4096 || in hsw_crt_compute_config()
[all …]
A Dintel_panel.h36 const struct drm_display_mode *adjusted_mode);
39 const struct drm_display_mode *adjusted_mode);
48 struct drm_display_mode *adjusted_mode);
A Dintel_tv.c1091 struct drm_display_mode *adjusted_mode = in intel_tv_get_config() local
1092 &pipe_config->hw.adjusted_mode; in intel_tv_get_config()
1159 adjusted_mode->crtc_clock = mode.clock; in intel_tv_get_config()
1161 adjusted_mode->crtc_clock /= 2; in intel_tv_get_config()
1197 struct drm_display_mode *adjusted_mode = in intel_tv_compute_config() local
1198 &pipe_config->hw.adjusted_mode; in intel_tv_compute_config()
1223 drm_mode_set_crtcinfo(adjusted_mode, 0); in intel_tv_compute_config()
1255 adjusted_mode->clock /= 2; in intel_tv_compute_config()
1256 adjusted_mode->crtc_clock /= 2; in intel_tv_compute_config()
1267 DRM_MODE_ARG(adjusted_mode)); in intel_tv_compute_config()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_encoders.c164 struct drm_display_mode *adjusted_mode) in amdgpu_panel_mode_fixup() argument
175 adjusted_mode->clock = native_mode->clock; in amdgpu_panel_mode_fixup()
176 adjusted_mode->flags = native_mode->flags; in amdgpu_panel_mode_fixup()
183 adjusted_mode->hsync_end = adjusted_mode->hsync_start + hsync_width; in amdgpu_panel_mode_fixup()
187 adjusted_mode->vsync_end = adjusted_mode->vsync_start + vsync_width; in amdgpu_panel_mode_fixup()
194 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in amdgpu_panel_mode_fixup()
195 adjusted_mode->crtc_hsync_start = adjusted_mode->crtc_hdisplay + hover; in amdgpu_panel_mode_fixup()
196 adjusted_mode->crtc_hsync_end = adjusted_mode->crtc_hsync_start + hsync_width; in amdgpu_panel_mode_fixup()
198 adjusted_mode->crtc_vtotal = adjusted_mode->crtc_vdisplay + vblank; in amdgpu_panel_mode_fixup()
199 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + vover; in amdgpu_panel_mode_fixup()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Dradeon_encoders.c317 struct drm_display_mode *adjusted_mode) in radeon_panel_mode_fixup() argument
330 adjusted_mode->clock = native_mode->clock; in radeon_panel_mode_fixup()
331 adjusted_mode->flags = native_mode->flags; in radeon_panel_mode_fixup()
340 adjusted_mode->hsync_end = adjusted_mode->hsync_start + hsync_width; in radeon_panel_mode_fixup()
344 adjusted_mode->vsync_end = adjusted_mode->vsync_start + vsync_width; in radeon_panel_mode_fixup()
353 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in radeon_panel_mode_fixup()
354 adjusted_mode->crtc_hsync_start = adjusted_mode->crtc_hdisplay + hover; in radeon_panel_mode_fixup()
355 adjusted_mode->crtc_hsync_end = adjusted_mode->crtc_hsync_start + hsync_width; in radeon_panel_mode_fixup()
357 adjusted_mode->crtc_vtotal = adjusted_mode->crtc_vdisplay + vblank; in radeon_panel_mode_fixup()
358 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + vover; in radeon_panel_mode_fixup()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/gma500/
A Doaktrail_crtc.c361 struct drm_display_mode *adjusted_mode, in oaktrail_crtc_mode_set() argument
440 offsetX = (adjusted_mode->crtc_hdisplay - in oaktrail_crtc_mode_set()
442 offsetY = (adjusted_mode->crtc_vdisplay - in oaktrail_crtc_mode_set()
447 ((adjusted_mode->crtc_htotal - 1) << 16), i); in oaktrail_crtc_mode_set()
449 ((adjusted_mode->crtc_vtotal - 1) << 16), i); in oaktrail_crtc_mode_set()
454 (adjusted_mode->crtc_hsync_start - offsetX - 1) | in oaktrail_crtc_mode_set()
466 ((adjusted_mode->crtc_htotal - 1) << 16), i); in oaktrail_crtc_mode_set()
468 ((adjusted_mode->crtc_vtotal - 1) << 16), i); in oaktrail_crtc_mode_set()
472 ((adjusted_mode->crtc_hsync_end - 1) << 16), i); in oaktrail_crtc_mode_set()
476 ((adjusted_mode->crtc_vsync_end - 1) << 16), i); in oaktrail_crtc_mode_set()
[all …]
A Doaktrail_hdmi.c329 temp = htotal_calculate(adjusted_mode); in oaktrail_crtc_hdmi_mode_set()
331 …REG_WRITE(hblank_reg, (adjusted_mode->crtc_hblank_start - 1) | ((adjusted_mode->crtc_hblank_end - … in oaktrail_crtc_hdmi_mode_set()
332 …REG_WRITE(hsync_reg, (adjusted_mode->crtc_hsync_start - 1) | ((adjusted_mode->crtc_hsync_end - 1) … in oaktrail_crtc_hdmi_mode_set()
333 REG_WRITE(vtot_reg, (adjusted_mode->crtc_vdisplay - 1) | ((adjusted_mode->crtc_vtotal - 1) << 16)); in oaktrail_crtc_hdmi_mode_set()
334 …REG_WRITE(vblank_reg, (adjusted_mode->crtc_vblank_start - 1) | ((adjusted_mode->crtc_vblank_end - … in oaktrail_crtc_hdmi_mode_set()
335 …REG_WRITE(vsync_reg, (adjusted_mode->crtc_vsync_start - 1) | ((adjusted_mode->crtc_vsync_end - 1) … in oaktrail_crtc_hdmi_mode_set()
338 …REG_WRITE(PCH_HTOTAL_B, (adjusted_mode->crtc_hdisplay - 1) | ((adjusted_mode->crtc_htotal - 1) << … in oaktrail_crtc_hdmi_mode_set()
340 …REG_WRITE(PCH_HSYNC_B, (adjusted_mode->crtc_hsync_start - 1) | ((adjusted_mode->crtc_hsync_end - 1… in oaktrail_crtc_hdmi_mode_set()
341 …REG_WRITE(PCH_VTOTAL_B, (adjusted_mode->crtc_vdisplay - 1) | ((adjusted_mode->crtc_vtotal - 1) << … in oaktrail_crtc_hdmi_mode_set()
343 …REG_WRITE(PCH_VSYNC_B, (adjusted_mode->crtc_vsync_start - 1) | ((adjusted_mode->crtc_vsync_end - 1… in oaktrail_crtc_hdmi_mode_set()
[all …]
A Dpsb_intel_display.c95 struct drm_display_mode *adjusted_mode, in psb_intel_crtc_mode_set() argument
152 adjusted_mode->clock, clock.dot); in psb_intel_crtc_mode_set()
166 adjusted_mode->clock / mode->clock; in psb_intel_crtc_mode_set()
267 REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in psb_intel_crtc_mode_set()
268 ((adjusted_mode->crtc_htotal - 1) << 16)); in psb_intel_crtc_mode_set()
270 ((adjusted_mode->crtc_hblank_end - 1) << 16)); in psb_intel_crtc_mode_set()
272 ((adjusted_mode->crtc_hsync_end - 1) << 16)); in psb_intel_crtc_mode_set()
273 REG_WRITE(map->vtotal, (adjusted_mode->crtc_vdisplay - 1) | in psb_intel_crtc_mode_set()
274 ((adjusted_mode->crtc_vtotal - 1) << 16)); in psb_intel_crtc_mode_set()
276 ((adjusted_mode->crtc_vblank_end - 1) << 16)); in psb_intel_crtc_mode_set()
[all …]
A Dcdv_intel_lvds.c182 struct drm_display_mode *adjusted_mode) in cdv_intel_lvds_mode_fixup() argument
207 adjusted_mode->hdisplay = panel_fixed_mode->hdisplay; in cdv_intel_lvds_mode_fixup()
209 adjusted_mode->hsync_end = panel_fixed_mode->hsync_end; in cdv_intel_lvds_mode_fixup()
210 adjusted_mode->htotal = panel_fixed_mode->htotal; in cdv_intel_lvds_mode_fixup()
211 adjusted_mode->vdisplay = panel_fixed_mode->vdisplay; in cdv_intel_lvds_mode_fixup()
214 adjusted_mode->vtotal = panel_fixed_mode->vtotal; in cdv_intel_lvds_mode_fixup()
215 adjusted_mode->clock = panel_fixed_mode->clock; in cdv_intel_lvds_mode_fixup()
216 drm_mode_set_crtcinfo(adjusted_mode, in cdv_intel_lvds_mode_fixup()
262 struct drm_display_mode *adjusted_mode) in cdv_intel_lvds_mode_set() argument
280 if (mode->hdisplay != adjusted_mode->hdisplay || in cdv_intel_lvds_mode_set()
[all …]
A Dpsb_intel_lvds.c363 struct drm_display_mode *adjusted_mode) in psb_intel_lvds_mode_fixup() argument
402 adjusted_mode->hdisplay = panel_fixed_mode->hdisplay; in psb_intel_lvds_mode_fixup()
404 adjusted_mode->hsync_end = panel_fixed_mode->hsync_end; in psb_intel_lvds_mode_fixup()
405 adjusted_mode->htotal = panel_fixed_mode->htotal; in psb_intel_lvds_mode_fixup()
406 adjusted_mode->vdisplay = panel_fixed_mode->vdisplay; in psb_intel_lvds_mode_fixup()
409 adjusted_mode->vtotal = panel_fixed_mode->vtotal; in psb_intel_lvds_mode_fixup()
410 adjusted_mode->clock = panel_fixed_mode->clock; in psb_intel_lvds_mode_fixup()
411 drm_mode_set_crtcinfo(adjusted_mode, in psb_intel_lvds_mode_fixup()
457 struct drm_display_mode *adjusted_mode) in psb_intel_lvds_mode_set() argument
474 if (mode->hdisplay != adjusted_mode->hdisplay || in psb_intel_lvds_mode_set()
[all …]
A Dcdv_intel_display.c573 struct drm_display_mode *adjusted_mode, in cdv_intel_crtc_mode_set() argument
653 drm_mode_debug_printmodeline(adjusted_mode); in cdv_intel_crtc_mode_set()
661 adjusted_mode->clock, clock.dot); in cdv_intel_crtc_mode_set()
668 cdv_intel_dp_set_m_n(crtc, mode, adjusted_mode); in cdv_intel_crtc_mode_set()
783 REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in cdv_intel_crtc_mode_set()
784 ((adjusted_mode->crtc_htotal - 1) << 16)); in cdv_intel_crtc_mode_set()
786 ((adjusted_mode->crtc_hblank_end - 1) << 16)); in cdv_intel_crtc_mode_set()
788 ((adjusted_mode->crtc_hsync_end - 1) << 16)); in cdv_intel_crtc_mode_set()
790 ((adjusted_mode->crtc_vtotal - 1) << 16)); in cdv_intel_crtc_mode_set()
792 ((adjusted_mode->crtc_vblank_end - 1) << 16)); in cdv_intel_crtc_mode_set()
[all …]
A Doaktrail_lvds.c84 struct drm_display_mode *adjusted_mode) in oaktrail_lvds_mode_set() argument
136 if ((mode->vdisplay != adjusted_mode->crtc_vdisplay) || in oaktrail_lvds_mode_set()
137 (mode->hdisplay != adjusted_mode->crtc_hdisplay)) { in oaktrail_lvds_mode_set()
138 if ((adjusted_mode->crtc_hdisplay * mode->vdisplay) == in oaktrail_lvds_mode_set()
139 (mode->hdisplay * adjusted_mode->crtc_vdisplay)) in oaktrail_lvds_mode_set()
141 else if ((adjusted_mode->crtc_hdisplay * in oaktrail_lvds_mode_set()
143 adjusted_mode->crtc_vdisplay)) in oaktrail_lvds_mode_set()
A Dcdv_intel_dp.c874 struct drm_display_mode *adjusted_mode) in cdv_intel_fixed_panel_mode() argument
876 adjusted_mode->hdisplay = fixed_mode->hdisplay; in cdv_intel_fixed_panel_mode()
879 adjusted_mode->htotal = fixed_mode->htotal; in cdv_intel_fixed_panel_mode()
881 adjusted_mode->vdisplay = fixed_mode->vdisplay; in cdv_intel_fixed_panel_mode()
884 adjusted_mode->vtotal = fixed_mode->vtotal; in cdv_intel_fixed_panel_mode()
886 adjusted_mode->clock = fixed_mode->clock; in cdv_intel_fixed_panel_mode()
893 struct drm_display_mode *adjusted_mode) in cdv_intel_dp_mode_fixup() argument
922 adjusted_mode->clock); in cdv_intel_dp_mode_fixup()
935 adjusted_mode->clock); in cdv_intel_dp_mode_fixup()
984 struct drm_display_mode *adjusted_mode) in cdv_intel_dp_set_m_n() argument
[all …]
/linux-6.3-rc2/include/drm/
A Ddrm_encoder_slave.h60 struct drm_display_mode *adjusted_mode);
65 struct drm_display_mode *adjusted_mode);
172 struct drm_display_mode *adjusted_mode);
177 struct drm_display_mode *adjusted_mode);
A Ddrm_modeset_helper_vtables.h193 struct drm_display_mode *adjusted_mode);
211 struct drm_display_mode *adjusted_mode, int x, int y,
608 struct drm_display_mode *adjusted_mode);
664 struct drm_display_mode *adjusted_mode);
/linux-6.3-rc2/drivers/gpu/drm/arm/display/komeda/
A Dkomeda_crtc.c55 pxlclk = kcrtc_st->base.adjusted_mode.crtc_clock * 1000ULL; in komeda_crtc_update_clock_ratio()
114 struct drm_display_mode *mode = &kcrtc_st->base.adjusted_mode; in komeda_crtc_prepare()
460 struct drm_display_mode *adjusted_mode) in komeda_crtc_mode_fixup() argument
465 drm_mode_set_crtcinfo(adjusted_mode, 0); in komeda_crtc_mode_fixup()
468 adjusted_mode->crtc_clock /= 2; in komeda_crtc_mode_fixup()
469 adjusted_mode->crtc_hdisplay /= 2; in komeda_crtc_mode_fixup()
470 adjusted_mode->crtc_hsync_start /= 2; in komeda_crtc_mode_fixup()
471 adjusted_mode->crtc_hsync_end /= 2; in komeda_crtc_mode_fixup()
472 adjusted_mode->crtc_htotal /= 2; in komeda_crtc_mode_fixup()
475 clk_rate = adjusted_mode->crtc_clock * 1000; in komeda_crtc_mode_fixup()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_encoder_slave.c136 struct drm_display_mode *adjusted_mode) in drm_i2c_encoder_mode_fixup() argument
141 return get_slave_funcs(encoder)->mode_fixup(encoder, mode, adjusted_mode); in drm_i2c_encoder_mode_fixup()
159 struct drm_display_mode *adjusted_mode) in drm_i2c_encoder_mode_set() argument
161 get_slave_funcs(encoder)->mode_set(encoder, mode, adjusted_mode); in drm_i2c_encoder_mode_set()
/linux-6.3-rc2/drivers/gpu/drm/ast/
A Dast_mode.c112 struct drm_display_mode *adjusted_mode, in ast_get_vbios_mode_info() argument
214 adjusted_mode->crtc_htotal = vbios_mode->enh_table->ht; in ast_get_vbios_mode_info()
223 adjusted_mode->crtc_vtotal = vbios_mode->enh_table->vt; in ast_get_vbios_mode_info()
267 const struct drm_display_mode *adjusted_mode, in ast_set_vbios_mode_reg() argument
1165 &crtc_state->adjusted_mode, in ast_crtc_helper_atomic_check()
1210 struct drm_display_mode *adjusted_mode = &crtc_state->adjusted_mode; in ast_crtc_helper_atomic_enable() local
1212 ast_set_vbios_mode_reg(ast, adjusted_mode, vbios_mode_info); in ast_crtc_helper_atomic_enable()
1214 ast_set_std_reg(ast, adjusted_mode, vbios_mode_info); in ast_crtc_helper_atomic_enable()
1215 ast_set_crtc_reg(ast, adjusted_mode, vbios_mode_info); in ast_crtc_helper_atomic_enable()
1216 ast_set_dclk_reg(ast, adjusted_mode, vbios_mode_info); in ast_crtc_helper_atomic_enable()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/bridge/imx/
A Dimx8qxp-ldb-drv.c92 struct drm_display_mode *adj = &crtc_state->adjusted_mode; in imx8qxp_ldb_bridge_atomic_check()
125 const struct drm_display_mode *adjusted_mode) in imx8qxp_ldb_bridge_mode_set() argument
135 unsigned long di_clk = adjusted_mode->clock * 1000; in imx8qxp_ldb_bridge_mode_set()
187 ldb_bridge_mode_set_helper(bridge, mode, adjusted_mode); in imx8qxp_ldb_bridge_mode_set()
189 if (adjusted_mode->flags & DRM_MODE_FLAG_NVSYNC) in imx8qxp_ldb_bridge_mode_set()
191 else if (adjusted_mode->flags & DRM_MODE_FLAG_PVSYNC) in imx8qxp_ldb_bridge_mode_set()
195 if (adjusted_mode->flags & DRM_MODE_FLAG_NHSYNC) in imx8qxp_ldb_bridge_mode_set()
197 else if (adjusted_mode->flags & DRM_MODE_FLAG_PHSYNC) in imx8qxp_ldb_bridge_mode_set()
202 companion->funcs->mode_set(companion, mode, adjusted_mode); in imx8qxp_ldb_bridge_mode_set()

Completed in 69 milliseconds

12345678910