Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/msm/dp/
H A Ddp_panel.c369 drm_mode = &panel->dp_panel.dp_mode.drm_mode; in dp_panel_timing_cfg()
372 drm_mode->hdisplay, drm_mode->htotal - drm_mode->hsync_end, in dp_panel_timing_cfg()
373 drm_mode->hsync_start - drm_mode->hdisplay, in dp_panel_timing_cfg()
377 drm_mode->vdisplay, drm_mode->vtotal - drm_mode->vsync_end, in dp_panel_timing_cfg()
378 drm_mode->vsync_start - drm_mode->vdisplay, in dp_panel_timing_cfg()
422 drm_mode = &dp_panel->dp_mode.drm_mode; in dp_panel_init_panel_info()
432 drm_mode->hdisplay, drm_mode->vdisplay, drm_mode_vrefresh(drm_mode)); in dp_panel_init_panel_info()
435 drm_mode->htotal - drm_mode->hsync_end, in dp_panel_init_panel_info()
436 drm_mode->hsync_start - drm_mode->hdisplay, in dp_panel_init_panel_info()
440 drm_mode->vtotal - drm_mode->vsync_end, in dp_panel_init_panel_info()
[all …]
H A Ddp_debug.c43 drm_mode = &debug->panel->dp_mode.drm_mode; in dp_debug_show()
53 drm_mode->hdisplay, in dp_debug_show()
54 drm_mode->vdisplay); in dp_debug_show()
56 drm_mode->htotal - drm_mode->hsync_end, in dp_debug_show()
57 drm_mode->vtotal - drm_mode->vsync_end); in dp_debug_show()
59 drm_mode->hsync_start - drm_mode->hdisplay, in dp_debug_show()
60 drm_mode->vsync_start - drm_mode->vdisplay); in dp_debug_show()
62 drm_mode->hsync_end - drm_mode->hsync_start, in dp_debug_show()
63 drm_mode->vsync_end - drm_mode->vsync_start); in dp_debug_show()
68 drm_mode->hskew); in dp_debug_show()
[all …]
H A Ddp_catalog.c902 struct drm_display_mode *drm_mode) in dp_catalog_panel_tpg_enable() argument
914 hsync_period = drm_mode->htotal; in dp_catalog_panel_tpg_enable()
915 vsync_period = drm_mode->vtotal; in dp_catalog_panel_tpg_enable()
917 display_v_start = ((drm_mode->vtotal - drm_mode->vsync_start) * in dp_catalog_panel_tpg_enable()
920 drm_mode->vdisplay)) in dp_catalog_panel_tpg_enable()
923 display_v_start += drm_mode->htotal - drm_mode->hsync_start; in dp_catalog_panel_tpg_enable()
924 display_v_end -= (drm_mode->hsync_start - drm_mode->hdisplay); in dp_catalog_panel_tpg_enable()
926 hsync_start_x = drm_mode->htotal - drm_mode->hsync_start; in dp_catalog_panel_tpg_enable()
928 drm_mode->hdisplay) - 1; in dp_catalog_panel_tpg_enable()
930 v_sync_width = drm_mode->vsync_end - drm_mode->vsync_start; in dp_catalog_panel_tpg_enable()
[all …]
H A Ddp_panel.h22 struct drm_display_mode drm_mode; member
H 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()
1653 pixel_rate = ctrl->panel->dp_mode.drm_mode.clock; in dp_ctrl_process_phy_test_request()
1750 pixel_rate = ctrl->panel->dp_mode.drm_mode.clock; in dp_ctrl_on_link()
1876 pixel_rate = pixel_rate_orig = ctrl->panel->dp_mode.drm_mode.clock; in dp_ctrl_on_stream()
H A Ddp_catalog.h129 struct drm_display_mode *drm_mode);
H A Ddp_display.c841 drm_mode_copy(&dp->panel->dp_mode.drm_mode, &mode->drm_mode); in dp_display_set_mode()
1608 if (!dp_display->dp_mode.drm_mode.clock) { in dp_bridge_atomic_enable()
1720 drm_mode_copy(&dp_display->dp_mode.drm_mode, adjusted_mode); in dp_bridge_mode_set()
1723 !!(dp_display->dp_mode.drm_mode.flags & DRM_MODE_FLAG_NVSYNC); in dp_bridge_mode_set()
1726 !!(dp_display->dp_mode.drm_mode.flags & DRM_MODE_FLAG_NHSYNC); in dp_bridge_mode_set()
/openbmc/linux/drivers/gpu/drm/
H 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 …]
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-samsung-s6d7aa0.c39 const struct drm_display_mode *drm_mode; member
310 .drm_mode = &s6d7aa0_lsl080al02_mode,
413 .drm_mode = &s6d7aa0_lsl080al03_mode,
441 .drm_mode = &s6d7aa0_ltl101at01_mode,
459 mode = drm_mode_duplicate(connector->dev, ctx->desc->drm_mode); in s6d7aa0_get_modes()
/openbmc/linux/drivers/gpu/drm/i2c/
H 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()
H 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()
H A Dch7006_priv.h113 const struct drm_display_mode *drm_mode);
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.h832 const struct drm_display_mode *drm_mode,
H A Damdgpu_dm.c5655 copy_crtc_timing_for_drm_display_mode(native_mode, drm_mode); in decide_crtc_timing_for_drm_display_mode()
5656 } else if (native_mode->clock == drm_mode->clock && in decide_crtc_timing_for_drm_display_mode()
5657 native_mode->htotal == drm_mode->htotal && in decide_crtc_timing_for_drm_display_mode()
5658 native_mode->vtotal == drm_mode->vtotal) { in decide_crtc_timing_for_drm_display_mode()
6026 const struct drm_display_mode *drm_mode, in create_stream_for_sink() argument
6048 drm_mode_init(&mode, drm_mode); in create_stream_for_sink()
6607 const struct drm_display_mode *drm_mode, in create_validate_stream_for_sink() argument
6619 stream = create_stream_for_sink(aconnector, drm_mode, in create_validate_stream_for_sink()
6636 drm_mode->hdisplay, in create_validate_stream_for_sink()
6637 drm_mode->vdisplay, in create_validate_stream_for_sink()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvnv17.c465 struct drm_display_mode *drm_mode, in nv17_tv_mode_set() argument
/openbmc/linux/Documentation/gpu/
H A Ddrm-uapi.rst468 .. kernel-doc:: include/uapi/drm/drm_mode.h
487 .. kernel-doc:: include/uapi/drm/drm_mode.h
/openbmc/qemu/tests/data/qobject/
H A Dqdict.txt4773 drm_mode.h: 6855
/openbmc/openbmc/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/files/
H A D0004-mmal_20.patch7977 +#include <libdrm/drm_mode.h>
/openbmc/openbmc/poky/meta/lib/oeqa/files/
H A Dbuildhistory_filelist2.txt2714 -rw-r--r-- root root 28604 ./usr/include/drm/drm_mode.h
3200 -rw-r--r-- root root 24920 ./usr/include/libdrm/drm_mode.h
H A Dbuildhistory_filelist1.txt2713 -rw-r--r-- root root 28604 ./usr/include/drm/drm_mode.h
3199 -rw-r--r-- root root 24920 ./usr/include/libdrm/drm_mode.h