/linux/drivers/gpu/drm/i915/display/ |
A D | intel_panel.c | 282 sync_width = adjusted_mode->crtc_hsync_end - adjusted_mode->crtc_hsync_start; in centre_horizontally() 283 blank_width = adjusted_mode->crtc_hblank_end - adjusted_mode->crtc_hblank_start; in centre_horizontally() 291 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_hblank_start + blank_width; in centre_horizontally() 293 adjusted_mode->crtc_hsync_start = adjusted_mode->crtc_hblank_start + sync_pos; in centre_horizontally() 294 adjusted_mode->crtc_hsync_end = adjusted_mode->crtc_hsync_start + sync_width; in centre_horizontally() 304 sync_width = adjusted_mode->crtc_vsync_end - adjusted_mode->crtc_vsync_start; in centre_vertically() 305 blank_width = adjusted_mode->crtc_vblank_end - adjusted_mode->crtc_vblank_start; in centre_vertically() 314 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vblank_start + sync_pos; in centre_vertically() 315 adjusted_mode->crtc_vsync_end = adjusted_mode->crtc_vsync_start + sync_width; in centre_vertically() 356 struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; in i9xx_scale_aspect() local [all …]
|
A D | vlv_dsi.c | 274 struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_dsi_compute_config() local 1174 adjusted_mode->crtc_hsync_start = hfp + adjusted_mode->crtc_hdisplay; in bxt_dsi_get_pipe_config() 1176 adjusted_mode->crtc_hblank_start = adjusted_mode->crtc_hdisplay; in bxt_dsi_get_pipe_config() 1177 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in bxt_dsi_get_pipe_config() 1179 adjusted_mode->crtc_vsync_start = vfp + adjusted_mode->crtc_vdisplay; in bxt_dsi_get_pipe_config() 1181 adjusted_mode->crtc_vblank_start = adjusted_mode->crtc_vdisplay; in bxt_dsi_get_pipe_config() 1182 adjusted_mode->crtc_vblank_end = adjusted_mode->crtc_vtotal; in bxt_dsi_get_pipe_config() 1306 hfp = adjusted_mode->crtc_hsync_start - adjusted_mode->crtc_hdisplay; in set_dsi_timings() 1308 hbp = adjusted_mode->crtc_htotal - adjusted_mode->crtc_hsync_end; in set_dsi_timings() 1319 vfp = adjusted_mode->crtc_vsync_start - adjusted_mode->crtc_vdisplay; in set_dsi_timings() [all …]
|
A D | intel_vrr.c | 96 struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; in intel_vrr_compute_config() local 103 if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) in intel_vrr_compute_config() 109 vmin = DIV_ROUND_UP(adjusted_mode->crtc_clock * 1000, in intel_vrr_compute_config() 110 adjusted_mode->crtc_htotal * info->monitor_range.max_vfreq); in intel_vrr_compute_config() 111 vmax = adjusted_mode->crtc_clock * 1000 / in intel_vrr_compute_config() 112 (adjusted_mode->crtc_htotal * info->monitor_range.min_vfreq); in intel_vrr_compute_config() 114 vmin = max_t(int, vmin, adjusted_mode->crtc_vtotal); in intel_vrr_compute_config() 115 vmax = max_t(int, vmax, adjusted_mode->crtc_vtotal); in intel_vrr_compute_config() 137 crtc_state->vrr.vmin - adjusted_mode->crtc_vdisplay - in intel_vrr_compute_config() 151 min(255, crtc_state->vrr.vmin - adjusted_mode->crtc_vdisplay - 4 - 1); in intel_vrr_compute_config()
|
A D | dvo_ns2501.c | 576 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 D | icl_dsi.c | 303 &pipe_config->hw.adjusted_mode; in configure_dual_link_mode() 878 &crtc_state->hw.adjusted_mode; in gen11_dsi_set_transcoder_timings() 1499 adjusted_mode->crtc_htotal = in gen11_dsi_get_timings() 1503 adjusted_mode->crtc_hsync_end = in gen11_dsi_get_timings() 1510 adjusted_mode->crtc_hdisplay -= in gen11_dsi_get_timings() 1514 adjusted_mode->crtc_hblank_start = adjusted_mode->crtc_hdisplay; in gen11_dsi_get_timings() 1515 adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_htotal; in gen11_dsi_get_timings() 1523 adjusted_mode->crtc_vblank_start = adjusted_mode->crtc_vdisplay; in gen11_dsi_get_timings() 1524 adjusted_mode->crtc_vblank_end = adjusted_mode->crtc_vtotal; in gen11_dsi_get_timings() 1657 &pipe_config->hw.adjusted_mode; in gen11_dsi_compute_config() [all …]
|
A 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() 262 struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_dvo_compute_config() local 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() 314 …(adjusted_mode->crtc_hdisplay << DVO_SRCDIM_HORIZONTAL_SHIFT) | (adjusted_mode->crtc_vdisplay << D… in intel_dvo_pre_enable()
|
A D | intel_crt.c | 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() 403 struct drm_display_mode *adjusted_mode = in pch_crt_compute_config() local 404 &pipe_config->hw.adjusted_mode; in pch_crt_compute_config() 420 struct drm_display_mode *adjusted_mode = in hsw_crt_compute_config() local 421 &pipe_config->hw.adjusted_mode; in hsw_crt_compute_config() 427 if (adjusted_mode->crtc_hdisplay > 4096 || in hsw_crt_compute_config() [all …]
|
A D | intel_tv.c | 1088 struct drm_display_mode *adjusted_mode = in intel_tv_get_config() local 1089 &pipe_config->hw.adjusted_mode; in intel_tv_get_config() 1156 adjusted_mode->crtc_clock = mode.clock; in intel_tv_get_config() 1158 adjusted_mode->crtc_clock /= 2; in intel_tv_get_config() 1191 struct drm_display_mode *adjusted_mode = in intel_tv_compute_config() local 1192 &pipe_config->hw.adjusted_mode; in intel_tv_compute_config() 1210 drm_mode_set_crtcinfo(adjusted_mode, 0); in intel_tv_compute_config() 1242 adjusted_mode->clock /= 2; in intel_tv_compute_config() 1243 adjusted_mode->crtc_clock /= 2; in intel_tv_compute_config() 1327 drm_mode_set_crtcinfo(adjusted_mode, 0); in intel_tv_compute_config() [all …]
|
A D | intel_crtc.c | 357 int intel_usecs_to_scanlines(const struct drm_display_mode *adjusted_mode, in intel_usecs_to_scanlines() argument 361 if (!adjusted_mode->crtc_htotal) in intel_usecs_to_scanlines() 364 return DIV_ROUND_UP(usecs * adjusted_mode->crtc_clock, in intel_usecs_to_scanlines() 365 1000 * adjusted_mode->crtc_htotal); in intel_usecs_to_scanlines() 394 const struct drm_display_mode *adjusted_mode = &new_crtc_state->hw.adjusted_mode; in intel_pipe_update_start() local 408 vblank_start = intel_mode_vblank_start(adjusted_mode); in intel_pipe_update_start() 411 min = vblank_start - intel_usecs_to_scanlines(adjusted_mode, in intel_pipe_update_start()
|
A D | intel_audio.c | 243 const struct drm_display_mode *adjusted_mode = in audio_config_hdmi_pixel_clock() local 244 &crtc_state->hw.adjusted_mode; in audio_config_hdmi_pixel_clock() 258 adjusted_mode->crtc_clock); in audio_config_hdmi_pixel_clock() 530 h_total = crtc_state->hw.adjusted_mode.crtc_htotal; in calc_hblank_early_prog() 531 pixel_clk = crtc_state->hw.adjusted_mode.crtc_clock; in calc_hblank_early_prog() 571 h_active = crtc_state->hw.adjusted_mode.hdisplay; in calc_samples_room() 572 h_total = crtc_state->hw.adjusted_mode.htotal; in calc_samples_room() 573 pixel_clk = crtc_state->hw.adjusted_mode.clock; in calc_samples_room() 601 crtc_state->hw.adjusted_mode.hdisplay >= 3840 && in enable_audio_dsc_wa() 832 const struct drm_display_mode *adjusted_mode = in intel_audio_codec_enable() local [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A 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() 184 adjusted_mode->hsync_end = adjusted_mode->hsync_start + hsync_width; in amdgpu_panel_mode_fixup() 188 adjusted_mode->vsync_end = adjusted_mode->vsync_start + vsync_width; in amdgpu_panel_mode_fixup() 195 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in amdgpu_panel_mode_fixup() 196 adjusted_mode->crtc_hsync_start = adjusted_mode->crtc_hdisplay + hover; in amdgpu_panel_mode_fixup() 197 adjusted_mode->crtc_hsync_end = adjusted_mode->crtc_hsync_start + hsync_width; in amdgpu_panel_mode_fixup() 199 adjusted_mode->crtc_vtotal = adjusted_mode->crtc_vdisplay + vblank; in amdgpu_panel_mode_fixup() 200 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + vover; in amdgpu_panel_mode_fixup() [all …]
|
/linux/drivers/gpu/drm/radeon/ |
A 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() 341 adjusted_mode->hsync_end = adjusted_mode->hsync_start + hsync_width; in radeon_panel_mode_fixup() 345 adjusted_mode->vsync_end = adjusted_mode->vsync_start + vsync_width; in radeon_panel_mode_fixup() 354 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in radeon_panel_mode_fixup() 355 adjusted_mode->crtc_hsync_start = adjusted_mode->crtc_hdisplay + hover; in radeon_panel_mode_fixup() 356 adjusted_mode->crtc_hsync_end = adjusted_mode->crtc_hsync_start + hsync_width; in radeon_panel_mode_fixup() 358 adjusted_mode->crtc_vtotal = adjusted_mode->crtc_vdisplay + vblank; in radeon_panel_mode_fixup() 359 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + vover; in radeon_panel_mode_fixup() [all …]
|
/linux/drivers/gpu/drm/gma500/ |
A D | oaktrail_crtc.c | 358 struct drm_display_mode *adjusted_mode, in oaktrail_crtc_mode_set() argument 391 adjusted_mode, in oaktrail_crtc_mode_set() 436 offsetX = (adjusted_mode->crtc_hdisplay - in oaktrail_crtc_mode_set() 438 offsetY = (adjusted_mode->crtc_vdisplay - in oaktrail_crtc_mode_set() 443 ((adjusted_mode->crtc_htotal - 1) << 16), i); in oaktrail_crtc_mode_set() 445 ((adjusted_mode->crtc_vtotal - 1) << 16), i); in oaktrail_crtc_mode_set() 462 ((adjusted_mode->crtc_htotal - 1) << 16), i); in oaktrail_crtc_mode_set() 464 ((adjusted_mode->crtc_vtotal - 1) << 16), i); in oaktrail_crtc_mode_set() 468 ((adjusted_mode->crtc_hsync_end - 1) << 16), i); in oaktrail_crtc_mode_set() 472 ((adjusted_mode->crtc_vsync_end - 1) << 16), i); in oaktrail_crtc_mode_set() [all …]
|
A D | oaktrail_hdmi.c | 326 temp = htotal_calculate(adjusted_mode); in oaktrail_crtc_hdmi_mode_set() 328 …REG_WRITE(hblank_reg, (adjusted_mode->crtc_hblank_start - 1) | ((adjusted_mode->crtc_hblank_end - … in oaktrail_crtc_hdmi_mode_set() 329 …REG_WRITE(hsync_reg, (adjusted_mode->crtc_hsync_start - 1) | ((adjusted_mode->crtc_hsync_end - 1) … in oaktrail_crtc_hdmi_mode_set() 330 REG_WRITE(vtot_reg, (adjusted_mode->crtc_vdisplay - 1) | ((adjusted_mode->crtc_vtotal - 1) << 16)); in oaktrail_crtc_hdmi_mode_set() 331 …REG_WRITE(vblank_reg, (adjusted_mode->crtc_vblank_start - 1) | ((adjusted_mode->crtc_vblank_end - … in oaktrail_crtc_hdmi_mode_set() 332 …REG_WRITE(vsync_reg, (adjusted_mode->crtc_vsync_start - 1) | ((adjusted_mode->crtc_vsync_end - 1) … in oaktrail_crtc_hdmi_mode_set() 335 …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_HSYNC_B, (adjusted_mode->crtc_hsync_start - 1) | ((adjusted_mode->crtc_hsync_end - 1… in oaktrail_crtc_hdmi_mode_set() 338 …REG_WRITE(PCH_VTOTAL_B, (adjusted_mode->crtc_vdisplay - 1) | ((adjusted_mode->crtc_vtotal - 1) << … in oaktrail_crtc_hdmi_mode_set() 340 …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 D | psb_intel_display.c | 93 struct drm_display_mode *adjusted_mode, in psb_intel_crtc_mode_set() argument 146 adjusted_mode->clock, clock.dot); in psb_intel_crtc_mode_set() 160 adjusted_mode->clock / mode->clock; in psb_intel_crtc_mode_set() 261 REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in psb_intel_crtc_mode_set() 262 ((adjusted_mode->crtc_htotal - 1) << 16)); in psb_intel_crtc_mode_set() 264 ((adjusted_mode->crtc_hblank_end - 1) << 16)); in psb_intel_crtc_mode_set() 266 ((adjusted_mode->crtc_hsync_end - 1) << 16)); in psb_intel_crtc_mode_set() 267 REG_WRITE(map->vtotal, (adjusted_mode->crtc_vdisplay - 1) | in psb_intel_crtc_mode_set() 268 ((adjusted_mode->crtc_vtotal - 1) << 16)); in psb_intel_crtc_mode_set() 270 ((adjusted_mode->crtc_vblank_end - 1) << 16)); in psb_intel_crtc_mode_set() [all …]
|
A 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() 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() 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() 214 drm_mode_set_crtcinfo(adjusted_mode, in cdv_intel_lvds_mode_fixup() 260 struct drm_display_mode *adjusted_mode) in cdv_intel_lvds_mode_set() argument 278 if (mode->hdisplay != adjusted_mode->hdisplay || in cdv_intel_lvds_mode_set() [all …]
|
A D | psb_intel_lvds.c | 362 struct drm_display_mode *adjusted_mode) in psb_intel_lvds_mode_fixup() argument 401 adjusted_mode->hdisplay = panel_fixed_mode->hdisplay; in psb_intel_lvds_mode_fixup() 403 adjusted_mode->hsync_end = panel_fixed_mode->hsync_end; in psb_intel_lvds_mode_fixup() 404 adjusted_mode->htotal = panel_fixed_mode->htotal; in psb_intel_lvds_mode_fixup() 405 adjusted_mode->vdisplay = panel_fixed_mode->vdisplay; in psb_intel_lvds_mode_fixup() 408 adjusted_mode->vtotal = panel_fixed_mode->vtotal; in psb_intel_lvds_mode_fixup() 409 adjusted_mode->clock = panel_fixed_mode->clock; in psb_intel_lvds_mode_fixup() 410 drm_mode_set_crtcinfo(adjusted_mode, in psb_intel_lvds_mode_fixup() 456 struct drm_display_mode *adjusted_mode) in psb_intel_lvds_mode_set() argument 473 if (mode->hdisplay != adjusted_mode->hdisplay || in psb_intel_lvds_mode_set() [all …]
|
A D | cdv_intel_display.c | 572 struct drm_display_mode *adjusted_mode, in cdv_intel_crtc_mode_set() argument 647 drm_mode_debug_printmodeline(adjusted_mode); in cdv_intel_crtc_mode_set() 655 adjusted_mode->clock, clock.dot); in cdv_intel_crtc_mode_set() 662 cdv_intel_dp_set_m_n(crtc, mode, adjusted_mode); in cdv_intel_crtc_mode_set() 777 REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in cdv_intel_crtc_mode_set() 778 ((adjusted_mode->crtc_htotal - 1) << 16)); in cdv_intel_crtc_mode_set() 780 ((adjusted_mode->crtc_hblank_end - 1) << 16)); in cdv_intel_crtc_mode_set() 782 ((adjusted_mode->crtc_hsync_end - 1) << 16)); in cdv_intel_crtc_mode_set() 784 ((adjusted_mode->crtc_vtotal - 1) << 16)); in cdv_intel_crtc_mode_set() 786 ((adjusted_mode->crtc_vblank_end - 1) << 16)); in cdv_intel_crtc_mode_set() [all …]
|
A D | cdv_intel_dp.c | 878 struct drm_display_mode *adjusted_mode) in cdv_intel_fixed_panel_mode() argument 880 adjusted_mode->hdisplay = fixed_mode->hdisplay; in cdv_intel_fixed_panel_mode() 883 adjusted_mode->htotal = fixed_mode->htotal; in cdv_intel_fixed_panel_mode() 885 adjusted_mode->vdisplay = fixed_mode->vdisplay; in cdv_intel_fixed_panel_mode() 888 adjusted_mode->vtotal = fixed_mode->vtotal; in cdv_intel_fixed_panel_mode() 890 adjusted_mode->clock = fixed_mode->clock; in cdv_intel_fixed_panel_mode() 897 struct drm_display_mode *adjusted_mode) in cdv_intel_dp_mode_fixup() argument 926 adjusted_mode->clock); in cdv_intel_dp_mode_fixup() 939 adjusted_mode->clock); in cdv_intel_dp_mode_fixup() 988 struct drm_display_mode *adjusted_mode) in cdv_intel_dp_set_m_n() argument [all …]
|
A D | oaktrail_lvds.c | 83 struct drm_display_mode *adjusted_mode) in oaktrail_lvds_mode_set() argument 134 if ((mode->vdisplay != adjusted_mode->crtc_vdisplay) || in oaktrail_lvds_mode_set() 135 (mode->hdisplay != adjusted_mode->crtc_hdisplay)) { in oaktrail_lvds_mode_set() 136 if ((adjusted_mode->crtc_hdisplay * mode->vdisplay) == in oaktrail_lvds_mode_set() 137 (mode->hdisplay * adjusted_mode->crtc_vdisplay)) in oaktrail_lvds_mode_set() 139 else if ((adjusted_mode->crtc_hdisplay * in oaktrail_lvds_mode_set() 141 adjusted_mode->crtc_vdisplay)) in oaktrail_lvds_mode_set()
|
/linux/drivers/gpu/drm/arm/display/komeda/ |
A D | komeda_crtc.c | 57 pxlclk = kcrtc_st->base.adjusted_mode.crtc_clock * 1000ULL; in komeda_crtc_update_clock_ratio() 116 struct drm_display_mode *mode = &kcrtc_st->base.adjusted_mode; in komeda_crtc_prepare() 462 struct drm_display_mode *adjusted_mode) in komeda_crtc_mode_fixup() argument 467 drm_mode_set_crtcinfo(adjusted_mode, 0); in komeda_crtc_mode_fixup() 470 adjusted_mode->crtc_clock /= 2; in komeda_crtc_mode_fixup() 471 adjusted_mode->crtc_hdisplay /= 2; in komeda_crtc_mode_fixup() 472 adjusted_mode->crtc_hsync_start /= 2; in komeda_crtc_mode_fixup() 473 adjusted_mode->crtc_hsync_end /= 2; in komeda_crtc_mode_fixup() 474 adjusted_mode->crtc_htotal /= 2; in komeda_crtc_mode_fixup() 477 clk_rate = adjusted_mode->crtc_clock * 1000; in komeda_crtc_mode_fixup() [all …]
|
/linux/include/drm/ |
A D | drm_encoder_slave.h | 58 struct drm_display_mode *adjusted_mode); 63 struct drm_display_mode *adjusted_mode); 170 struct drm_display_mode *adjusted_mode); 175 struct drm_display_mode *adjusted_mode);
|
A 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/drivers/gpu/drm/ast/ |
A D | ast_mode.c | 85 struct drm_display_mode *adjusted_mode, in ast_get_vbios_mode_info() argument 184 adjusted_mode->crtc_htotal = vbios_mode->enh_table->ht; in ast_get_vbios_mode_info() 193 adjusted_mode->crtc_vtotal = vbios_mode->enh_table->vt; in ast_get_vbios_mode_info() 237 const struct drm_display_mode *adjusted_mode, in ast_set_vbios_mode_reg() argument 1028 &crtc_state->adjusted_mode, in ast_crtc_helper_atomic_check() 1066 struct drm_display_mode *adjusted_mode = &crtc_state->adjusted_mode; in ast_crtc_helper_atomic_enable() local 1068 ast_set_vbios_mode_reg(ast, adjusted_mode, vbios_mode_info); in ast_crtc_helper_atomic_enable() 1070 ast_set_std_reg(ast, adjusted_mode, vbios_mode_info); in ast_crtc_helper_atomic_enable() 1071 ast_set_crtc_reg(ast, adjusted_mode, vbios_mode_info); in ast_crtc_helper_atomic_enable() 1072 ast_set_dclk_reg(ast, adjusted_mode, vbios_mode_info); in ast_crtc_helper_atomic_enable() [all …]
|
/linux/drivers/gpu/drm/ |
A 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()
|