Home
last modified time | relevance | path

Searched refs:drm_mode (Results 1 – 15 of 15) sorted by relevance

/linux-6.3-rc2/drivers/gpu/drm/msm/dp/
A Ddp_panel.c364 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 Ddp_debug.c44 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 Ddp_catalog.c809 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 Ddp_panel.h23 struct drm_display_mode drm_mode; member
A Ddp_ctrl.c945 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 Ddp_catalog.h124 struct drm_display_mode *drm_mode);
A Ddp_display.c872 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 Ddrm_modes.c648 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 Dch7006_mode.c174 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 Dch7006_drv.c116 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 Dch7006_priv.h113 const struct drm_display_mode *drm_mode);
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm.h818 const struct drm_display_mode *drm_mode,
A Damdgpu_dm.c5552 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 Dtvnv17.c459 struct drm_display_mode *drm_mode, in nv17_tv_mode_set() argument
/linux-6.3-rc2/Documentation/gpu/
A Ddrm-uapi.rst468 .. kernel-doc:: include/uapi/drm/drm_mode.h
487 .. kernel-doc:: include/uapi/drm/drm_mode.h

Completed in 52 milliseconds