Lines Matching +full:int +full:- +full:property

42  * struct drm_mode_config_funcs - basic driver provided mode setting functions
44 * Some global (i.e. not per-CRTC, connector, etc) mode setting functions that
59 * ie. when (@mode_cmd->flags & DRM_MODE_FB_MODIFIERS) == 0.
70 * driver-specific information (like the internal native buffer object
119 * - Checking that the modes, framebuffers, scaling and placement
122 * - Checking that any hidden shared resources are not oversubscribed.
127 * - Checking that virtualized resources exported to userspace are not
130 * example is dual-pipe operations (which generally should be hidden
137 * - Check that any transitional state is possible and that if
141 * - Check any other constraints the driver or hardware might have.
143 * - This callback also needs to correctly fill out the &drm_crtc_state
152 * - The driver also does not need to repeat basic input validation
164 * drm_atomic_helper_check(), or one of the exported sub-functions of
171 * - -EINVAL, if any of the above constraints are violated.
173 * - -EDEADLK, when returned from an attempt to acquire an additional
176 * - -ENOMEM, if allocating additional state sub-structures failed due
179 * - -EINTR, -EAGAIN or -ERESTARTSYS, if the IOCTL should be restarted.
185 int (*atomic_check)(struct drm_device *dev,
200 * drm_atomic_helper_commit(), or one of the exported sub-functions of
206 * errors resulting in -EIO. But even in that case the driver must
216 * buffer is a shared dma-buf. Nonblocking commits must not wait for
220 * completed. These events are per-CRTC and can be distinguished by the
239 * - -EBUSY, if a nonblocking updated is requested and there is
246 * - -ENOMEM, if the driver failed to allocate memory. Specifically
250 * - -ENOSPC, as a refinement of the more generic -ENOMEM to indicate
254 * - -EIO, if the hardware completely died.
256 * - -EINTR, -EAGAIN or -ERESTARTSYS, if the IOCTL should be restarted.
263 * return -EINVAL (any invalid requests should be caught in
264 * @atomic_check) or -EDEADLK (this function must not acquire
267 int (*atomic_commit)(struct drm_device *dev,
275 * &drm_atomic_state to be able to track their own driver-private global
292 * passed-in &drm_atomic_state. This hook is called when the caller
326 * struct drm_mode_config - Mode configuration control structure
337 * @prefer_shadow: hint to userspace to prefer shadow-fb rendering
340 * @helper_private: mid-layer private data
365 * anything from under its protection and move it into more well-scoped
387 * impossible to use driver-private &struct drm_modeset_lock. Users of
404 * connector, modes - just makes life easier to have only one.
412 * high-res DP MST screens.
419 int num_fb;
432 int num_connector;
466 int num_encoder;
483 int num_total_plane;
508 int num_crtc;
520 * List of property type objects linked with &drm_property.head. This is
535 int min_width, min_height;
536 int max_width, max_height;
548 * Mutex for blob property allocation and management, protects
556 * List of all the blob property objects linked with
564 * @edid_property: Default connector property to hold the EDID of the
569 * @dpms_property: Default connector property to control the
574 * @path_property: Default connector property to hold the DP MST path
579 * @tile_property: Default connector property to store the tile
585 * @link_status_property: Default connector property for link status
590 * @plane_type_property: Default plane property to differentiate
595 * @prop_src_x: Default atomic plane property for the plane source
600 * @prop_src_y: Default atomic plane property for the plane source
605 * @prop_src_w: Default atomic plane property for the plane source
610 * @prop_src_h: Default atomic plane property for the plane source
615 * @prop_crtc_x: Default atomic plane property for the plane destination
620 * @prop_crtc_y: Default atomic plane property for the plane destination
625 * @prop_crtc_w: Default atomic plane property for the plane destination
630 * @prop_crtc_h: Default atomic plane property for the plane destination
635 * @prop_fb_id: Default atomic plane property to specify the
651 * @prop_crtc_id: Default atomic plane property to specify the
656 * @prop_fb_damage_clips: Optional plane property to mark damaged
665 * @prop_active: Default atomic CRTC property to control the active
671 * @prop_mode_id: Default atomic CRTC property to set the mode for a
672 * CRTC. A 0 mode implies that the CRTC is entirely disabled - all
677 * @prop_vrr_enabled: Default atomic CRTC property to indicate
683 * @dvi_i_subconnector_property: Optional DVI-I property to
688 * @dvi_i_select_subconnector_property: Optional DVI-I property to
694 * @dp_subconnector_property: Optional DP property to differentiate
700 * @tv_subconnector_property: Optional TV property to differentiate
705 * @tv_select_subconnector_property: Optional TV property to select
711 * @legacy_tv_mode_property: Optional TV property to select
719 * @tv_mode_property: Optional TV property to select the TV
725 * @tv_left_margin_property: Optional TV property to set the left
730 * @tv_right_margin_property: Optional TV property to set the right
735 * @tv_top_margin_property: Optional TV property to set the right
740 * @tv_bottom_margin_property: Optional TV property to set the right
745 * @tv_brightness_property: Optional TV property to set the
750 * @tv_contrast_property: Optional TV property to set the
755 * @tv_flicker_reduction_property: Optional TV property to control the
760 * @tv_overscan_property: Optional TV property to control the overscan
765 * @tv_saturation_property: Optional TV property to set the
770 * @tv_hue_property: Optional TV property to set the hue.
775 * @scaling_mode_property: Optional connector property to control the
776 * upscaling, mostly used for built-in panels.
780 * @aspect_ratio_property: Optional connector property to control the
785 * @content_type_property: Optional connector property to control the
790 * @degamma_lut_property: Optional CRTC property to set the LUT used to
795 * @degamma_lut_size_property: Optional CRTC property for the size of
796 * the degamma LUT as supported by the driver (read-only).
800 * @ctm_property: Optional CRTC property to set the
806 * @gamma_lut_property: Optional CRTC property to set the LUT used to
812 * @gamma_lut_size_property: Optional CRTC property for the size of the
813 * gamma LUT as supported by the driver (read-only).
818 * @suggested_x_property: Optional connector property with a hint for
823 * @suggested_y_property: Optional connector property with a hint for
829 * @non_desktop_property: Optional connector property with a hint
836 * @panel_orientation_property: Optional connector property indicating
837 * how the lcd-panel is mounted inside the casing (e.g. normal or
838 * upside-down).
843 * @writeback_fb_id_property: Property for writeback connectors, storing
850 * @writeback_pixel_formats_property: Property for writeback connectors,
852 * engine (read-only).
857 * @writeback_out_fence_ptr_property: Property for writeback connectors,
866 * @hdr_output_metadata_property: Connector property containing hdr
873 * @content_protection_property: DRM ENUM property for content
879 * @hdcp_content_type_property: DRM ENUM property for type of
905 * opt-in.
934 * @modifiers_property: Plane property to list support modifier/format
940 * @size_hints_property: Plane SIZE_HINTS property.
959 int __must_check drmm_mode_config_init(struct drm_device *dev);
962 * drm_mode_config_init - DRM mode_configuration structure initialization
971 static inline int drm_mode_config_init(struct drm_device *dev) in drm_mode_config_init()