Lines Matching full:property
61 * the enable property.
110 * @blob: pointer to blob property to use for mode
112 * Set a mode (originating from a blob property) on the desired CRTC state.
113 * This function will take a reference on the blob property for the CRTC state,
114 * and release the reference held on the state's existing mode property, if any
366 struct drm_crtc_state *state, struct drm_property *property, in drm_atomic_crtc_set_property() argument
374 if (property == config->prop_active) in drm_atomic_crtc_set_property()
376 else if (property == config->prop_mode_id) { in drm_atomic_crtc_set_property()
382 } else if (property == config->prop_vrr_enabled) { in drm_atomic_crtc_set_property()
384 } else if (property == config->degamma_lut_property) { in drm_atomic_crtc_set_property()
392 } else if (property == config->ctm_property) { in drm_atomic_crtc_set_property()
400 } else if (property == config->gamma_lut_property) { in drm_atomic_crtc_set_property()
408 } else if (property == config->prop_out_fence_ptr) { in drm_atomic_crtc_set_property()
418 } else if (property == crtc->scaling_filter_property) { in drm_atomic_crtc_set_property()
421 return crtc->funcs->atomic_set_property(crtc, state, property, val); in drm_atomic_crtc_set_property()
424 "[CRTC:%d:%s] unknown property [PROP:%d:%s]\n", in drm_atomic_crtc_set_property()
426 property->base.id, property->name); in drm_atomic_crtc_set_property()
436 struct drm_property *property, uint64_t *val) in drm_atomic_crtc_get_property() argument
441 if (property == config->prop_active) in drm_atomic_crtc_get_property()
443 else if (property == config->prop_mode_id) in drm_atomic_crtc_get_property()
445 else if (property == config->prop_vrr_enabled) in drm_atomic_crtc_get_property()
447 else if (property == config->degamma_lut_property) in drm_atomic_crtc_get_property()
449 else if (property == config->ctm_property) in drm_atomic_crtc_get_property()
451 else if (property == config->gamma_lut_property) in drm_atomic_crtc_get_property()
453 else if (property == config->prop_out_fence_ptr) in drm_atomic_crtc_get_property()
455 else if (property == crtc->scaling_filter_property) in drm_atomic_crtc_get_property()
458 return crtc->funcs->atomic_get_property(crtc, state, property, val); in drm_atomic_crtc_get_property()
461 "[CRTC:%d:%s] unknown property [PROP:%d:%s]\n", in drm_atomic_crtc_get_property()
463 property->base.id, property->name); in drm_atomic_crtc_get_property()
472 struct drm_property *property, uint64_t val) in drm_atomic_plane_set_property() argument
479 if (property == config->prop_fb_id) { in drm_atomic_plane_set_property()
486 } else if (property == config->prop_in_fence_fd) { in drm_atomic_plane_set_property()
497 } else if (property == config->prop_crtc_id) { in drm_atomic_plane_set_property()
503 property->base.id, property->name, val); in drm_atomic_plane_set_property()
507 } else if (property == config->prop_crtc_x) { in drm_atomic_plane_set_property()
509 } else if (property == config->prop_crtc_y) { in drm_atomic_plane_set_property()
511 } else if (property == config->prop_crtc_w) { in drm_atomic_plane_set_property()
513 } else if (property == config->prop_crtc_h) { in drm_atomic_plane_set_property()
515 } else if (property == config->prop_src_x) { in drm_atomic_plane_set_property()
517 } else if (property == config->prop_src_y) { in drm_atomic_plane_set_property()
519 } else if (property == config->prop_src_w) { in drm_atomic_plane_set_property()
521 } else if (property == config->prop_src_h) { in drm_atomic_plane_set_property()
523 } else if (property == plane->alpha_property) { in drm_atomic_plane_set_property()
525 } else if (property == plane->blend_mode_property) { in drm_atomic_plane_set_property()
527 } else if (property == plane->rotation_property) { in drm_atomic_plane_set_property()
535 } else if (property == plane->zpos_property) { in drm_atomic_plane_set_property()
537 } else if (property == plane->color_encoding_property) { in drm_atomic_plane_set_property()
539 } else if (property == plane->color_range_property) { in drm_atomic_plane_set_property()
541 } else if (property == config->prop_fb_damage_clips) { in drm_atomic_plane_set_property()
549 } else if (property == plane->scaling_filter_property) { in drm_atomic_plane_set_property()
553 property, val); in drm_atomic_plane_set_property()
554 } else if (property == plane->hotspot_x_property) { in drm_atomic_plane_set_property()
562 } else if (property == plane->hotspot_y_property) { in drm_atomic_plane_set_property()
572 "[PLANE:%d:%s] unknown property [PROP:%d:%s]\n", in drm_atomic_plane_set_property()
574 property->base.id, property->name); in drm_atomic_plane_set_property()
584 struct drm_property *property, uint64_t *val) in drm_atomic_plane_get_property() argument
589 if (property == config->prop_fb_id) { in drm_atomic_plane_get_property()
591 } else if (property == config->prop_in_fence_fd) { in drm_atomic_plane_get_property()
593 } else if (property == config->prop_crtc_id) { in drm_atomic_plane_get_property()
595 } else if (property == config->prop_crtc_x) { in drm_atomic_plane_get_property()
597 } else if (property == config->prop_crtc_y) { in drm_atomic_plane_get_property()
599 } else if (property == config->prop_crtc_w) { in drm_atomic_plane_get_property()
601 } else if (property == config->prop_crtc_h) { in drm_atomic_plane_get_property()
603 } else if (property == config->prop_src_x) { in drm_atomic_plane_get_property()
605 } else if (property == config->prop_src_y) { in drm_atomic_plane_get_property()
607 } else if (property == config->prop_src_w) { in drm_atomic_plane_get_property()
609 } else if (property == config->prop_src_h) { in drm_atomic_plane_get_property()
611 } else if (property == plane->alpha_property) { in drm_atomic_plane_get_property()
613 } else if (property == plane->blend_mode_property) { in drm_atomic_plane_get_property()
615 } else if (property == plane->rotation_property) { in drm_atomic_plane_get_property()
617 } else if (property == plane->zpos_property) { in drm_atomic_plane_get_property()
619 } else if (property == plane->color_encoding_property) { in drm_atomic_plane_get_property()
621 } else if (property == plane->color_range_property) { in drm_atomic_plane_get_property()
623 } else if (property == config->prop_fb_damage_clips) { in drm_atomic_plane_get_property()
626 } else if (property == plane->scaling_filter_property) { in drm_atomic_plane_get_property()
629 return plane->funcs->atomic_get_property(plane, state, property, val); in drm_atomic_plane_get_property()
630 } else if (property == plane->hotspot_x_property) { in drm_atomic_plane_get_property()
632 } else if (property == plane->hotspot_y_property) { in drm_atomic_plane_get_property()
636 "[PLANE:%d:%s] unknown property [PROP:%d:%s]\n", in drm_atomic_plane_get_property()
638 property->base.id, property->name); in drm_atomic_plane_get_property()
670 struct drm_property *property, uint64_t val) in drm_atomic_connector_set_property() argument
677 if (property == config->prop_crtc_id) { in drm_atomic_connector_set_property()
683 property->base.id, property->name, val); in drm_atomic_connector_set_property()
687 } else if (property == config->dpms_property) { in drm_atomic_connector_set_property()
688 /* setting DPMS property requires special handling, which in drm_atomic_connector_set_property()
690 * now?) atomic writes to DPMS property: in drm_atomic_connector_set_property()
694 property->base.id, property->name); in drm_atomic_connector_set_property()
696 } else if (property == config->tv_select_subconnector_property) { in drm_atomic_connector_set_property()
698 } else if (property == config->tv_subconnector_property) { in drm_atomic_connector_set_property()
700 } else if (property == config->tv_left_margin_property) { in drm_atomic_connector_set_property()
702 } else if (property == config->tv_right_margin_property) { in drm_atomic_connector_set_property()
704 } else if (property == config->tv_top_margin_property) { in drm_atomic_connector_set_property()
706 } else if (property == config->tv_bottom_margin_property) { in drm_atomic_connector_set_property()
708 } else if (property == config->legacy_tv_mode_property) { in drm_atomic_connector_set_property()
710 } else if (property == config->tv_mode_property) { in drm_atomic_connector_set_property()
712 } else if (property == config->tv_brightness_property) { in drm_atomic_connector_set_property()
714 } else if (property == config->tv_contrast_property) { in drm_atomic_connector_set_property()
716 } else if (property == config->tv_flicker_reduction_property) { in drm_atomic_connector_set_property()
718 } else if (property == config->tv_overscan_property) { in drm_atomic_connector_set_property()
720 } else if (property == config->tv_saturation_property) { in drm_atomic_connector_set_property()
722 } else if (property == config->tv_hue_property) { in drm_atomic_connector_set_property()
724 } else if (property == config->link_status_property) { in drm_atomic_connector_set_property()
728 * For an atomic property the userspace doesn't need to be able in drm_atomic_connector_set_property()
738 } else if (property == config->hdr_output_metadata_property) { in drm_atomic_connector_set_property()
745 } else if (property == config->aspect_ratio_property) { in drm_atomic_connector_set_property()
747 } else if (property == config->content_type_property) { in drm_atomic_connector_set_property()
749 } else if (property == connector->scaling_mode_property) { in drm_atomic_connector_set_property()
751 } else if (property == config->content_protection_property) { in drm_atomic_connector_set_property()
757 } else if (property == config->hdcp_content_type_property) { in drm_atomic_connector_set_property()
759 } else if (property == connector->colorspace_property) { in drm_atomic_connector_set_property()
761 } else if (property == config->writeback_fb_id_property) { in drm_atomic_connector_set_property()
770 } else if (property == config->writeback_out_fence_ptr_property) { in drm_atomic_connector_set_property()
775 } else if (property == connector->max_bpc_property) { in drm_atomic_connector_set_property()
777 } else if (property == connector->privacy_screen_sw_state_property) { in drm_atomic_connector_set_property()
779 } else if (property == connector->broadcast_rgb_property) { in drm_atomic_connector_set_property()
783 state, property, val); in drm_atomic_connector_set_property()
786 "[CONNECTOR:%d:%s] unknown property [PROP:%d:%s]\n", in drm_atomic_connector_set_property()
788 property->base.id, property->name); in drm_atomic_connector_set_property()
798 struct drm_property *property, uint64_t *val) in drm_atomic_connector_get_property() argument
803 if (property == config->prop_crtc_id) { in drm_atomic_connector_get_property()
805 } else if (property == config->dpms_property) { in drm_atomic_connector_get_property()
810 } else if (property == config->tv_select_subconnector_property) { in drm_atomic_connector_get_property()
812 } else if (property == config->tv_subconnector_property) { in drm_atomic_connector_get_property()
814 } else if (property == config->tv_left_margin_property) { in drm_atomic_connector_get_property()
816 } else if (property == config->tv_right_margin_property) { in drm_atomic_connector_get_property()
818 } else if (property == config->tv_top_margin_property) { in drm_atomic_connector_get_property()
820 } else if (property == config->tv_bottom_margin_property) { in drm_atomic_connector_get_property()
822 } else if (property == config->legacy_tv_mode_property) { in drm_atomic_connector_get_property()
824 } else if (property == config->tv_mode_property) { in drm_atomic_connector_get_property()
826 } else if (property == config->tv_brightness_property) { in drm_atomic_connector_get_property()
828 } else if (property == config->tv_contrast_property) { in drm_atomic_connector_get_property()
830 } else if (property == config->tv_flicker_reduction_property) { in drm_atomic_connector_get_property()
832 } else if (property == config->tv_overscan_property) { in drm_atomic_connector_get_property()
834 } else if (property == config->tv_saturation_property) { in drm_atomic_connector_get_property()
836 } else if (property == config->tv_hue_property) { in drm_atomic_connector_get_property()
838 } else if (property == config->link_status_property) { in drm_atomic_connector_get_property()
840 } else if (property == config->aspect_ratio_property) { in drm_atomic_connector_get_property()
842 } else if (property == config->content_type_property) { in drm_atomic_connector_get_property()
844 } else if (property == connector->colorspace_property) { in drm_atomic_connector_get_property()
846 } else if (property == connector->scaling_mode_property) { in drm_atomic_connector_get_property()
848 } else if (property == config->hdr_output_metadata_property) { in drm_atomic_connector_get_property()
851 } else if (property == config->content_protection_property) { in drm_atomic_connector_get_property()
853 } else if (property == config->hdcp_content_type_property) { in drm_atomic_connector_get_property()
855 } else if (property == config->writeback_fb_id_property) { in drm_atomic_connector_get_property()
858 } else if (property == config->writeback_out_fence_ptr_property) { in drm_atomic_connector_get_property()
860 } else if (property == connector->max_bpc_property) { in drm_atomic_connector_get_property()
862 } else if (property == connector->privacy_screen_sw_state_property) { in drm_atomic_connector_get_property()
864 } else if (property == connector->broadcast_rgb_property) { in drm_atomic_connector_get_property()
868 state, property, val); in drm_atomic_connector_get_property()
871 "[CONNECTOR:%d:%s] unknown property [PROP:%d:%s]\n", in drm_atomic_connector_get_property()
873 property->base.id, property->name); in drm_atomic_connector_get_property()
881 struct drm_property *property, uint64_t *val) in drm_atomic_get_property() argument
883 struct drm_device *dev = property->dev; in drm_atomic_get_property()
892 connector->state, property, val); in drm_atomic_get_property()
900 crtc->state, property, val); in drm_atomic_get_property()
908 plane->state, property, val); in drm_atomic_get_property()
1116 * Use this property to pass a fence that DRM should wait on before
1133 * Use this property to pass a file descriptor pointer to DRM. Once the
1478 "[OBJECT:%d] cannot find property ID %d", in drm_mode_atomic_ioctl()