| /Linux-v6.1/drivers/gpu/drm/i915/display/ |
| D | intel_panel.c | 97 const struct drm_display_mode *adjusted_mode) in intel_panel_downclock_mode() argument 101 int max_vrefresh = drm_mode_vrefresh(adjusted_mode); in intel_panel_downclock_mode() 107 if (is_alt_drrs_mode(fixed_mode, adjusted_mode) && in intel_panel_downclock_mode() 119 const struct drm_display_mode *adjusted_mode) in intel_panel_highest_mode() argument 121 const struct drm_display_mode *fixed_mode, *best_mode = adjusted_mode; in intel_panel_highest_mode() 160 struct drm_display_mode *adjusted_mode) in intel_panel_compute_config() argument 163 intel_panel_fixed_mode(connector, adjusted_mode); in intel_panel_compute_config() 174 if (abs(drm_mode_vrefresh(adjusted_mode) - drm_mode_vrefresh(fixed_mode)) > 1) { in intel_panel_compute_config() 178 drm_mode_vrefresh(adjusted_mode), drm_mode_vrefresh(fixed_mode)); in intel_panel_compute_config() 183 drm_mode_copy(adjusted_mode, fixed_mode); in intel_panel_compute_config() [all …]
|
| D | vlv_dsi.c | 278 struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_dsi_compute_config() local 284 ret = intel_panel_compute_config(intel_connector, adjusted_mode); in intel_dsi_compute_config() 292 if (adjusted_mode->flags & DRM_MODE_FLAG_DBLSCAN) in intel_dsi_compute_config() 296 adjusted_mode->flags = 0; in intel_dsi_compute_config() 1103 struct drm_display_mode *adjusted_mode = in bxt_dsi_get_pipe_config() local 1104 &pipe_config->hw.adjusted_mode; in bxt_dsi_get_pipe_config() 1117 adjusted_mode_sw = &crtc->config->hw.adjusted_mode; in bxt_dsi_get_pipe_config() 1139 adjusted_mode->crtc_hdisplay = in bxt_dsi_get_pipe_config() 1142 adjusted_mode->crtc_vdisplay = in bxt_dsi_get_pipe_config() 1145 adjusted_mode->crtc_vtotal = in bxt_dsi_get_pipe_config() [all …]
|
| D | intel_vrr.c | 106 struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; in intel_vrr_compute_config() local 113 if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) in intel_vrr_compute_config() 119 vmin = DIV_ROUND_UP(adjusted_mode->crtc_clock * 1000, in intel_vrr_compute_config() 120 adjusted_mode->crtc_htotal * info->monitor_range.max_vfreq); in intel_vrr_compute_config() 121 vmax = adjusted_mode->crtc_clock * 1000 / in intel_vrr_compute_config() 122 (adjusted_mode->crtc_htotal * info->monitor_range.min_vfreq); in intel_vrr_compute_config() 124 vmin = max_t(int, vmin, adjusted_mode->crtc_vtotal); in intel_vrr_compute_config() 125 vmax = max_t(int, vmax, adjusted_mode->crtc_vtotal); in intel_vrr_compute_config() 153 crtc_state->vrr.vmin - adjusted_mode->crtc_vdisplay; in intel_vrr_compute_config() 166 min(255, crtc_state->vrr.vmin - adjusted_mode->crtc_vdisplay - 4 - 1); in intel_vrr_compute_config()
|
| D | dvo_ns2501.c | 551 const struct drm_display_mode *adjusted_mode) in ns2501_mode_set() argument 576 adjusted_mode->crtc_clock, in ns2501_mode_set() 577 adjusted_mode->crtc_hdisplay, in ns2501_mode_set() 578 adjusted_mode->crtc_hblank_start, 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() [all …]
|
| D | intel_dvo.c | 182 pipe_config->hw.adjusted_mode.flags |= flags; in intel_dvo_get_config() 184 pipe_config->hw.adjusted_mode.crtc_clock = pipe_config->port_clock; in intel_dvo_get_config() 214 &pipe_config->hw.adjusted_mode); in intel_enable_dvo() 260 struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_dvo_compute_config() local 262 intel_panel_fixed_mode(intel_dvo->attached_connector, adjusted_mode); in intel_dvo_compute_config() 273 ret = intel_panel_compute_config(connector, adjusted_mode); in intel_dvo_compute_config() 278 if (adjusted_mode->flags & DRM_MODE_FLAG_DBLSCAN) in intel_dvo_compute_config() 293 const struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_dvo_pre_enable() local 308 if (adjusted_mode->flags & DRM_MODE_FLAG_PHSYNC) in intel_dvo_pre_enable() 310 if (adjusted_mode->flags & DRM_MODE_FLAG_PVSYNC) in intel_dvo_pre_enable() [all …]
|
| D | icl_dsi.c | 310 const struct drm_display_mode *adjusted_mode = in configure_dual_link_mode() local 311 &pipe_config->hw.adjusted_mode; in configure_dual_link_mode() 313 u16 hactive = adjusted_mode->crtc_hdisplay; in configure_dual_link_mode() 885 const struct drm_display_mode *adjusted_mode = in gen11_dsi_set_transcoder_timings() local 886 &crtc_state->hw.adjusted_mode; in gen11_dsi_set_transcoder_timings() 909 hactive = adjusted_mode->crtc_hdisplay; in gen11_dsi_set_transcoder_timings() 912 htotal = DIV_ROUND_UP(adjusted_mode->crtc_htotal * mul, div); in gen11_dsi_set_transcoder_timings() 916 hsync_start = DIV_ROUND_UP(adjusted_mode->crtc_hsync_start * mul, div); in gen11_dsi_set_transcoder_timings() 917 hsync_end = DIV_ROUND_UP(adjusted_mode->crtc_hsync_end * mul, div); in gen11_dsi_set_transcoder_timings() 919 hback_porch = (adjusted_mode->crtc_htotal - in gen11_dsi_set_transcoder_timings() [all …]
|
| D | intel_crt.c | 140 pipe_config->hw.adjusted_mode.flags |= intel_crt_get_flags(encoder); in intel_crt_get_config() 142 pipe_config->hw.adjusted_mode.crtc_clock = pipe_config->port_clock; in intel_crt_get_config() 152 pipe_config->hw.adjusted_mode.flags &= ~(DRM_MODE_FLAG_PHSYNC | in hsw_crt_get_config() 156 pipe_config->hw.adjusted_mode.flags |= intel_crt_get_flags(encoder); in hsw_crt_get_config() 168 const struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; in intel_crt_set_dpms() local 176 if (adjusted_mode->flags & DRM_MODE_FLAG_PHSYNC) in intel_crt_set_dpms() 178 if (adjusted_mode->flags & DRM_MODE_FLAG_PVSYNC) in intel_crt_set_dpms() 388 struct drm_display_mode *adjusted_mode = in intel_crt_compute_config() local 389 &pipe_config->hw.adjusted_mode; in intel_crt_compute_config() 391 if (adjusted_mode->flags & DRM_MODE_FLAG_DBLSCAN) in intel_crt_compute_config() [all …]
|
| D | intel_panel.h | 33 const struct drm_display_mode *adjusted_mode); 36 const struct drm_display_mode *adjusted_mode); 45 struct drm_display_mode *adjusted_mode);
|
| D | intel_tv.c | 1089 struct drm_display_mode *adjusted_mode = in intel_tv_get_config() local 1090 &pipe_config->hw.adjusted_mode; in intel_tv_get_config() 1094 int hdisplay = adjusted_mode->crtc_hdisplay; in intel_tv_get_config() 1095 int vdisplay = adjusted_mode->crtc_vdisplay; in intel_tv_get_config() 1157 adjusted_mode->crtc_clock = mode.clock; in intel_tv_get_config() 1158 if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) in intel_tv_get_config() 1159 adjusted_mode->crtc_clock /= 2; in intel_tv_get_config() 1195 struct drm_display_mode *adjusted_mode = in intel_tv_compute_config() local 1196 &pipe_config->hw.adjusted_mode; in intel_tv_compute_config() 1197 int hdisplay = adjusted_mode->crtc_hdisplay; in intel_tv_compute_config() [all …]
|
| /Linux-v6.1/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_encoders.c | 165 struct drm_display_mode *adjusted_mode) in amdgpu_panel_mode_fixup() argument 176 adjusted_mode->clock = native_mode->clock; in amdgpu_panel_mode_fixup() 177 adjusted_mode->flags = native_mode->flags; in amdgpu_panel_mode_fixup() 179 adjusted_mode->hdisplay = native_mode->hdisplay; in amdgpu_panel_mode_fixup() 180 adjusted_mode->vdisplay = native_mode->vdisplay; in amdgpu_panel_mode_fixup() 182 adjusted_mode->htotal = native_mode->hdisplay + hblank; in amdgpu_panel_mode_fixup() 183 adjusted_mode->hsync_start = native_mode->hdisplay + hover; in amdgpu_panel_mode_fixup() 184 adjusted_mode->hsync_end = adjusted_mode->hsync_start + hsync_width; in amdgpu_panel_mode_fixup() 186 adjusted_mode->vtotal = native_mode->vdisplay + vblank; in amdgpu_panel_mode_fixup() 187 adjusted_mode->vsync_start = native_mode->vdisplay + vover; in amdgpu_panel_mode_fixup() [all …]
|
| /Linux-v6.1/drivers/gpu/drm/radeon/ |
| D | radeon_encoders.c | 318 struct drm_display_mode *adjusted_mode) in radeon_panel_mode_fixup() argument 331 adjusted_mode->clock = native_mode->clock; in radeon_panel_mode_fixup() 332 adjusted_mode->flags = native_mode->flags; in radeon_panel_mode_fixup() 335 adjusted_mode->hdisplay = native_mode->hdisplay; in radeon_panel_mode_fixup() 336 adjusted_mode->vdisplay = native_mode->vdisplay; in radeon_panel_mode_fixup() 339 adjusted_mode->htotal = native_mode->hdisplay + hblank; in radeon_panel_mode_fixup() 340 adjusted_mode->hsync_start = native_mode->hdisplay + hover; in radeon_panel_mode_fixup() 341 adjusted_mode->hsync_end = adjusted_mode->hsync_start + hsync_width; in radeon_panel_mode_fixup() 343 adjusted_mode->vtotal = native_mode->vdisplay + vblank; in radeon_panel_mode_fixup() 344 adjusted_mode->vsync_start = native_mode->vdisplay + vover; in radeon_panel_mode_fixup() [all …]
|
| /Linux-v6.1/drivers/gpu/drm/gma500/ |
| D | oaktrail_crtc.c | 360 struct drm_display_mode *adjusted_mode, in oaktrail_crtc_mode_set() argument 384 return oaktrail_crtc_hdmi_mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in oaktrail_crtc_mode_set() 390 drm_mode_copy(&gma_crtc->saved_adjusted_mode, adjusted_mode); in oaktrail_crtc_mode_set() 439 offsetX = (adjusted_mode->crtc_hdisplay - in oaktrail_crtc_mode_set() 441 offsetY = (adjusted_mode->crtc_vdisplay - in oaktrail_crtc_mode_set() 446 ((adjusted_mode->crtc_htotal - 1) << 16), i); in oaktrail_crtc_mode_set() 448 ((adjusted_mode->crtc_vtotal - 1) << 16), i); in oaktrail_crtc_mode_set() 450 (adjusted_mode->crtc_hblank_start - offsetX - 1) | in oaktrail_crtc_mode_set() 451 ((adjusted_mode->crtc_hblank_end - offsetX - 1) << 16), i); in oaktrail_crtc_mode_set() 453 (adjusted_mode->crtc_hsync_start - offsetX - 1) | in oaktrail_crtc_mode_set() [all …]
|
| D | oaktrail_hdmi.c | 263 struct drm_display_mode *adjusted_mode, in oaktrail_crtc_hdmi_mode_set() argument 306 oaktrail_hdmi_find_dpll(crtc, adjusted_mode->clock, refclk, &clock); in oaktrail_crtc_hdmi_mode_set() 327 temp = htotal_calculate(adjusted_mode); in oaktrail_crtc_hdmi_mode_set() 329 …REG_WRITE(hblank_reg, (adjusted_mode->crtc_hblank_start - 1) | ((adjusted_mode->crtc_hblank_end - … in oaktrail_crtc_hdmi_mode_set() 330 …REG_WRITE(hsync_reg, (adjusted_mode->crtc_hsync_start - 1) | ((adjusted_mode->crtc_hsync_end - 1) … in oaktrail_crtc_hdmi_mode_set() 331 REG_WRITE(vtot_reg, (adjusted_mode->crtc_vdisplay - 1) | ((adjusted_mode->crtc_vtotal - 1) << 16)); in oaktrail_crtc_hdmi_mode_set() 332 …REG_WRITE(vblank_reg, (adjusted_mode->crtc_vblank_start - 1) | ((adjusted_mode->crtc_vblank_end - … in oaktrail_crtc_hdmi_mode_set() 333 …REG_WRITE(vsync_reg, (adjusted_mode->crtc_vsync_start - 1) | ((adjusted_mode->crtc_vsync_end - 1) … in oaktrail_crtc_hdmi_mode_set() 336 …REG_WRITE(PCH_HTOTAL_B, (adjusted_mode->crtc_hdisplay - 1) | ((adjusted_mode->crtc_htotal - 1) << … in oaktrail_crtc_hdmi_mode_set() 337 …REG_WRITE(PCH_HBLANK_B, (adjusted_mode->crtc_hblank_start - 1) | ((adjusted_mode->crtc_hblank_end … in oaktrail_crtc_hdmi_mode_set() [all …]
|
| D | psb_intel_display.c | 92 struct drm_display_mode *adjusted_mode, in psb_intel_crtc_mode_set() argument 145 ok = limit->find_pll(limit, crtc, adjusted_mode->clock, refclk, in psb_intel_crtc_mode_set() 149 adjusted_mode->clock, clock.dot); in psb_intel_crtc_mode_set() 163 adjusted_mode->clock / mode->clock; in psb_intel_crtc_mode_set() 264 REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in psb_intel_crtc_mode_set() 265 ((adjusted_mode->crtc_htotal - 1) << 16)); in psb_intel_crtc_mode_set() 266 REG_WRITE(map->hblank, (adjusted_mode->crtc_hblank_start - 1) | in psb_intel_crtc_mode_set() 267 ((adjusted_mode->crtc_hblank_end - 1) << 16)); in psb_intel_crtc_mode_set() 268 REG_WRITE(map->hsync, (adjusted_mode->crtc_hsync_start - 1) | in psb_intel_crtc_mode_set() 269 ((adjusted_mode->crtc_hsync_end - 1) << 16)); in psb_intel_crtc_mode_set() [all …]
|
| D | cdv_intel_lvds.c | 180 struct drm_display_mode *adjusted_mode) in cdv_intel_lvds_mode_fixup() argument 205 adjusted_mode->hdisplay = panel_fixed_mode->hdisplay; in cdv_intel_lvds_mode_fixup() 206 adjusted_mode->hsync_start = panel_fixed_mode->hsync_start; in cdv_intel_lvds_mode_fixup() 207 adjusted_mode->hsync_end = panel_fixed_mode->hsync_end; in cdv_intel_lvds_mode_fixup() 208 adjusted_mode->htotal = panel_fixed_mode->htotal; in cdv_intel_lvds_mode_fixup() 209 adjusted_mode->vdisplay = panel_fixed_mode->vdisplay; in cdv_intel_lvds_mode_fixup() 210 adjusted_mode->vsync_start = panel_fixed_mode->vsync_start; in cdv_intel_lvds_mode_fixup() 211 adjusted_mode->vsync_end = panel_fixed_mode->vsync_end; in cdv_intel_lvds_mode_fixup() 212 adjusted_mode->vtotal = panel_fixed_mode->vtotal; in cdv_intel_lvds_mode_fixup() 213 adjusted_mode->clock = panel_fixed_mode->clock; in cdv_intel_lvds_mode_fixup() [all …]
|
| D | psb_intel_lvds.c | 361 struct drm_display_mode *adjusted_mode) in psb_intel_lvds_mode_fixup() argument 400 adjusted_mode->hdisplay = panel_fixed_mode->hdisplay; in psb_intel_lvds_mode_fixup() 401 adjusted_mode->hsync_start = panel_fixed_mode->hsync_start; in psb_intel_lvds_mode_fixup() 402 adjusted_mode->hsync_end = panel_fixed_mode->hsync_end; in psb_intel_lvds_mode_fixup() 403 adjusted_mode->htotal = panel_fixed_mode->htotal; in psb_intel_lvds_mode_fixup() 404 adjusted_mode->vdisplay = panel_fixed_mode->vdisplay; in psb_intel_lvds_mode_fixup() 405 adjusted_mode->vsync_start = panel_fixed_mode->vsync_start; in psb_intel_lvds_mode_fixup() 406 adjusted_mode->vsync_end = panel_fixed_mode->vsync_end; in psb_intel_lvds_mode_fixup() 407 adjusted_mode->vtotal = panel_fixed_mode->vtotal; in psb_intel_lvds_mode_fixup() 408 adjusted_mode->clock = panel_fixed_mode->clock; in psb_intel_lvds_mode_fixup() [all …]
|
| D | cdv_intel_display.c | 572 struct drm_display_mode *adjusted_mode, in cdv_intel_crtc_mode_set() argument 652 drm_mode_debug_printmodeline(adjusted_mode); in cdv_intel_crtc_mode_set() 656 ok = limit->find_pll(limit, crtc, adjusted_mode->clock, refclk, in cdv_intel_crtc_mode_set() 660 adjusted_mode->clock, clock.dot); in cdv_intel_crtc_mode_set() 667 cdv_intel_dp_set_m_n(crtc, mode, adjusted_mode); in cdv_intel_crtc_mode_set() 778 int sdvo_pixel_multiply = adjusted_mode->clock / mode->clock; in cdv_intel_crtc_mode_set() 782 REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in cdv_intel_crtc_mode_set() 783 ((adjusted_mode->crtc_htotal - 1) << 16)); in cdv_intel_crtc_mode_set() 784 REG_WRITE(map->hblank, (adjusted_mode->crtc_hblank_start - 1) | in cdv_intel_crtc_mode_set() 785 ((adjusted_mode->crtc_hblank_end - 1) << 16)); in cdv_intel_crtc_mode_set() [all …]
|
| D | oaktrail_lvds.c | 83 struct drm_display_mode *adjusted_mode) in oaktrail_lvds_mode_set() argument 135 if ((mode->vdisplay != adjusted_mode->crtc_vdisplay) || in oaktrail_lvds_mode_set() 136 (mode->hdisplay != adjusted_mode->crtc_hdisplay)) { in oaktrail_lvds_mode_set() 137 if ((adjusted_mode->crtc_hdisplay * mode->vdisplay) == in oaktrail_lvds_mode_set() 138 (mode->hdisplay * adjusted_mode->crtc_vdisplay)) in oaktrail_lvds_mode_set() 140 else if ((adjusted_mode->crtc_hdisplay * in oaktrail_lvds_mode_set() 142 adjusted_mode->crtc_vdisplay)) in oaktrail_lvds_mode_set()
|
| D | cdv_intel_dp.c | 873 struct drm_display_mode *adjusted_mode) in cdv_intel_fixed_panel_mode() argument 875 adjusted_mode->hdisplay = fixed_mode->hdisplay; in cdv_intel_fixed_panel_mode() 876 adjusted_mode->hsync_start = fixed_mode->hsync_start; in cdv_intel_fixed_panel_mode() 877 adjusted_mode->hsync_end = fixed_mode->hsync_end; in cdv_intel_fixed_panel_mode() 878 adjusted_mode->htotal = fixed_mode->htotal; in cdv_intel_fixed_panel_mode() 880 adjusted_mode->vdisplay = fixed_mode->vdisplay; in cdv_intel_fixed_panel_mode() 881 adjusted_mode->vsync_start = fixed_mode->vsync_start; in cdv_intel_fixed_panel_mode() 882 adjusted_mode->vsync_end = fixed_mode->vsync_end; in cdv_intel_fixed_panel_mode() 883 adjusted_mode->vtotal = fixed_mode->vtotal; in cdv_intel_fixed_panel_mode() 885 adjusted_mode->clock = fixed_mode->clock; in cdv_intel_fixed_panel_mode() [all …]
|
| /Linux-v6.1/include/drm/ |
| D | drm_encoder_slave.h | 60 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);
|
| D | drm_modeset_helper_vtables.h | 189 struct drm_display_mode *adjusted_mode); 207 struct drm_display_mode *adjusted_mode, int x, int y, 604 struct drm_display_mode *adjusted_mode); 660 struct drm_display_mode *adjusted_mode);
|
| /Linux-v6.1/drivers/gpu/drm/arm/display/komeda/ |
| D | komeda_crtc.c | 56 pxlclk = kcrtc_st->base.adjusted_mode.crtc_clock * 1000ULL; in komeda_crtc_update_clock_ratio() 115 struct drm_display_mode *mode = &kcrtc_st->base.adjusted_mode; in komeda_crtc_prepare() 419 unsigned long pxlclk = kcrtc_st->base.adjusted_mode.crtc_clock * 1000; in komeda_crtc_get_aclk() 461 struct drm_display_mode *adjusted_mode) in komeda_crtc_mode_fixup() argument 466 drm_mode_set_crtcinfo(adjusted_mode, 0); in komeda_crtc_mode_fixup() 469 adjusted_mode->crtc_clock /= 2; in komeda_crtc_mode_fixup() 470 adjusted_mode->crtc_hdisplay /= 2; in komeda_crtc_mode_fixup() 471 adjusted_mode->crtc_hsync_start /= 2; in komeda_crtc_mode_fixup() 472 adjusted_mode->crtc_hsync_end /= 2; in komeda_crtc_mode_fixup() 473 adjusted_mode->crtc_htotal /= 2; in komeda_crtc_mode_fixup() [all …]
|
| /Linux-v6.1/drivers/gpu/drm/ |
| D | drm_encoder_slave.c | 136 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-v6.1/drivers/gpu/drm/ast/ |
| D | ast_mode.c | 83 struct drm_display_mode *adjusted_mode, in ast_get_vbios_mode_info() argument 185 adjusted_mode->crtc_htotal = vbios_mode->enh_table->ht; in ast_get_vbios_mode_info() 186 adjusted_mode->crtc_hblank_start = vbios_mode->enh_table->hde + hborder; in ast_get_vbios_mode_info() 187 adjusted_mode->crtc_hblank_end = vbios_mode->enh_table->ht - hborder; in ast_get_vbios_mode_info() 188 adjusted_mode->crtc_hsync_start = vbios_mode->enh_table->hde + hborder + in ast_get_vbios_mode_info() 190 adjusted_mode->crtc_hsync_end = (vbios_mode->enh_table->hde + hborder + in ast_get_vbios_mode_info() 194 adjusted_mode->crtc_vtotal = vbios_mode->enh_table->vt; in ast_get_vbios_mode_info() 195 adjusted_mode->crtc_vblank_start = vbios_mode->enh_table->vde + vborder; in ast_get_vbios_mode_info() 196 adjusted_mode->crtc_vblank_end = vbios_mode->enh_table->vt - vborder; in ast_get_vbios_mode_info() 197 adjusted_mode->crtc_vsync_start = vbios_mode->enh_table->vde + vborder + in ast_get_vbios_mode_info() [all …]
|
| /Linux-v6.1/drivers/gpu/drm/bridge/imx/ |
| D | imx8qxp-ldb-drv.c | 92 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()
|