/linux/drivers/gpu/drm/msm/dp/ |
A D | dp_panel.c | 365 drm_mode = &panel->dp_panel.dp_mode.drm_mode; in dp_panel_timing_cfg() 368 drm_mode->hdisplay, drm_mode->htotal - drm_mode->hsync_end, in dp_panel_timing_cfg() 369 drm_mode->hsync_start - drm_mode->hdisplay, in dp_panel_timing_cfg() 370 drm_mode->hsync_end - drm_mode->hsync_start); in dp_panel_timing_cfg() 373 drm_mode->vdisplay, drm_mode->vtotal - drm_mode->vsync_end, in dp_panel_timing_cfg() 374 drm_mode->vsync_start - drm_mode->vdisplay, in dp_panel_timing_cfg() 417 drm_mode = &dp_panel->dp_mode.drm_mode; in dp_panel_init_panel_info() 427 drm_mode->htotal - drm_mode->hsync_end, in dp_panel_init_panel_info() 428 drm_mode->hsync_start - drm_mode->hdisplay, in dp_panel_init_panel_info() 431 drm_mode->vtotal - drm_mode->vsync_end, in dp_panel_init_panel_info() [all …]
|
A D | dp_debug.c | 44 drm_mode = &debug->panel->dp_mode.drm_mode; in dp_debug_show() 56 drm_mode->hdisplay, in dp_debug_show() 57 drm_mode->vdisplay); in dp_debug_show() 59 drm_mode->htotal - drm_mode->hsync_end, in dp_debug_show() 60 drm_mode->vtotal - drm_mode->vsync_end); in dp_debug_show() 62 drm_mode->hsync_start - drm_mode->hdisplay, in dp_debug_show() 63 drm_mode->vsync_start - drm_mode->vdisplay); in dp_debug_show() 65 drm_mode->hsync_end - drm_mode->hsync_start, in dp_debug_show() 66 drm_mode->vsync_end - drm_mode->vsync_start); in dp_debug_show() 71 drm_mode->hskew); in dp_debug_show() [all …]
|
A D | dp_drm.c | 51 struct drm_display_mode *m, drm_mode; in dp_connector_get_modes() local 76 if (dp_mode->drm_mode.clock) { /* valid DP mode */ in dp_connector_get_modes() 77 memset(&drm_mode, 0x0, sizeof(drm_mode)); in dp_connector_get_modes() 78 drm_mode_copy(&drm_mode, &dp_mode->drm_mode); in dp_connector_get_modes() 79 m = drm_mode_duplicate(connector->dev, &drm_mode); in dp_connector_get_modes() 82 drm_mode.hdisplay, in dp_connector_get_modes() 83 drm_mode.vdisplay); in dp_connector_get_modes()
|
A D | dp_catalog.c | 759 struct drm_display_mode *drm_mode) in dp_catalog_panel_tpg_enable() argument 771 hsync_period = drm_mode->htotal; in dp_catalog_panel_tpg_enable() 772 vsync_period = drm_mode->vtotal; in dp_catalog_panel_tpg_enable() 774 display_v_start = ((drm_mode->vtotal - drm_mode->vsync_start) * in dp_catalog_panel_tpg_enable() 777 drm_mode->vdisplay)) in dp_catalog_panel_tpg_enable() 780 display_v_start += drm_mode->htotal - drm_mode->hsync_start; in dp_catalog_panel_tpg_enable() 781 display_v_end -= (drm_mode->hsync_start - drm_mode->hdisplay); in dp_catalog_panel_tpg_enable() 783 hsync_start_x = drm_mode->htotal - drm_mode->hsync_start; in dp_catalog_panel_tpg_enable() 785 drm_mode->hdisplay) - 1; in dp_catalog_panel_tpg_enable() 787 v_sync_width = drm_mode->vsync_end - drm_mode->vsync_start; in dp_catalog_panel_tpg_enable() [all …]
|
A D | dp_display.c | 823 dp->panel->dp_mode.drm_mode = mode->drm_mode; in dp_display_set_mode() 968 if (dp_mode->drm_mode.clock) in dp_display_get_modes() 969 dp->max_pclk_khz = dp_mode->drm_mode.clock; in dp_display_get_modes() 1494 if (!dp_display->dp_mode.drm_mode.clock) { in msm_dp_display_enable() 1604 drm_mode_copy(&dp_display->dp_mode.drm_mode, adjusted_mode); in msm_dp_display_mode_set() 1607 !!(dp_display->dp_mode.drm_mode.flags & DRM_MODE_FLAG_NVSYNC); in msm_dp_display_mode_set() 1610 !!(dp_display->dp_mode.drm_mode.flags & DRM_MODE_FLAG_NHSYNC); in msm_dp_display_mode_set()
|
A D | dp_ctrl.c | 939 struct drm_display_mode *drm_mode; in dp_ctrl_calc_tu_parameters() local 941 drm_mode = &ctrl->panel->dp_mode.drm_mode; in dp_ctrl_calc_tu_parameters() 944 in.pclk_khz = drm_mode->clock; in dp_ctrl_calc_tu_parameters() 945 in.hactive = drm_mode->hdisplay; in dp_ctrl_calc_tu_parameters() 946 in.hporch = drm_mode->htotal - drm_mode->hdisplay; in dp_ctrl_calc_tu_parameters() 1489 ctrl->dp_ctrl.pixel_rate = ctrl->panel->dp_mode.drm_mode.clock; in dp_ctrl_link_maintenance() 1672 if (!ctrl->panel->dp_mode.drm_mode.clock) in dp_ctrl_on_link() 1678 ctrl->dp_ctrl.pixel_rate = ctrl->panel->dp_mode.drm_mode.clock; in dp_ctrl_on_link() 1791 ctrl->dp_ctrl.pixel_rate = ctrl->panel->dp_mode.drm_mode.clock; in dp_ctrl_on_stream()
|
A D | dp_panel.h | 23 struct drm_display_mode drm_mode; member
|
A D | dp_catalog.h | 121 struct drm_display_mode *drm_mode);
|
/linux/drivers/gpu/drm/ |
A D | drm_modes.c | 168 if (!drm_mode) in drm_cvt_mode() 277 drm_mode->htotal = drm_mode->hdisplay + hblank; in drm_cvt_mode() 278 drm_mode->hsync_end = drm_mode->hdisplay + hblank / 2; in drm_cvt_mode() 279 drm_mode->hsync_start = drm_mode->hsync_end - in drm_cvt_mode() 285 drm_mode->vsync_end = drm_mode->vsync_start + vsync; in drm_cvt_mode() 311 drm_mode->htotal = drm_mode->hdisplay + CVT_RB_H_BLANK; in drm_cvt_mode() 314 drm_mode->hsync_start = drm_mode->hsync_end - CVT_RB_H_SYNC; in drm_cvt_mode() 317 drm_mode->vsync_end = drm_mode->vsync_start + vsync; in drm_cvt_mode() 403 if (!drm_mode) in drm_gtf_mode_complex() 512 drm_mode->hsync_end = drm_mode->hsync_start + hsync; in drm_gtf_mode_complex() [all …]
|
A D | .drm_panel_orientation_quirks.o.cmd | 1127 include/uapi/drm/drm_mode.h \ 1129 include/uapi/drm/drm_mode.h \
|
A D | .drm_mipi_dsi.o.cmd | 1356 include/uapi/drm/drm_mode.h \ 1358 include/uapi/drm/drm_mode.h \
|
/linux/drivers/gpu/drm/i2c/ |
A D | ch7006_mode.c | 174 const struct drm_display_mode *drm_mode) in ch7006_lookup_mode() argument 184 if (mode->mode.hdisplay != drm_mode->hdisplay || in ch7006_lookup_mode() 185 mode->mode.vdisplay != drm_mode->vdisplay || in ch7006_lookup_mode() 186 mode->mode.vtotal != drm_mode->vtotal || in ch7006_lookup_mode() 187 mode->mode.htotal != drm_mode->htotal || in ch7006_lookup_mode() 188 mode->mode.clock != drm_mode->clock) in ch7006_lookup_mode()
|
A D | ch7006_drv.c | 114 struct drm_display_mode *drm_mode, in ch7006_encoder_mode_set() argument 141 start_active = (drm_mode->htotal & ~0x7) - (drm_mode->hsync_start & ~0x7); in ch7006_encoder_mode_set() 150 if (drm_mode->flags & DRM_MODE_FLAG_PVSYNC) in ch7006_encoder_mode_set() 152 if (drm_mode->flags & DRM_MODE_FLAG_PHSYNC) in ch7006_encoder_mode_set()
|
A D | ch7006_priv.h | 114 const struct drm_display_mode *drm_mode);
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm.c | 5968 copy_crtc_timing_for_drm_display_mode(native_mode, drm_mode); in decide_crtc_timing_for_drm_display_mode() 5969 } else if (native_mode->clock == drm_mode->clock && in decide_crtc_timing_for_drm_display_mode() 5970 native_mode->htotal == drm_mode->htotal && in decide_crtc_timing_for_drm_display_mode() 5971 native_mode->vtotal == drm_mode->vtotal) { in decide_crtc_timing_for_drm_display_mode() 6237 const struct drm_display_mode *drm_mode, in create_stream_for_sink() argument 6247 struct drm_display_mode mode = *drm_mode; in create_stream_for_sink() 6891 const struct drm_display_mode *drm_mode, in create_validate_stream_for_sink() argument 6903 stream = create_stream_for_sink(aconnector, drm_mode, in create_validate_stream_for_sink() 6915 drm_mode->hdisplay, in create_validate_stream_for_sink() 6916 drm_mode->vdisplay, in create_validate_stream_for_sink() [all …]
|
/linux/Documentation/gpu/ |
A D | drm-uapi.rst | 466 .. kernel-doc:: include/uapi/drm/drm_mode.h 485 .. kernel-doc:: include/uapi/drm/drm_mode.h
|
/linux/drivers/gpu/drm/nouveau/dispnv04/ |
A D | tvnv17.c | 458 struct drm_display_mode *drm_mode, in nv17_tv_mode_set() argument
|
/linux/sound/core/ |
A D | .pcm_drm_eld.o.cmd | 920 include/uapi/drm/drm_mode.h \ 922 include/uapi/drm/drm_mode.h \
|
/linux/drivers/video/fbdev/ |
A D | .efifb.o.cmd | 1404 include/uapi/drm/drm_mode.h \ 1406 include/uapi/drm/drm_mode.h \
|
/linux/drivers/firmware/ |
A D | .sysfb.o.cmd | 906 include/uapi/drm/drm_mode.h \
|
/linux/drivers/firmware/efi/ |
A D | .sysfb_efi.o.cmd | 1166 include/uapi/drm/drm_mode.h \
|