| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/dp/ |
| H A D | dp_panel.c | 337 dp_catalog_panel_tpg_enable(catalog, &panel->dp_panel.dp_mode.drm_mode); in dp_panel_tpg_config() 357 struct drm_display_mode *drm_mode; in dp_panel_timing_cfg() local 361 drm_mode = &panel->dp_panel.dp_mode.drm_mode; in dp_panel_timing_cfg() 364 drm_mode->hdisplay, drm_mode->htotal - drm_mode->hsync_end, in dp_panel_timing_cfg() 365 drm_mode->hsync_start - drm_mode->hdisplay, in dp_panel_timing_cfg() 366 drm_mode->hsync_end - drm_mode->hsync_start); in dp_panel_timing_cfg() 369 drm_mode->vdisplay, drm_mode->vtotal - drm_mode->vsync_end, in dp_panel_timing_cfg() 370 drm_mode->vsync_start - drm_mode->vdisplay, in dp_panel_timing_cfg() 371 drm_mode->vsync_end - drm_mode->vsync_start); in dp_panel_timing_cfg() 373 total_hor = drm_mode->htotal; in dp_panel_timing_cfg() [all …]
|
| H A D | dp_drm.c | 50 struct drm_display_mode *m, drm_mode; in dp_connector_get_modes() local 75 if (dp_mode->drm_mode.clock) { /* valid DP mode */ in dp_connector_get_modes() 76 memset(&drm_mode, 0x0, sizeof(drm_mode)); in dp_connector_get_modes() 77 drm_mode_copy(&drm_mode, &dp_mode->drm_mode); in dp_connector_get_modes() 78 m = drm_mode_duplicate(connector->dev, &drm_mode); in dp_connector_get_modes() 81 drm_mode.hdisplay, in dp_connector_get_modes() 82 drm_mode.vdisplay); in dp_connector_get_modes()
|
| H A D | dp_debug.c | 55 struct drm_display_mode *drm_mode; in dp_debug_read_info() local 67 drm_mode = &debug->panel->dp_mode.drm_mode; in dp_debug_read_info() 99 drm_mode->hdisplay, in dp_debug_read_info() 100 drm_mode->vdisplay); in dp_debug_read_info() 106 drm_mode->htotal - drm_mode->hsync_end, in dp_debug_read_info() 107 drm_mode->vtotal - drm_mode->vsync_end); in dp_debug_read_info() 113 drm_mode->hsync_start - drm_mode->hdisplay, in dp_debug_read_info() 114 drm_mode->vsync_start - drm_mode->vdisplay); in dp_debug_read_info() 120 drm_mode->hsync_end - drm_mode->hsync_start, in dp_debug_read_info() 121 drm_mode->vsync_end - drm_mode->vsync_start); in dp_debug_read_info() [all …]
|
| H A D | dp_catalog.c | 748 struct drm_display_mode *drm_mode) in dp_catalog_panel_tpg_enable() argument 760 hsync_period = drm_mode->htotal; in dp_catalog_panel_tpg_enable() 761 vsync_period = drm_mode->vtotal; in dp_catalog_panel_tpg_enable() 763 display_v_start = ((drm_mode->vtotal - drm_mode->vsync_start) * in dp_catalog_panel_tpg_enable() 765 display_v_end = ((vsync_period - (drm_mode->vsync_start - in dp_catalog_panel_tpg_enable() 766 drm_mode->vdisplay)) in dp_catalog_panel_tpg_enable() 769 display_v_start += drm_mode->htotal - drm_mode->hsync_start; in dp_catalog_panel_tpg_enable() 770 display_v_end -= (drm_mode->hsync_start - drm_mode->hdisplay); in dp_catalog_panel_tpg_enable() 772 hsync_start_x = drm_mode->htotal - drm_mode->hsync_start; in dp_catalog_panel_tpg_enable() 773 hsync_end_x = hsync_period - (drm_mode->hsync_start - in dp_catalog_panel_tpg_enable() [all …]
|
| H A D | dp_display.c | 851 dp->panel->dp_mode.drm_mode = mode->drm_mode; in dp_display_set_mode() 994 if (dp_mode->drm_mode.clock) in dp_display_get_modes() 995 dp->max_pclk_khz = dp_mode->drm_mode.clock; in dp_display_get_modes() 1451 if (!dp_display->dp_mode.drm_mode.clock) { in msm_dp_display_enable() 1561 drm_mode_copy(&dp_display->dp_mode.drm_mode, adjusted_mode); in msm_dp_display_mode_set() 1564 !!(dp_display->dp_mode.drm_mode.flags & DRM_MODE_FLAG_NVSYNC); in msm_dp_display_mode_set() 1567 !!(dp_display->dp_mode.drm_mode.flags & DRM_MODE_FLAG_NHSYNC); in msm_dp_display_mode_set()
|
| H A D | dp_ctrl.c | 941 struct drm_display_mode *drm_mode; in dp_ctrl_calc_tu_parameters() local 943 drm_mode = &ctrl->panel->dp_mode.drm_mode; in dp_ctrl_calc_tu_parameters() 946 in.pclk_khz = drm_mode->clock; in dp_ctrl_calc_tu_parameters() 947 in.hactive = drm_mode->hdisplay; in dp_ctrl_calc_tu_parameters() 948 in.hporch = drm_mode->htotal - drm_mode->hdisplay; in dp_ctrl_calc_tu_parameters() 1496 ctrl->dp_ctrl.pixel_rate = ctrl->panel->dp_mode.drm_mode.clock; in dp_ctrl_link_maintenance() 1650 if (!ctrl->panel->dp_mode.drm_mode.clock) in dp_ctrl_on_link() 1656 ctrl->dp_ctrl.pixel_rate = ctrl->panel->dp_mode.drm_mode.clock; in dp_ctrl_on_link() 1754 ctrl->dp_ctrl.pixel_rate = ctrl->panel->dp_mode.drm_mode.clock; in dp_ctrl_on_stream()
|
| H A D | dp_panel.h | 23 struct drm_display_mode drm_mode; member
|
| H A D | dp_catalog.h | 117 struct drm_display_mode *drm_mode);
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_modes.c | 155 struct drm_display_mode *drm_mode; in drm_cvt_mode() local 167 drm_mode = drm_mode_create(dev); in drm_cvt_mode() 168 if (!drm_mode) in drm_cvt_mode() 191 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin; in drm_cvt_mode() 204 drm_mode->vdisplay = vdisplay + 2 * vmargin; in drm_cvt_mode() 253 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + in drm_cvt_mode() 273 hblank = drm_mode->hdisplay * hblank_percentage / 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() [all …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/ |
| H A D | 0033-backend-drm-Support-setting-interlaced-mode.patch | 77 struct drm_mode *best = NULL; 78 struct drm_mode *drm_mode; 98 wl_list_for_each_reverse(drm_mode, &output->base.mode_list, base.link) { 99 - if (width == drm_mode->mode_info.hdisplay && 100 - height == drm_mode->mode_info.vdisplay && 101 + if (!strcmp(name, drm_mode->mode_info.name) && 102 (refresh == 0 || refresh == drm_mode->mode_info.vrefresh)) { 104 aspect_ratio == drm_mode->base.aspect_ratio)
|
| H A D | 0016-backend-drm-Support-controlling-output-dynamically.patch | 216 struct drm_mode { 231 +struct drm_mode * 382 + struct drm_mode *mode; 633 -static struct drm_mode * 634 +struct drm_mode * 641 wl_list_for_each_reverse(drm_mode, &output->base.mode_list, base.link) { 642 - if (width == drm_mode->base.width && 643 - height == drm_mode->base.height && 644 + if (width == drm_mode->mode_info.hdisplay && 645 + height == drm_mode->mode_info.vdisplay && [all …]
|
| H A D | 0014-backend-drm-Support-virtual-screen-size.patch | 62 struct drm_mode { 113 + struct drm_mode *mode; 357 static struct drm_mode * 361 struct drm_mode *mode; 378 struct drm_mode *dm;
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/ |
| H A D | 0036-backend-drm-Support-setting-interlaced-mode.patch | 78 struct drm_mode *best = NULL; 79 struct drm_mode *drm_mode; 99 wl_list_for_each_reverse(drm_mode, &output->base.mode_list, base.link) { 100 - if (width == drm_mode->mode_info.hdisplay && 101 - height == drm_mode->mode_info.vdisplay && 102 + if (!strcmp(name, drm_mode->mode_info.name) && 103 (refresh == 0 || refresh == drm_mode->mode_info.vrefresh)) { 105 aspect_ratio == drm_mode->base.aspect_ratio)
|
| H A D | 0019-backend-drm-Support-controlling-output-dynamically.patch | 223 struct drm_mode { 238 +struct drm_mode * 380 + struct drm_mode *mode; 634 -static struct drm_mode * 635 +struct drm_mode * 642 wl_list_for_each_reverse(drm_mode, &output->base.mode_list, base.link) { 643 - if (width == drm_mode->base.width && 644 - height == drm_mode->base.height && 645 + if (width == drm_mode->mode_info.hdisplay && 646 + height == drm_mode->mode_info.vdisplay && [all …]
|
| H A D | 0016-backend-drm-Support-virtual-screen-size.patch | 54 struct drm_mode { 105 + struct drm_mode *mode; 343 static struct drm_mode * 347 struct drm_mode *mode; 364 struct drm_mode *dm;
|
| /OK3568_Linux_fs/buildroot/package/weston/ |
| H A D | 0036-backend-drm-Support-setting-interlaced-mode.patch | 78 struct drm_mode *best = NULL; 79 struct drm_mode *drm_mode; 99 wl_list_for_each_reverse(drm_mode, &output->base.mode_list, base.link) { 100 - if (width == drm_mode->mode_info.hdisplay && 101 - height == drm_mode->mode_info.vdisplay && 102 + if (!strcmp(name, drm_mode->mode_info.name) && 103 (refresh == 0 || refresh == drm_mode->mode_info.vrefresh)) { 105 aspect_ratio == drm_mode->base.aspect_ratio)
|
| H A D | 0019-backend-drm-Support-controlling-output-dynamically.patch | 222 struct drm_mode { 237 +struct drm_mode * 384 + struct drm_mode *mode; 634 -static struct drm_mode * 635 +struct drm_mode * 642 wl_list_for_each_reverse(drm_mode, &output->base.mode_list, base.link) { 643 - if (width == drm_mode->base.width && 644 - height == drm_mode->base.height && 645 + if (width == drm_mode->mode_info.hdisplay && 646 + height == drm_mode->mode_info.vdisplay && [all …]
|
| H A D | 0016-backend-drm-Support-virtual-screen-size.patch | 54 struct drm_mode { 105 + struct drm_mode *mode; 343 static struct drm_mode * 347 struct drm_mode *mode; 364 struct drm_mode *dm;
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | edid.c | 2339 struct drm_display_mode *drm_mode; in drm_cvt_mode() local 2347 drm_mode = drm_mode_create(); in drm_cvt_mode() 2348 if (!drm_mode) in drm_cvt_mode() 2371 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin; in drm_cvt_mode() 2384 drm_mode->vdisplay = vdisplay + 2 * vmargin; in drm_cvt_mode() 2434 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + in drm_cvt_mode() 2454 hblank = drm_mode->hdisplay * hblank_percentage / in drm_cvt_mode() 2458 drm_mode->htotal = drm_mode->hdisplay + hblank; in drm_cvt_mode() 2459 drm_mode->hsync_end = drm_mode->hdisplay + hblank / 2; in drm_cvt_mode() 2460 drm_mode->hsync_start = drm_mode->hsync_end - in drm_cvt_mode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i2c/ |
| H 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()
|
| H 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()
|
| H A D | ch7006_priv.h | 114 const struct drm_display_mode *drm_mode);
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/drm/ |
| H A D | ..install.cmd | 1 …e/include/drm ./include/uapi/drm tegra_drm.h i915_drm.h drm.h qxl_drm.h drm_mode.h drm_sarea.h exy…
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/drm/ |
| H A D | ..install.cmd | 1 …e/include/drm ./include/uapi/drm tegra_drm.h i915_drm.h drm.h qxl_drm.h drm_mode.h drm_sarea.h exy…
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm.c | 4650 decide_crtc_timing_for_drm_display_mode(struct drm_display_mode *drm_mode, in decide_crtc_timing_for_drm_display_mode() argument 4655 copy_crtc_timing_for_drm_display_mode(native_mode, drm_mode); in decide_crtc_timing_for_drm_display_mode() 4656 } else if (native_mode->clock == drm_mode->clock && in decide_crtc_timing_for_drm_display_mode() 4657 native_mode->htotal == drm_mode->htotal && in decide_crtc_timing_for_drm_display_mode() 4658 native_mode->vtotal == drm_mode->vtotal) { in decide_crtc_timing_for_drm_display_mode() 4659 copy_crtc_timing_for_drm_display_mode(native_mode, drm_mode); in decide_crtc_timing_for_drm_display_mode() 4736 const struct drm_display_mode *drm_mode, in create_stream_for_sink() argument 4746 struct drm_display_mode mode = *drm_mode; in create_stream_for_sink() 5365 const struct drm_display_mode *drm_mode, in create_validate_stream_for_sink() argument 5377 stream = create_stream_for_sink(aconnector, drm_mode, in create_validate_stream_for_sink() [all …]
|