panel_fixed_mode 277 drivers/gpu/drm/gma500/cdv_intel_dp.c struct drm_display_mode *panel_fixed_mode; /* for eDP */ panel_fixed_mode 519 drivers/gpu/drm/gma500/cdv_intel_dp.c if (is_edp(encoder) && intel_dp->panel_fixed_mode) { panel_fixed_mode 520 drivers/gpu/drm/gma500/cdv_intel_dp.c if (mode->hdisplay > intel_dp->panel_fixed_mode->hdisplay) panel_fixed_mode 522 drivers/gpu/drm/gma500/cdv_intel_dp.c if (mode->vdisplay > intel_dp->panel_fixed_mode->vdisplay) panel_fixed_mode 908 drivers/gpu/drm/gma500/cdv_intel_dp.c if (is_edp(intel_encoder) && intel_dp->panel_fixed_mode) { panel_fixed_mode 909 drivers/gpu/drm/gma500/cdv_intel_dp.c cdv_intel_fixed_panel_mode(intel_dp->panel_fixed_mode, adjusted_mode); panel_fixed_mode 910 drivers/gpu/drm/gma500/cdv_intel_dp.c refclock = intel_dp->panel_fixed_mode->clock; panel_fixed_mode 1785 drivers/gpu/drm/gma500/cdv_intel_dp.c if (edp && !intel_dp->panel_fixed_mode) { panel_fixed_mode 1790 drivers/gpu/drm/gma500/cdv_intel_dp.c intel_dp->panel_fixed_mode = panel_fixed_mode 1799 drivers/gpu/drm/gma500/cdv_intel_dp.c if (!intel_dp->panel_fixed_mode && dev_priv->lfp_lvds_vbt_mode) { panel_fixed_mode 1800 drivers/gpu/drm/gma500/cdv_intel_dp.c intel_dp->panel_fixed_mode = panel_fixed_mode 1802 drivers/gpu/drm/gma500/cdv_intel_dp.c if (intel_dp->panel_fixed_mode) { panel_fixed_mode 1803 drivers/gpu/drm/gma500/cdv_intel_dp.c intel_dp->panel_fixed_mode->type |= panel_fixed_mode 1807 drivers/gpu/drm/gma500/cdv_intel_dp.c if (intel_dp->panel_fixed_mode != NULL) { panel_fixed_mode 1809 drivers/gpu/drm/gma500/cdv_intel_dp.c mode = drm_mode_duplicate(dev, intel_dp->panel_fixed_mode); panel_fixed_mode 1905 drivers/gpu/drm/gma500/cdv_intel_dp.c kfree(intel_dp->panel_fixed_mode); panel_fixed_mode 1906 drivers/gpu/drm/gma500/cdv_intel_dp.c intel_dp->panel_fixed_mode = NULL; panel_fixed_mode 240 drivers/gpu/drm/gma500/cdv_intel_lvds.c dev_priv->mode_dev.panel_fixed_mode; panel_fixed_mode 267 drivers/gpu/drm/gma500/cdv_intel_lvds.c struct drm_display_mode *panel_fixed_mode = mode_dev->panel_fixed_mode; panel_fixed_mode 285 drivers/gpu/drm/gma500/cdv_intel_lvds.c if (panel_fixed_mode != NULL) { panel_fixed_mode 286 drivers/gpu/drm/gma500/cdv_intel_lvds.c adjusted_mode->hdisplay = panel_fixed_mode->hdisplay; panel_fixed_mode 287 drivers/gpu/drm/gma500/cdv_intel_lvds.c adjusted_mode->hsync_start = panel_fixed_mode->hsync_start; panel_fixed_mode 288 drivers/gpu/drm/gma500/cdv_intel_lvds.c adjusted_mode->hsync_end = panel_fixed_mode->hsync_end; panel_fixed_mode 289 drivers/gpu/drm/gma500/cdv_intel_lvds.c adjusted_mode->htotal = panel_fixed_mode->htotal; panel_fixed_mode 290 drivers/gpu/drm/gma500/cdv_intel_lvds.c adjusted_mode->vdisplay = panel_fixed_mode->vdisplay; panel_fixed_mode 291 drivers/gpu/drm/gma500/cdv_intel_lvds.c adjusted_mode->vsync_start = panel_fixed_mode->vsync_start; panel_fixed_mode 292 drivers/gpu/drm/gma500/cdv_intel_lvds.c adjusted_mode->vsync_end = panel_fixed_mode->vsync_end; panel_fixed_mode 293 drivers/gpu/drm/gma500/cdv_intel_lvds.c adjusted_mode->vtotal = panel_fixed_mode->vtotal; panel_fixed_mode 294 drivers/gpu/drm/gma500/cdv_intel_lvds.c adjusted_mode->clock = panel_fixed_mode->clock; panel_fixed_mode 391 drivers/gpu/drm/gma500/cdv_intel_lvds.c if (mode_dev->panel_fixed_mode != NULL) { panel_fixed_mode 393 drivers/gpu/drm/gma500/cdv_intel_lvds.c drm_mode_duplicate(dev, mode_dev->panel_fixed_mode); panel_fixed_mode 686 drivers/gpu/drm/gma500/cdv_intel_lvds.c mode_dev->panel_fixed_mode = panel_fixed_mode 694 drivers/gpu/drm/gma500/cdv_intel_lvds.c mode_dev->panel_fixed_mode = panel_fixed_mode 696 drivers/gpu/drm/gma500/cdv_intel_lvds.c if (mode_dev->panel_fixed_mode) { panel_fixed_mode 697 drivers/gpu/drm/gma500/cdv_intel_lvds.c mode_dev->panel_fixed_mode->type |= panel_fixed_mode 712 drivers/gpu/drm/gma500/cdv_intel_lvds.c mode_dev->panel_fixed_mode = panel_fixed_mode 714 drivers/gpu/drm/gma500/cdv_intel_lvds.c if (mode_dev->panel_fixed_mode) { panel_fixed_mode 715 drivers/gpu/drm/gma500/cdv_intel_lvds.c mode_dev->panel_fixed_mode->type |= panel_fixed_mode 722 drivers/gpu/drm/gma500/cdv_intel_lvds.c if (!mode_dev->panel_fixed_mode) { panel_fixed_mode 146 drivers/gpu/drm/gma500/intel_bios.c static void fill_detail_timing_data(struct drm_display_mode *panel_fixed_mode, panel_fixed_mode 149 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode->hdisplay = (dvo_timing->hactive_hi << 8) | panel_fixed_mode 151 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode->hsync_start = panel_fixed_mode->hdisplay + panel_fixed_mode 153 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode->hsync_end = panel_fixed_mode->hsync_start + panel_fixed_mode 155 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode->htotal = panel_fixed_mode->hdisplay + panel_fixed_mode 158 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode->vdisplay = (dvo_timing->vactive_hi << 8) | panel_fixed_mode 160 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode->vsync_start = panel_fixed_mode->vdisplay + panel_fixed_mode 162 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode->vsync_end = panel_fixed_mode->vsync_start + panel_fixed_mode 164 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode->vtotal = panel_fixed_mode->vdisplay + panel_fixed_mode 166 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode->clock = dvo_timing->clock * 10; panel_fixed_mode 167 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode->type = DRM_MODE_TYPE_PREFERRED; panel_fixed_mode 170 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode->flags |= DRM_MODE_FLAG_PHSYNC; panel_fixed_mode 172 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode->flags |= DRM_MODE_FLAG_NHSYNC; panel_fixed_mode 175 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode->flags |= DRM_MODE_FLAG_PVSYNC; panel_fixed_mode 177 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode->flags |= DRM_MODE_FLAG_NVSYNC; panel_fixed_mode 180 drivers/gpu/drm/gma500/intel_bios.c if (panel_fixed_mode->hsync_end > panel_fixed_mode->htotal) panel_fixed_mode 181 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode->htotal = panel_fixed_mode->hsync_end + 1; panel_fixed_mode 182 drivers/gpu/drm/gma500/intel_bios.c if (panel_fixed_mode->vsync_end > panel_fixed_mode->vtotal) panel_fixed_mode 183 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode->vtotal = panel_fixed_mode->vsync_end + 1; panel_fixed_mode 185 drivers/gpu/drm/gma500/intel_bios.c drm_mode_set_name(panel_fixed_mode); panel_fixed_mode 224 drivers/gpu/drm/gma500/intel_bios.c struct drm_display_mode *panel_fixed_mode; panel_fixed_mode 248 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode = kzalloc(sizeof(*panel_fixed_mode), panel_fixed_mode 250 drivers/gpu/drm/gma500/intel_bios.c if (panel_fixed_mode == NULL) { panel_fixed_mode 256 drivers/gpu/drm/gma500/intel_bios.c fill_detail_timing_data(panel_fixed_mode, dvo_timing); panel_fixed_mode 258 drivers/gpu/drm/gma500/intel_bios.c if (panel_fixed_mode->htotal > 0 && panel_fixed_mode->vtotal > 0) { panel_fixed_mode 259 drivers/gpu/drm/gma500/intel_bios.c dev_priv->lfp_lvds_vbt_mode = panel_fixed_mode; panel_fixed_mode 260 drivers/gpu/drm/gma500/intel_bios.c drm_mode_debug_printmodeline(panel_fixed_mode); panel_fixed_mode 264 drivers/gpu/drm/gma500/intel_bios.c kfree(panel_fixed_mode); panel_fixed_mode 275 drivers/gpu/drm/gma500/intel_bios.c struct drm_display_mode *panel_fixed_mode; panel_fixed_mode 287 drivers/gpu/drm/gma500/intel_bios.c panel_fixed_mode = kzalloc(sizeof(*panel_fixed_mode), GFP_KERNEL); panel_fixed_mode 289 drivers/gpu/drm/gma500/intel_bios.c if (!panel_fixed_mode) panel_fixed_mode 292 drivers/gpu/drm/gma500/intel_bios.c fill_detail_timing_data(panel_fixed_mode, panel_fixed_mode 295 drivers/gpu/drm/gma500/intel_bios.c dev_priv->sdvo_lvds_vbt_mode = panel_fixed_mode; panel_fixed_mode 218 drivers/gpu/drm/gma500/oaktrail_lvds.c mode_dev->panel_fixed_mode = NULL; panel_fixed_mode 256 drivers/gpu/drm/gma500/oaktrail_lvds.c mode_dev->panel_fixed_mode = mode; panel_fixed_mode 260 drivers/gpu/drm/gma500/oaktrail_lvds.c if (mode_dev->panel_fixed_mode == NULL && mode_dev->vbt_mode) panel_fixed_mode 261 drivers/gpu/drm/gma500/oaktrail_lvds.c mode_dev->panel_fixed_mode = drm_mode_duplicate(dev, panel_fixed_mode 265 drivers/gpu/drm/gma500/oaktrail_lvds.c if (mode_dev->panel_fixed_mode == NULL) panel_fixed_mode 267 drivers/gpu/drm/gma500/oaktrail_lvds.c mode_dev->panel_fixed_mode = panel_fixed_mode 272 drivers/gpu/drm/gma500/oaktrail_lvds.c if (mode_dev->panel_fixed_mode == NULL) panel_fixed_mode 275 drivers/gpu/drm/gma500/oaktrail_lvds.c drm_mode_set_name(mode_dev->panel_fixed_mode); panel_fixed_mode 276 drivers/gpu/drm/gma500/oaktrail_lvds.c drm_mode_set_crtcinfo(mode_dev->panel_fixed_mode, 0); panel_fixed_mode 373 drivers/gpu/drm/gma500/oaktrail_lvds.c mode_dev->panel_fixed_mode = panel_fixed_mode 386 drivers/gpu/drm/gma500/oaktrail_lvds.c if (mode_dev->panel_fixed_mode) { panel_fixed_mode 387 drivers/gpu/drm/gma500/oaktrail_lvds.c mode_dev->panel_fixed_mode->type |= DRM_MODE_TYPE_PREFERRED; panel_fixed_mode 392 drivers/gpu/drm/gma500/oaktrail_lvds.c if (!mode_dev->panel_fixed_mode) { panel_fixed_mode 512 drivers/gpu/drm/gma500/psb_drv.h struct drm_display_mode *panel_fixed_mode; panel_fixed_mode 93 drivers/gpu/drm/gma500/psb_intel_drv.h struct drm_display_mode *panel_fixed_mode; panel_fixed_mode 339 drivers/gpu/drm/gma500/psb_intel_lvds.c dev_priv->mode_dev.panel_fixed_mode; panel_fixed_mode 370 drivers/gpu/drm/gma500/psb_intel_lvds.c struct drm_display_mode *panel_fixed_mode = mode_dev->panel_fixed_mode; panel_fixed_mode 374 drivers/gpu/drm/gma500/psb_intel_lvds.c panel_fixed_mode = mode_dev->panel_fixed_mode2; panel_fixed_mode 401 drivers/gpu/drm/gma500/psb_intel_lvds.c if (panel_fixed_mode != NULL) { panel_fixed_mode 402 drivers/gpu/drm/gma500/psb_intel_lvds.c adjusted_mode->hdisplay = panel_fixed_mode->hdisplay; panel_fixed_mode 403 drivers/gpu/drm/gma500/psb_intel_lvds.c adjusted_mode->hsync_start = panel_fixed_mode->hsync_start; panel_fixed_mode 404 drivers/gpu/drm/gma500/psb_intel_lvds.c adjusted_mode->hsync_end = panel_fixed_mode->hsync_end; panel_fixed_mode 405 drivers/gpu/drm/gma500/psb_intel_lvds.c adjusted_mode->htotal = panel_fixed_mode->htotal; panel_fixed_mode 406 drivers/gpu/drm/gma500/psb_intel_lvds.c adjusted_mode->vdisplay = panel_fixed_mode->vdisplay; panel_fixed_mode 407 drivers/gpu/drm/gma500/psb_intel_lvds.c adjusted_mode->vsync_start = panel_fixed_mode->vsync_start; panel_fixed_mode 408 drivers/gpu/drm/gma500/psb_intel_lvds.c adjusted_mode->vsync_end = panel_fixed_mode->vsync_end; panel_fixed_mode 409 drivers/gpu/drm/gma500/psb_intel_lvds.c adjusted_mode->vtotal = panel_fixed_mode->vtotal; panel_fixed_mode 410 drivers/gpu/drm/gma500/psb_intel_lvds.c adjusted_mode->clock = panel_fixed_mode->clock; panel_fixed_mode 506 drivers/gpu/drm/gma500/psb_intel_lvds.c if (mode_dev->panel_fixed_mode != NULL) { panel_fixed_mode 508 drivers/gpu/drm/gma500/psb_intel_lvds.c drm_mode_duplicate(dev, mode_dev->panel_fixed_mode); panel_fixed_mode 747 drivers/gpu/drm/gma500/psb_intel_lvds.c mode_dev->panel_fixed_mode = panel_fixed_mode 756 drivers/gpu/drm/gma500/psb_intel_lvds.c mode_dev->panel_fixed_mode = panel_fixed_mode 759 drivers/gpu/drm/gma500/psb_intel_lvds.c if (mode_dev->panel_fixed_mode) { panel_fixed_mode 760 drivers/gpu/drm/gma500/psb_intel_lvds.c mode_dev->panel_fixed_mode->type |= panel_fixed_mode 777 drivers/gpu/drm/gma500/psb_intel_lvds.c mode_dev->panel_fixed_mode = panel_fixed_mode 779 drivers/gpu/drm/gma500/psb_intel_lvds.c if (mode_dev->panel_fixed_mode) { panel_fixed_mode 780 drivers/gpu/drm/gma500/psb_intel_lvds.c mode_dev->panel_fixed_mode->type |= panel_fixed_mode 788 drivers/gpu/drm/gma500/psb_intel_lvds.c if (!mode_dev->panel_fixed_mode) { panel_fixed_mode 112 drivers/gpu/drm/i915/display/intel_bios.c fill_detail_timing_data(struct drm_display_mode *panel_fixed_mode, panel_fixed_mode 115 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->hdisplay = (dvo_timing->hactive_hi << 8) | panel_fixed_mode 117 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->hsync_start = panel_fixed_mode->hdisplay + panel_fixed_mode 119 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->hsync_end = panel_fixed_mode->hsync_start + panel_fixed_mode 122 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->htotal = panel_fixed_mode->hdisplay + panel_fixed_mode 125 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->vdisplay = (dvo_timing->vactive_hi << 8) | panel_fixed_mode 127 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->vsync_start = panel_fixed_mode->vdisplay + panel_fixed_mode 129 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->vsync_end = panel_fixed_mode->vsync_start + panel_fixed_mode 132 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->vtotal = panel_fixed_mode->vdisplay + panel_fixed_mode 134 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->clock = dvo_timing->clock * 10; panel_fixed_mode 135 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->type = DRM_MODE_TYPE_PREFERRED; panel_fixed_mode 138 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->flags |= DRM_MODE_FLAG_PHSYNC; panel_fixed_mode 140 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->flags |= DRM_MODE_FLAG_NHSYNC; panel_fixed_mode 143 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->flags |= DRM_MODE_FLAG_PVSYNC; panel_fixed_mode 145 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->flags |= DRM_MODE_FLAG_NVSYNC; panel_fixed_mode 147 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->width_mm = (dvo_timing->himage_hi << 8) | panel_fixed_mode 149 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->height_mm = (dvo_timing->vimage_hi << 8) | panel_fixed_mode 153 drivers/gpu/drm/i915/display/intel_bios.c if (panel_fixed_mode->hsync_end > panel_fixed_mode->htotal) panel_fixed_mode 154 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->htotal = panel_fixed_mode->hsync_end + 1; panel_fixed_mode 155 drivers/gpu/drm/i915/display/intel_bios.c if (panel_fixed_mode->vsync_end > panel_fixed_mode->vtotal) panel_fixed_mode 156 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode->vtotal = panel_fixed_mode->vsync_end + 1; panel_fixed_mode 158 drivers/gpu/drm/i915/display/intel_bios.c drm_mode_set_name(panel_fixed_mode); panel_fixed_mode 215 drivers/gpu/drm/i915/display/intel_bios.c struct drm_display_mode *panel_fixed_mode; panel_fixed_mode 277 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode = kzalloc(sizeof(*panel_fixed_mode), GFP_KERNEL); panel_fixed_mode 278 drivers/gpu/drm/i915/display/intel_bios.c if (!panel_fixed_mode) panel_fixed_mode 281 drivers/gpu/drm/i915/display/intel_bios.c fill_detail_timing_data(panel_fixed_mode, panel_dvo_timing); panel_fixed_mode 283 drivers/gpu/drm/i915/display/intel_bios.c dev_priv->vbt.lfp_lvds_vbt_mode = panel_fixed_mode; panel_fixed_mode 286 drivers/gpu/drm/i915/display/intel_bios.c drm_mode_debug_printmodeline(panel_fixed_mode); panel_fixed_mode 293 drivers/gpu/drm/i915/display/intel_bios.c if (fp_timing->x_res == panel_fixed_mode->hdisplay && panel_fixed_mode 294 drivers/gpu/drm/i915/display/intel_bios.c fp_timing->y_res == panel_fixed_mode->vdisplay) { panel_fixed_mode 357 drivers/gpu/drm/i915/display/intel_bios.c struct drm_display_mode *panel_fixed_mode; panel_fixed_mode 380 drivers/gpu/drm/i915/display/intel_bios.c panel_fixed_mode = kzalloc(sizeof(*panel_fixed_mode), GFP_KERNEL); panel_fixed_mode 381 drivers/gpu/drm/i915/display/intel_bios.c if (!panel_fixed_mode) panel_fixed_mode 384 drivers/gpu/drm/i915/display/intel_bios.c fill_detail_timing_data(panel_fixed_mode, &dtds->dtds[index]); panel_fixed_mode 386 drivers/gpu/drm/i915/display/intel_bios.c dev_priv->vbt.sdvo_lvds_vbt_mode = panel_fixed_mode; panel_fixed_mode 389 drivers/gpu/drm/i915/display/intel_bios.c drm_mode_debug_printmodeline(panel_fixed_mode);