Home
last modified time | relevance | path

Searched refs:adjusted_mode (Results 1 - 25 of 447) sorted by relevance

12345678910>>...18

/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_panel.c135 const struct drm_display_mode *adjusted_mode) in intel_panel_downclock_mode()
139 int max_vrefresh = drm_mode_vrefresh(adjusted_mode); in intel_panel_downclock_mode()
145 if (is_alt_drrs_mode(fixed_mode, adjusted_mode) && in intel_panel_downclock_mode()
157 const struct drm_display_mode *adjusted_mode) in intel_panel_highest_mode()
159 const struct drm_display_mode *fixed_mode, *best_mode = adjusted_mode; in intel_panel_highest_mode()
210 struct drm_display_mode *adjusted_mode) in intel_panel_compute_config()
213 intel_panel_fixed_mode(connector, adjusted_mode); in intel_panel_compute_config()
220 vrefresh = drm_mode_vrefresh(adjusted_mode); in intel_panel_compute_config()
247 drm_mode_copy(adjusted_mode, fixed_mode); in intel_panel_compute_config()
250 adjusted_mode in intel_panel_compute_config()
134 intel_panel_downclock_mode(struct intel_connector *connector, const struct drm_display_mode *adjusted_mode) intel_panel_downclock_mode() argument
156 intel_panel_highest_mode(struct intel_connector *connector, const struct drm_display_mode *adjusted_mode) intel_panel_highest_mode() argument
209 intel_panel_compute_config(struct intel_connector *connector, struct drm_display_mode *adjusted_mode) intel_panel_compute_config() argument
396 const struct drm_display_mode *adjusted_mode = pch_panel_fitting() local
466 centre_horizontally(struct drm_display_mode *adjusted_mode, int width) centre_horizontally() argument
488 centre_vertically(struct drm_display_mode *adjusted_mode, int height) centre_vertically() argument
524 const struct drm_display_mode *adjusted_mode = i965_scale_aspect() local
546 struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; i9xx_scale_aspect() local
604 struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; gmch_panel_fitting() local
[all...]
H A Dvlv_dsi.c278 struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_dsi_compute_config() local
285 ret = intel_panel_compute_config(intel_connector, adjusted_mode); in intel_dsi_compute_config()
293 if (adjusted_mode->flags & DRM_MODE_FLAG_DBLSCAN) in intel_dsi_compute_config()
297 adjusted_mode->flags = 0; in intel_dsi_compute_config()
1011 struct drm_display_mode *adjusted_mode = in bxt_dsi_get_pipe_config() local
1012 &pipe_config->hw.adjusted_mode; in bxt_dsi_get_pipe_config()
1025 adjusted_mode_sw = &crtc->config->hw.adjusted_mode; in bxt_dsi_get_pipe_config()
1047 adjusted_mode->crtc_hdisplay = in bxt_dsi_get_pipe_config()
1050 adjusted_mode in bxt_dsi_get_pipe_config()
1209 set_dsi_timings(struct drm_encoder *encoder, const struct drm_display_mode *adjusted_mode) set_dsi_timings() argument
1306 const struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; intel_dsi_prepare() local
[all...]
H 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()
117 vmin = DIV_ROUND_UP(adjusted_mode->crtc_clock * 1000, in intel_vrr_compute_config()
118 adjusted_mode->crtc_htotal * info->monitor_range.max_vfreq); in intel_vrr_compute_config()
119 vmax = adjusted_mode->crtc_clock * 1000 / in intel_vrr_compute_config()
120 (adjusted_mode->crtc_htotal * info->monitor_range.min_vfreq); in intel_vrr_compute_config()
122 vmin = max_t(int, vmin, adjusted_mode->crtc_vtotal); in intel_vrr_compute_config()
123 vmax = max_t(int, vmax, adjusted_mode->crtc_vtotal); in intel_vrr_compute_config()
144 crtc_state->vrr.vmin + 1 - adjusted_mode in intel_vrr_compute_config()
[all...]
H A Dintel_vblank.c446 const struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; in intel_crtc_scanline_offset() local
478 vtotal = adjusted_mode->crtc_vtotal; in intel_crtc_scanline_offset()
479 if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) in intel_crtc_scanline_offset()
496 struct drm_display_mode adjusted_mode; in intel_crtc_update_active_timings() local
500 drm_mode_init(&adjusted_mode, &crtc_state->hw.adjusted_mode); in intel_crtc_update_active_timings()
505 adjusted_mode.crtc_vtotal = crtc_state->vrr.vmax; in intel_crtc_update_active_timings()
506 adjusted_mode.crtc_vblank_end = crtc_state->vrr.vmax; in intel_crtc_update_active_timings()
507 adjusted_mode in intel_crtc_update_active_timings()
[all...]
H 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()
259 struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_dvo_compute_config() local
261 intel_panel_fixed_mode(intel_dvo->attached_connector, adjusted_mode); in intel_dvo_compute_config()
272 ret = intel_panel_compute_config(connector, adjusted_mode); in intel_dvo_compute_config()
277 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
[all...]
H A Dicl_dsi.c301 const struct drm_display_mode *adjusted_mode = in configure_dual_link_mode() local
302 &pipe_config->hw.adjusted_mode; in configure_dual_link_mode()
303 u16 hactive = adjusted_mode->crtc_hdisplay; in configure_dual_link_mode()
843 const struct drm_display_mode *adjusted_mode = in gen11_dsi_set_transcoder_timings() local
844 &crtc_state->hw.adjusted_mode; in gen11_dsi_set_transcoder_timings()
867 hactive = adjusted_mode->crtc_hdisplay; in gen11_dsi_set_transcoder_timings()
870 htotal = DIV_ROUND_UP(adjusted_mode->crtc_htotal * mul, div); in gen11_dsi_set_transcoder_timings()
874 hsync_start = DIV_ROUND_UP(adjusted_mode->crtc_hsync_start * mul, div); in gen11_dsi_set_transcoder_timings()
875 hsync_end = DIV_ROUND_UP(adjusted_mode->crtc_hsync_end * mul, div); in gen11_dsi_set_transcoder_timings()
877 hback_porch = (adjusted_mode in gen11_dsi_set_transcoder_timings()
1457 struct drm_display_mode *adjusted_mode = gen11_dsi_get_timings() local
1621 struct drm_display_mode *adjusted_mode = gen11_dsi_compute_config() local
[all...]
H A Dintel_crt.c145 pipe_config->hw.adjusted_mode.flags |= intel_crt_get_flags(encoder); in intel_crt_get_config()
147 pipe_config->hw.adjusted_mode.crtc_clock = pipe_config->port_clock; in intel_crt_get_config()
157 pipe_config->hw.adjusted_mode.flags &= ~(DRM_MODE_FLAG_PHSYNC | in hsw_crt_get_config()
161 pipe_config->hw.adjusted_mode.flags |= intel_crt_get_flags(encoder); in hsw_crt_get_config()
173 const struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; in intel_crt_set_dpms() local
181 if (adjusted_mode->flags & DRM_MODE_FLAG_PHSYNC) in intel_crt_set_dpms()
183 if (adjusted_mode->flags & DRM_MODE_FLAG_PVSYNC) in intel_crt_set_dpms()
398 struct drm_display_mode *adjusted_mode = in intel_crt_compute_config() local
399 &pipe_config->hw.adjusted_mode; in intel_crt_compute_config()
414 struct drm_display_mode *adjusted_mode = pch_crt_compute_config() local
431 struct drm_display_mode *adjusted_mode = hsw_crt_compute_config() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_encoders.c165 struct drm_display_mode *adjusted_mode) in amdgpu_panel_mode_fixup()
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 in amdgpu_panel_mode_fixup()
164 amdgpu_panel_mode_fixup(struct drm_encoder *encoder, struct drm_display_mode *adjusted_mode) amdgpu_panel_mode_fixup() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_encoders.c165 struct drm_display_mode *adjusted_mode) in amdgpu_panel_mode_fixup()
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 in amdgpu_panel_mode_fixup()
164 amdgpu_panel_mode_fixup(struct drm_encoder *encoder, struct drm_display_mode *adjusted_mode) amdgpu_panel_mode_fixup() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_encoders.c324 struct drm_display_mode *adjusted_mode) in radeon_panel_mode_fixup()
337 adjusted_mode->clock = native_mode->clock; in radeon_panel_mode_fixup()
338 adjusted_mode->flags = native_mode->flags; in radeon_panel_mode_fixup()
341 adjusted_mode->hdisplay = native_mode->hdisplay; in radeon_panel_mode_fixup()
342 adjusted_mode->vdisplay = native_mode->vdisplay; in radeon_panel_mode_fixup()
345 adjusted_mode->htotal = native_mode->hdisplay + hblank; in radeon_panel_mode_fixup()
346 adjusted_mode->hsync_start = native_mode->hdisplay + hover; in radeon_panel_mode_fixup()
347 adjusted_mode->hsync_end = adjusted_mode->hsync_start + hsync_width; in radeon_panel_mode_fixup()
349 adjusted_mode in radeon_panel_mode_fixup()
323 radeon_panel_mode_fixup(struct drm_encoder *encoder, struct drm_display_mode *adjusted_mode) radeon_panel_mode_fixup() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dradeon_encoders.c320 struct drm_display_mode *adjusted_mode) in radeon_panel_mode_fixup()
333 adjusted_mode->clock = native_mode->clock; in radeon_panel_mode_fixup()
334 adjusted_mode->flags = native_mode->flags; in radeon_panel_mode_fixup()
337 adjusted_mode->hdisplay = native_mode->hdisplay; in radeon_panel_mode_fixup()
338 adjusted_mode->vdisplay = native_mode->vdisplay; in radeon_panel_mode_fixup()
341 adjusted_mode->htotal = native_mode->hdisplay + hblank; in radeon_panel_mode_fixup()
342 adjusted_mode->hsync_start = native_mode->hdisplay + hover; in radeon_panel_mode_fixup()
343 adjusted_mode->hsync_end = adjusted_mode->hsync_start + hsync_width; in radeon_panel_mode_fixup()
345 adjusted_mode in radeon_panel_mode_fixup()
319 radeon_panel_mode_fixup(struct drm_encoder *encoder, struct drm_display_mode *adjusted_mode) radeon_panel_mode_fixup() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
H A Dmdfld_intel_display.c635 struct drm_display_mode *adjusted_mode, in mdfld_crtc_mode_set()
666 adjusted_mode->hdisplay); in mdfld_crtc_mode_set()
668 adjusted_mode->vdisplay); in mdfld_crtc_mode_set()
670 adjusted_mode->hsync_start); in mdfld_crtc_mode_set()
672 adjusted_mode->hsync_end); in mdfld_crtc_mode_set()
674 adjusted_mode->htotal); in mdfld_crtc_mode_set()
676 adjusted_mode->vsync_start); in mdfld_crtc_mode_set()
678 adjusted_mode->vsync_end); in mdfld_crtc_mode_set()
680 adjusted_mode->vtotal); in mdfld_crtc_mode_set()
682 adjusted_mode in mdfld_crtc_mode_set()
633 mdfld_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode, int x, int y, struct drm_framebuffer *old_fb) mdfld_crtc_mode_set() argument
[all...]
H A Doaktrail_crtc.c358 struct drm_display_mode *adjusted_mode, in oaktrail_crtc_mode_set()
382 return oaktrail_crtc_hdmi_mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in oaktrail_crtc_mode_set()
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()
447 (adjusted_mode->crtc_hblank_start - offsetX - 1) | in oaktrail_crtc_mode_set()
448 ((adjusted_mode->crtc_hblank_end - offsetX - 1) << 16), i); in oaktrail_crtc_mode_set()
450 (adjusted_mode in oaktrail_crtc_mode_set()
356 oaktrail_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode, int x, int y, struct drm_framebuffer *old_fb) oaktrail_crtc_mode_set() argument
[all...]
H A Doaktrail_hdmi.c262 struct drm_display_mode *adjusted_mode, in oaktrail_crtc_hdmi_mode_set()
305 oaktrail_hdmi_find_dpll(crtc, adjusted_mode->clock, refclk, &clock); in oaktrail_crtc_hdmi_mode_set()
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 - 1) << 16)); in oaktrail_crtc_hdmi_mode_set()
329 REG_WRITE(hsync_reg, (adjusted_mode->crtc_hsync_start - 1) | ((adjusted_mode->crtc_hsync_end - 1) << 16)); 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 in oaktrail_crtc_hdmi_mode_set()
260 oaktrail_crtc_hdmi_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode, int x, int y, struct drm_framebuffer *old_fb) oaktrail_crtc_hdmi_mode_set() argument
588 oaktrail_hdmi_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) oaktrail_hdmi_mode_set() argument
[all...]
H A Dpsb_intel_display.c93 struct drm_display_mode *adjusted_mode, in psb_intel_crtc_mode_set()
142 ok = limit->find_pll(limit, crtc, adjusted_mode->clock, refclk, in psb_intel_crtc_mode_set()
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()
263 REG_WRITE(map->hblank, (adjusted_mode->crtc_hblank_start - 1) | in psb_intel_crtc_mode_set()
264 ((adjusted_mode->crtc_hblank_end - 1) << 16)); in psb_intel_crtc_mode_set()
265 REG_WRITE(map->hsync, (adjusted_mode->crtc_hsync_start - 1) | in psb_intel_crtc_mode_set()
266 ((adjusted_mode in psb_intel_crtc_mode_set()
91 psb_intel_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode, int x, int y, struct drm_framebuffer *old_fb) psb_intel_crtc_mode_set() argument
[all...]
H A Dcdv_intel_lvds.c180 struct drm_display_mode *adjusted_mode) in cdv_intel_lvds_mode_fixup()
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 in cdv_intel_lvds_mode_fixup()
178 cdv_intel_lvds_mode_fixup(struct drm_encoder *encoder, const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) cdv_intel_lvds_mode_fixup() argument
258 cdv_intel_lvds_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) cdv_intel_lvds_mode_set() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/
H A Doaktrail_crtc.c361 struct drm_display_mode *adjusted_mode, in oaktrail_crtc_mode_set()
385 return oaktrail_crtc_hdmi_mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in oaktrail_crtc_mode_set()
391 drm_mode_copy(&gma_crtc->saved_adjusted_mode, adjusted_mode); in oaktrail_crtc_mode_set()
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()
451 (adjusted_mode->crtc_hblank_start - offsetX - 1) | in oaktrail_crtc_mode_set()
452 ((adjusted_mode->crtc_hblank_end - offsetX - 1) << 16), i); in oaktrail_crtc_mode_set()
454 (adjusted_mode in oaktrail_crtc_mode_set()
359 oaktrail_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode, int x, int y, struct drm_framebuffer *old_fb) oaktrail_crtc_mode_set() argument
[all...]
H A Doaktrail_hdmi.c265 struct drm_display_mode *adjusted_mode, in oaktrail_crtc_hdmi_mode_set()
308 oaktrail_hdmi_find_dpll(crtc, adjusted_mode->clock, refclk, &clock); in oaktrail_crtc_hdmi_mode_set()
329 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 - 1) << 16)); in oaktrail_crtc_hdmi_mode_set()
332 REG_WRITE(hsync_reg, (adjusted_mode->crtc_hsync_start - 1) | ((adjusted_mode->crtc_hsync_end - 1) << 16)); 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 in oaktrail_crtc_hdmi_mode_set()
263 oaktrail_crtc_hdmi_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode, int x, int y, struct drm_framebuffer *old_fb) oaktrail_crtc_hdmi_mode_set() argument
591 oaktrail_hdmi_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) oaktrail_hdmi_mode_set() argument
[all...]
H A Dpsb_intel_display.c95 struct drm_display_mode *adjusted_mode, in psb_intel_crtc_mode_set()
148 ok = limit->find_pll(limit, crtc, adjusted_mode->clock, refclk, in psb_intel_crtc_mode_set()
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()
269 REG_WRITE(map->hblank, (adjusted_mode->crtc_hblank_start - 1) | in psb_intel_crtc_mode_set()
270 ((adjusted_mode->crtc_hblank_end - 1) << 16)); in psb_intel_crtc_mode_set()
271 REG_WRITE(map->hsync, (adjusted_mode->crtc_hsync_start - 1) | in psb_intel_crtc_mode_set()
272 ((adjusted_mode in psb_intel_crtc_mode_set()
93 psb_intel_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode, int x, int y, struct drm_framebuffer *old_fb) psb_intel_crtc_mode_set() argument
[all...]
H A Dcdv_intel_lvds.c182 struct drm_display_mode *adjusted_mode) in cdv_intel_lvds_mode_fixup()
207 adjusted_mode->hdisplay = panel_fixed_mode->hdisplay; in cdv_intel_lvds_mode_fixup()
208 adjusted_mode->hsync_start = panel_fixed_mode->hsync_start; 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()
212 adjusted_mode->vsync_start = panel_fixed_mode->vsync_start; in cdv_intel_lvds_mode_fixup()
213 adjusted_mode->vsync_end = panel_fixed_mode->vsync_end; in cdv_intel_lvds_mode_fixup()
214 adjusted_mode->vtotal = panel_fixed_mode->vtotal; in cdv_intel_lvds_mode_fixup()
215 adjusted_mode in cdv_intel_lvds_mode_fixup()
180 cdv_intel_lvds_mode_fixup(struct drm_encoder *encoder, const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) cdv_intel_lvds_mode_fixup() argument
260 cdv_intel_lvds_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) cdv_intel_lvds_mode_set() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dvlv_dsi.c271 struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_dsi_compute_config() local
278 intel_fixed_panel_mode(fixed_mode, adjusted_mode); in intel_dsi_compute_config()
288 if (adjusted_mode->flags & DRM_MODE_FLAG_DBLSCAN) in intel_dsi_compute_config()
292 adjusted_mode->flags = 0; in intel_dsi_compute_config()
1078 struct drm_display_mode *adjusted_mode = in bxt_dsi_get_pipe_config() local
1079 &pipe_config->hw.adjusted_mode; in bxt_dsi_get_pipe_config()
1092 adjusted_mode_sw = &crtc->config->hw.adjusted_mode; in bxt_dsi_get_pipe_config()
1114 adjusted_mode->crtc_hdisplay = in bxt_dsi_get_pipe_config()
1117 adjusted_mode in bxt_dsi_get_pipe_config()
1273 set_dsi_timings(struct drm_encoder *encoder, const struct drm_display_mode *adjusted_mode) set_dsi_timings() argument
1370 const struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; intel_dsi_prepare() local
[all...]
H A Dintel_panel.c45 struct drm_display_mode *adjusted_mode) in intel_fixed_panel_mode()
47 drm_mode_copy(adjusted_mode, fixed_mode); in intel_fixed_panel_mode()
49 drm_mode_set_crtcinfo(adjusted_mode, 0); in intel_fixed_panel_mode()
176 /* adjusted_mode has been preset to be the panel's fixed mode */
180 const struct drm_display_mode *adjusted_mode = in intel_pch_panel_fitting() local
181 &crtc_state->hw.adjusted_mode; in intel_pch_panel_fitting()
185 if (adjusted_mode->crtc_hdisplay == crtc_state->pipe_src_w && in intel_pch_panel_fitting()
186 adjusted_mode->crtc_vdisplay == crtc_state->pipe_src_h && in intel_pch_panel_fitting()
194 x = (adjusted_mode->crtc_hdisplay - width + 1)/2; in intel_pch_panel_fitting()
195 y = (adjusted_mode in intel_pch_panel_fitting()
44 intel_fixed_panel_mode(const struct drm_display_mode *fixed_mode, struct drm_display_mode *adjusted_mode) intel_fixed_panel_mode() argument
250 centre_horizontally(struct drm_display_mode *adjusted_mode, int width) centre_horizontally() argument
272 centre_vertically(struct drm_display_mode *adjusted_mode, int height) centre_vertically() argument
308 const struct drm_display_mode *adjusted_mode = i965_scale_aspect() local
330 struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; i9xx_scale_aspect() local
389 struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; intel_gmch_panel_fitting() local
[all...]
H A Dintel_dvo.c181 pipe_config->hw.adjusted_mode.flags |= flags; in intel_dvo_get_config()
183 pipe_config->hw.adjusted_mode.crtc_clock = pipe_config->port_clock; in intel_dvo_get_config()
213 &pipe_config->hw.adjusted_mode); in intel_enable_dvo()
258 struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_dvo_compute_config() local
267 intel_fixed_panel_mode(fixed_mode, adjusted_mode); in intel_dvo_compute_config()
269 if (adjusted_mode->flags & DRM_MODE_FLAG_DBLSCAN) in intel_dvo_compute_config()
284 const struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_dvo_pre_enable() local
299 if (adjusted_mode in intel_dvo_pre_enable()
[all...]
H A Dicl_dsi.c287 const struct drm_display_mode *adjusted_mode = in configure_dual_link_mode() local
288 &pipe_config->hw.adjusted_mode; in configure_dual_link_mode()
290 u16 hactive = adjusted_mode->crtc_hdisplay; in configure_dual_link_mode()
830 const struct drm_display_mode *adjusted_mode = in gen11_dsi_set_transcoder_timings() local
831 &crtc_state->hw.adjusted_mode; in gen11_dsi_set_transcoder_timings()
854 hactive = adjusted_mode->crtc_hdisplay; in gen11_dsi_set_transcoder_timings()
857 htotal = DIV_ROUND_UP(adjusted_mode->crtc_htotal * mul, div); in gen11_dsi_set_transcoder_timings()
861 hsync_start = DIV_ROUND_UP(adjusted_mode->crtc_hsync_start * mul, div); in gen11_dsi_set_transcoder_timings()
862 hsync_end = DIV_ROUND_UP(adjusted_mode->crtc_hsync_end * mul, div); in gen11_dsi_set_transcoder_timings()
864 hback_porch = (adjusted_mode in gen11_dsi_set_transcoder_timings()
1399 struct drm_display_mode *adjusted_mode = gen11_dsi_get_timings() local
1529 struct drm_display_mode *adjusted_mode = gen11_dsi_compute_config() local
[all...]
H A Dintel_crt.c134 pipe_config->hw.adjusted_mode.flags |= intel_crt_get_flags(encoder); in intel_crt_get_config()
136 pipe_config->hw.adjusted_mode.crtc_clock = pipe_config->port_clock; in intel_crt_get_config()
146 pipe_config->hw.adjusted_mode.flags &= ~(DRM_MODE_FLAG_PHSYNC | in hsw_crt_get_config()
150 pipe_config->hw.adjusted_mode.flags |= intel_crt_get_flags(encoder); in hsw_crt_get_config()
152 pipe_config->hw.adjusted_mode.crtc_clock = lpt_get_iclkip(dev_priv); in hsw_crt_get_config()
164 const struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; in intel_crt_set_dpms() local
172 if (adjusted_mode->flags & DRM_MODE_FLAG_PHSYNC) in intel_crt_set_dpms()
174 if (adjusted_mode->flags & DRM_MODE_FLAG_PVSYNC) in intel_crt_set_dpms()
384 struct drm_display_mode *adjusted_mode in intel_crt_compute_config() local
399 struct drm_display_mode *adjusted_mode = pch_crt_compute_config() local
416 struct drm_display_mode *adjusted_mode = hsw_crt_compute_config() local
[all...]

Completed in 24 milliseconds

12345678910>>...18