/drivers/gpu/drm/i915/ |
D | intel_lvds.c | 161 struct drm_display_mode *adjusted_mode) in intel_lvds_mode_fixup() argument 190 adjusted_mode->hdisplay = dev_priv->panel_fixed_mode->hdisplay; in intel_lvds_mode_fixup() 191 adjusted_mode->hsync_start = in intel_lvds_mode_fixup() 193 adjusted_mode->hsync_end = in intel_lvds_mode_fixup() 195 adjusted_mode->htotal = dev_priv->panel_fixed_mode->htotal; in intel_lvds_mode_fixup() 196 adjusted_mode->vdisplay = dev_priv->panel_fixed_mode->vdisplay; in intel_lvds_mode_fixup() 197 adjusted_mode->vsync_start = in intel_lvds_mode_fixup() 199 adjusted_mode->vsync_end = in intel_lvds_mode_fixup() 201 adjusted_mode->vtotal = dev_priv->panel_fixed_mode->vtotal; in intel_lvds_mode_fixup() 202 adjusted_mode->clock = dev_priv->panel_fixed_mode->clock; in intel_lvds_mode_fixup() [all …]
|
D | intel_dvo.c | 150 struct drm_display_mode *adjusted_mode) in intel_dvo_mode_fixup() argument 161 #define C(x) adjusted_mode->x = dvo->panel_fixed_mode->x in intel_dvo_mode_fixup() 171 drm_mode_set_crtcinfo(adjusted_mode, CRTC_INTERLACE_HALVE_V); in intel_dvo_mode_fixup() 176 return dvo->dev_ops->mode_fixup(dvo, mode, adjusted_mode); in intel_dvo_mode_fixup() 183 struct drm_display_mode *adjusted_mode) in intel_dvo_mode_set() argument 208 dvo->dev_ops->mode_set(dvo, mode, adjusted_mode); in intel_dvo_mode_set() 219 if (adjusted_mode->flags & DRM_MODE_FLAG_PHSYNC) in intel_dvo_mode_set() 221 if (adjusted_mode->flags & DRM_MODE_FLAG_PVSYNC) in intel_dvo_mode_set() 230 (adjusted_mode->hdisplay << DVO_SRCDIM_HORIZONTAL_SHIFT) | in intel_dvo_mode_set() 231 (adjusted_mode->vdisplay << DVO_SRCDIM_VERTICAL_SHIFT)); in intel_dvo_mode_set()
|
D | intel_crt.c | 78 struct drm_display_mode *adjusted_mode) in intel_crt_mode_fixup() argument 85 struct drm_display_mode *adjusted_mode) in intel_crt_mode_set() argument 111 if (adjusted_mode->flags & DRM_MODE_FLAG_PHSYNC) in intel_crt_mode_set() 113 if (adjusted_mode->flags & DRM_MODE_FLAG_PVSYNC) in intel_crt_mode_set()
|
D | dvo_ivch.c | 331 struct drm_display_mode *adjusted_mode) in ivch_mode_set() argument 340 if (mode->hdisplay != adjusted_mode->hdisplay || in ivch_mode_set() 341 mode->vdisplay != adjusted_mode->vdisplay) { in ivch_mode_set() 347 (adjusted_mode->hdisplay - 1)) >> 2; in ivch_mode_set() 349 (adjusted_mode->vdisplay - 1)) >> 2; in ivch_mode_set()
|
D | intel_display.c | 620 struct drm_display_mode *adjusted_mode) in intel_crtc_mode_fixup() argument 707 struct drm_display_mode *adjusted_mode, in intel_crtc_mode_set() argument 779 ok = intel_find_best_PLL(crtc, adjusted_mode->clock, refclk, &clock); in intel_crtc_mode_set() 796 int sdvo_pixel_multiply = adjusted_mode->clock / mode->clock; in intel_crtc_mode_set() 919 int sdvo_pixel_multiply = adjusted_mode->clock / mode->clock; in intel_crtc_mode_set() 930 I915_WRITE(htot_reg, (adjusted_mode->crtc_hdisplay - 1) | in intel_crtc_mode_set() 931 ((adjusted_mode->crtc_htotal - 1) << 16)); in intel_crtc_mode_set() 932 I915_WRITE(hblank_reg, (adjusted_mode->crtc_hblank_start - 1) | in intel_crtc_mode_set() 933 ((adjusted_mode->crtc_hblank_end - 1) << 16)); in intel_crtc_mode_set() 934 I915_WRITE(hsync_reg, (adjusted_mode->crtc_hsync_start - 1) | in intel_crtc_mode_set() [all …]
|
D | dvo.h | 103 struct drm_display_mode *adjusted_mode); 124 struct drm_display_mode *adjusted_mode);
|
D | intel_hdmi.c | 46 struct drm_display_mode *adjusted_mode) in intel_hdmi_mode_set() argument 126 struct drm_display_mode *adjusted_mode) in intel_hdmi_mode_fixup() argument
|
D | dvo_sil164.c | 203 struct drm_display_mode *adjusted_mode) in sil164_mode_set() argument
|
D | intel_sdvo.c | 929 struct drm_display_mode *adjusted_mode) in intel_sdvo_mode_fixup() argument 938 adjusted_mode->clock *= intel_sdvo_get_pixel_multiplier(mode); in intel_sdvo_mode_fixup() 969 intel_sdvo_get_mode_from_dtd(adjusted_mode, &input_dtd); in intel_sdvo_mode_fixup() 980 struct drm_display_mode *adjusted_mode) in intel_sdvo_mode_set() argument
|
D | dvo_tfp410.c | 233 struct drm_display_mode *adjusted_mode) in tfp410_mode_set() argument
|
D | dvo_ch7xxx.c | 265 struct drm_display_mode *adjusted_mode) in ch7xxx_mode_set() argument
|
D | dvo_ch7017.c | 277 struct drm_display_mode *adjusted_mode) in ch7017_mode_set() argument
|
D | intel_tv.c | 1093 struct drm_display_mode *adjusted_mode) in intel_tv_mode_fixup() argument 1111 adjusted_mode->clock = tv_mode->clock; in intel_tv_mode_fixup() 1117 struct drm_display_mode *adjusted_mode) in intel_tv_mode_set() argument
|
/drivers/gpu/drm/ |
D | drm_crtc_helper.c | 530 struct drm_display_mode *adjusted_mode, saved_mode; in drm_crtc_helper_set_mode() local 538 adjusted_mode = drm_mode_duplicate(dev, mode); in drm_crtc_helper_set_mode() 584 adjusted_mode))) { in drm_crtc_helper_set_mode() 589 if (!(ret = crtc_funcs->mode_fixup(crtc, mode, adjusted_mode))) { in drm_crtc_helper_set_mode() 610 ret = !crtc_funcs->mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in drm_crtc_helper_set_mode() 622 encoder_funcs->mode_set(encoder, mode, adjusted_mode); in drm_crtc_helper_set_mode() 639 drm_mode_destroy(dev, adjusted_mode); in drm_crtc_helper_set_mode()
|