Home
last modified time | relevance | path

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

/third_party/weston/libweston/backend-drm/
Dmodes.c101 drm_mode_ensure_blob(struct drm_backend *backend, struct drm_mode *mode) in drm_mode_ensure_blob()
379 static struct drm_mode *
382 struct drm_mode *mode; in drm_output_add_mode()
410 drm_output_destroy_mode(struct drm_backend *backend, struct drm_mode *mode) in drm_output_destroy_mode()
426 struct drm_mode *mode, *next; in drm_mode_list_destroy()
436 struct drm_mode *dm; in drm_output_print_modes()
466 struct drm_mode *
470 struct drm_mode *tmp_mode = NULL, *mode_fall_back = NULL, *mode; in drm_output_choose_mode()
549 static struct drm_mode *
556 struct drm_mode *preferred = NULL; in drm_output_choose_initial_mode()
[all …]
Ddrm-internal.h313 struct drm_mode { struct
561 static inline struct drm_mode *
564 return container_of(base, struct drm_mode, base); in to_drm_mode()
611 drm_mode_ensure_blob(struct drm_backend *backend, struct drm_mode *mode);
613 struct drm_mode *
Ddrm.c713 struct drm_mode *drm_mode = drm_output_choose_mode(output, mode); in drm_output_switch_mode() local
715 if (!drm_mode) { in drm_output_switch_mode()
721 if (&drm_mode->base == output->base.current_mode) in drm_output_switch_mode()
726 output->base.current_mode = &drm_mode->base; in drm_output_switch_mode()
Dkms.c669 struct drm_mode *mode; in drm_output_apply_state_legacy()
947 struct drm_mode *current_mode = to_drm_mode(output->base.current_mode); in drm_output_apply_state_atomic()
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_display.c214 drmModeModeInfoPtr drm_mode) in wsi_display_register_drm_mode() argument
219 wsi_display_find_drm_mode(wsi_device, connector, drm_mode); in wsi_display_register_drm_mode()
233 display_mode->preferred = (drm_mode->type & DRM_MODE_TYPE_PREFERRED) != 0; in wsi_display_register_drm_mode()
234 display_mode->clock = drm_mode->clock; /* kHz */ in wsi_display_register_drm_mode()
235 display_mode->hdisplay = drm_mode->hdisplay; in wsi_display_register_drm_mode()
236 display_mode->hsync_start = drm_mode->hsync_start; in wsi_display_register_drm_mode()
237 display_mode->hsync_end = drm_mode->hsync_end; in wsi_display_register_drm_mode()
238 display_mode->htotal = drm_mode->htotal; in wsi_display_register_drm_mode()
239 display_mode->hskew = drm_mode->hskew; in wsi_display_register_drm_mode()
240 display_mode->vdisplay = drm_mode->vdisplay; in wsi_display_register_drm_mode()
[all …]
/third_party/libdrm/
DMakefile.sources23 include/drm/drm_mode.h \
Dmeson.build339 'include/drm/drm.h', 'include/drm/drm_fourcc.h', 'include/drm/drm_mode.h',
/third_party/mesa3d/ohos/
Ddependency_inputs.gni197 ../include/drm-uapi/drm_mode.h