/linux-6.3-rc2/drivers/gpu/drm/msm/dp/ |
A D | dp_panel.c | 364 drm_mode = &panel->dp_panel.dp_mode.drm_mode; in dp_panel_timing_cfg() 367 drm_mode->hdisplay, drm_mode->htotal - drm_mode->hsync_end, in dp_panel_timing_cfg() 368 drm_mode->hsync_start - drm_mode->hdisplay, in dp_panel_timing_cfg() 372 drm_mode->vdisplay, drm_mode->vtotal - drm_mode->vsync_end, in dp_panel_timing_cfg() 373 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->hdisplay, drm_mode->vdisplay, drm_mode_vrefresh(drm_mode)); in dp_panel_init_panel_info() 430 drm_mode->htotal - drm_mode->hsync_end, in dp_panel_init_panel_info() 431 drm_mode->hsync_start - drm_mode->hdisplay, in dp_panel_init_panel_info() 435 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() 54 drm_mode->hdisplay, in dp_debug_show() 55 drm_mode->vdisplay); in dp_debug_show() 57 drm_mode->htotal - drm_mode->hsync_end, in dp_debug_show() 58 drm_mode->vtotal - drm_mode->vsync_end); in dp_debug_show() 60 drm_mode->hsync_start - drm_mode->hdisplay, in dp_debug_show() 61 drm_mode->vsync_start - drm_mode->vdisplay); in dp_debug_show() 63 drm_mode->hsync_end - drm_mode->hsync_start, in dp_debug_show() 64 drm_mode->vsync_end - drm_mode->vsync_start); in dp_debug_show() 69 drm_mode->hskew); in dp_debug_show() [all …]
|
A D | dp_catalog.c | 809 struct drm_display_mode *drm_mode) in dp_catalog_panel_tpg_enable() argument 821 hsync_period = drm_mode->htotal; in dp_catalog_panel_tpg_enable() 822 vsync_period = drm_mode->vtotal; in dp_catalog_panel_tpg_enable() 824 display_v_start = ((drm_mode->vtotal - drm_mode->vsync_start) * in dp_catalog_panel_tpg_enable() 827 drm_mode->vdisplay)) in dp_catalog_panel_tpg_enable() 830 display_v_start += drm_mode->htotal - drm_mode->hsync_start; in dp_catalog_panel_tpg_enable() 831 display_v_end -= (drm_mode->hsync_start - drm_mode->hdisplay); in dp_catalog_panel_tpg_enable() 833 hsync_start_x = drm_mode->htotal - drm_mode->hsync_start; in dp_catalog_panel_tpg_enable() 835 drm_mode->hdisplay) - 1; in dp_catalog_panel_tpg_enable() 837 v_sync_width = drm_mode->vsync_end - drm_mode->vsync_start; in dp_catalog_panel_tpg_enable() [all …]
|
A D | dp_panel.h | 23 struct drm_display_mode drm_mode; member
|
A D | dp_ctrl.c | 945 struct drm_display_mode *drm_mode; in dp_ctrl_calc_tu_parameters() local 947 drm_mode = &ctrl->panel->dp_mode.drm_mode; in dp_ctrl_calc_tu_parameters() 950 in.pclk_khz = drm_mode->clock; in dp_ctrl_calc_tu_parameters() 951 in.hactive = drm_mode->hdisplay; in dp_ctrl_calc_tu_parameters() 952 in.hporch = drm_mode->htotal - drm_mode->hdisplay; in dp_ctrl_calc_tu_parameters() 1593 pixel_rate = ctrl->panel->dp_mode.drm_mode.clock; in dp_ctrl_process_phy_test_request() 1690 pixel_rate = ctrl->panel->dp_mode.drm_mode.clock; in dp_ctrl_on_link() 1817 pixel_rate = pixel_rate_orig = ctrl->panel->dp_mode.drm_mode.clock; in dp_ctrl_on_stream()
|
A D | dp_catalog.h | 124 struct drm_display_mode *drm_mode);
|
A D | dp_display.c | 872 drm_mode_copy(&dp->panel->dp_mode.drm_mode, &mode->drm_mode); in dp_display_set_mode() 1665 if (!dp_display->dp_mode.drm_mode.clock) { in dp_bridge_enable() 1775 drm_mode_copy(&dp_display->dp_mode.drm_mode, adjusted_mode); in dp_bridge_mode_set() 1778 !!(dp_display->dp_mode.drm_mode.flags & DRM_MODE_FLAG_NVSYNC); in dp_bridge_mode_set() 1781 !!(dp_display->dp_mode.drm_mode.flags & DRM_MODE_FLAG_NHSYNC); in dp_bridge_mode_set()
|
/linux-6.3-rc2/drivers/gpu/drm/ |
A D | drm_modes.c | 648 if (!drm_mode) in drm_cvt_mode() 757 drm_mode->htotal = drm_mode->hdisplay + hblank; in drm_cvt_mode() 758 drm_mode->hsync_end = drm_mode->hdisplay + hblank / 2; in drm_cvt_mode() 759 drm_mode->hsync_start = drm_mode->hsync_end - in drm_cvt_mode() 765 drm_mode->vsync_end = drm_mode->vsync_start + vsync; in drm_cvt_mode() 791 drm_mode->htotal = drm_mode->hdisplay + CVT_RB_H_BLANK; in drm_cvt_mode() 794 drm_mode->hsync_start = drm_mode->hsync_end - CVT_RB_H_SYNC; in drm_cvt_mode() 797 drm_mode->vsync_end = drm_mode->vsync_start + vsync; in drm_cvt_mode() 883 if (!drm_mode) in drm_gtf_mode_complex() 992 drm_mode->hsync_end = drm_mode->hsync_start + hsync; in drm_gtf_mode_complex() [all …]
|
/linux-6.3-rc2/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 | 116 struct drm_display_mode *drm_mode, in ch7006_encoder_mode_set() argument 143 start_active = (drm_mode->htotal & ~0x7) - (drm_mode->hsync_start & ~0x7); in ch7006_encoder_mode_set() 152 if (drm_mode->flags & DRM_MODE_FLAG_PVSYNC) in ch7006_encoder_mode_set() 154 if (drm_mode->flags & DRM_MODE_FLAG_PHSYNC) in ch7006_encoder_mode_set()
|
A D | ch7006_priv.h | 113 const struct drm_display_mode *drm_mode);
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm.h | 818 const struct drm_display_mode *drm_mode,
|
A D | amdgpu_dm.c | 5552 copy_crtc_timing_for_drm_display_mode(native_mode, drm_mode); in decide_crtc_timing_for_drm_display_mode() 5553 } else if (native_mode->clock == drm_mode->clock && in decide_crtc_timing_for_drm_display_mode() 5554 native_mode->htotal == drm_mode->htotal && in decide_crtc_timing_for_drm_display_mode() 5555 native_mode->vtotal == drm_mode->vtotal) { in decide_crtc_timing_for_drm_display_mode() 5911 const struct drm_display_mode *drm_mode, in create_stream_for_sink() argument 5936 drm_mode_init(&mode, drm_mode); in create_stream_for_sink() 6457 const struct drm_display_mode *drm_mode, in create_validate_stream_for_sink() argument 6469 stream = create_stream_for_sink(aconnector, drm_mode, in create_validate_stream_for_sink() 6486 drm_mode->hdisplay, in create_validate_stream_for_sink() 6487 drm_mode->vdisplay, in create_validate_stream_for_sink() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/dispnv04/ |
A D | tvnv17.c | 459 struct drm_display_mode *drm_mode, in nv17_tv_mode_set() argument
|
/linux-6.3-rc2/Documentation/gpu/ |
A D | drm-uapi.rst | 468 .. kernel-doc:: include/uapi/drm/drm_mode.h 487 .. kernel-doc:: include/uapi/drm/drm_mode.h
|