Lines Matching refs:property
59 * the enable property.
106 * @blob: pointer to blob property to use for mode
108 * Set a mode (originating from a blob property) on the desired CRTC state.
109 * This function will take a reference on the blob property for the CRTC state,
110 * and release the reference held on the state's existing mode property, if any
422 struct drm_crtc_state *state, struct drm_property *property,
430 if (property == config->prop_active)
432 else if (property == config->prop_mode_id) {
438 } else if (property == config->prop_vrr_enabled) {
440 } else if (property == config->degamma_lut_property) {
448 } else if (property == config->ctm_property) {
456 } else if (property == config->gamma_lut_property) {
464 } else if (property == config->prop_out_fence_ptr) {
475 return crtc->funcs->atomic_set_property(crtc, state, property, val);
477 DRM_DEBUG_ATOMIC("[CRTC:%d:%s] unknown property [PROP:%d:%s]]\n",
479 property->base.id, property->name);
489 struct drm_property *property, uint64_t *val)
494 if (property == config->prop_active)
496 else if (property == config->prop_mode_id)
498 else if (property == config->prop_vrr_enabled)
500 else if (property == config->degamma_lut_property)
502 else if (property == config->ctm_property)
504 else if (property == config->gamma_lut_property)
506 else if (property == config->prop_out_fence_ptr)
509 return crtc->funcs->atomic_get_property(crtc, state, property, val);
518 struct drm_property *property, uint64_t val)
525 if (property == config->prop_fb_id) {
532 } else if (property == config->prop_in_fence_fd) {
543 } else if (property == config->prop_crtc_id) {
549 } else if (property == config->prop_crtc_x) {
551 } else if (property == config->prop_crtc_y) {
553 } else if (property == config->prop_crtc_w) {
555 } else if (property == config->prop_crtc_h) {
557 } else if (property == config->prop_src_x) {
559 } else if (property == config->prop_src_y) {
561 } else if (property == config->prop_src_w) {
563 } else if (property == config->prop_src_h) {
565 } else if (property == plane->alpha_property) {
567 } else if (property == plane->blend_mode_property) {
569 } else if (property == plane->rotation_property) {
576 } else if (property == plane->zpos_property) {
578 } else if (property == plane->color_encoding_property) {
580 } else if (property == plane->color_range_property) {
582 } else if (property == config->prop_fb_damage_clips) {
592 property, val);
594 DRM_DEBUG_ATOMIC("[PLANE:%d:%s] unknown property [PROP:%d:%s]]\n",
596 property->base.id, property->name);
606 struct drm_property *property, uint64_t *val)
611 if (property == config->prop_fb_id) {
613 } else if (property == config->prop_in_fence_fd) {
615 } else if (property == config->prop_crtc_id) {
617 } else if (property == config->prop_crtc_x) {
619 } else if (property == config->prop_crtc_y) {
621 } else if (property == config->prop_crtc_w) {
623 } else if (property == config->prop_crtc_h) {
625 } else if (property == config->prop_src_x) {
627 } else if (property == config->prop_src_y) {
629 } else if (property == config->prop_src_w) {
631 } else if (property == config->prop_src_h) {
633 } else if (property == plane->alpha_property) {
635 } else if (property == plane->blend_mode_property) {
637 } else if (property == plane->rotation_property) {
639 } else if (property == plane->zpos_property) {
641 } else if (property == plane->color_encoding_property) {
643 } else if (property == plane->color_range_property) {
645 } else if (property == config->prop_fb_damage_clips) {
649 return plane->funcs->atomic_get_property(plane, state, property, val);
679 struct drm_property *property, uint64_t val)
686 if (property == config->prop_crtc_id) {
692 } else if (property == config->dpms_property) {
693 /* setting DPMS property requires special handling, which
695 * now?) atomic writes to DPMS property:
698 } else if (property == config->tv_select_subconnector_property) {
700 } else if (property == config->tv_left_margin_property) {
702 } else if (property == config->tv_right_margin_property) {
704 } else if (property == config->tv_top_margin_property) {
706 } else if (property == config->tv_bottom_margin_property) {
708 } else if (property == config->tv_mode_property) {
710 } else if (property == config->tv_brightness_property) {
712 } else if (property == config->tv_contrast_property) {
714 } else if (property == config->tv_flicker_reduction_property) {
716 } else if (property == config->tv_overscan_property) {
718 } else if (property == config->tv_saturation_property) {
720 } else if (property == config->tv_hue_property) {
722 } else if (property == config->link_status_property) {
726 * For an atomic property the userspace doesn't need to be able
736 } else if (property == config->hdr_output_metadata_property) {
743 } else if (property == config->aspect_ratio_property) {
745 } else if (property == config->content_type_property) {
747 } else if (property == connector->scaling_mode_property) {
749 } else if (property == config->content_protection_property) {
755 } else if (property == config->hdcp_content_type_property) {
757 } else if (property == connector->colorspace_property) {
759 } else if (property == config->writeback_fb_id_property) {
768 } else if (property == config->writeback_out_fence_ptr_property) {
773 } else if (property == connector->max_bpc_property) {
777 state, property, val);
779 DRM_DEBUG_ATOMIC("[CONNECTOR:%d:%s] unknown property [PROP:%d:%s]]\n",
781 property->base.id, property->name);
791 struct drm_property *property, uint64_t *val)
796 if (property == config->prop_crtc_id) {
798 } else if (property == config->dpms_property) {
803 } else if (property == config->tv_select_subconnector_property) {
805 } else if (property == config->tv_left_margin_property) {
807 } else if (property == config->tv_right_margin_property) {
809 } else if (property == config->tv_top_margin_property) {
811 } else if (property == config->tv_bottom_margin_property) {
813 } else if (property == config->tv_mode_property) {
815 } else if (property == config->tv_brightness_property) {
817 } else if (property == config->tv_contrast_property) {
819 } else if (property == config->tv_flicker_reduction_property) {
821 } else if (property == config->tv_overscan_property) {
823 } else if (property == config->tv_saturation_property) {
825 } else if (property == config->tv_hue_property) {
827 } else if (property == config->link_status_property) {
829 } else if (property == config->aspect_ratio_property) {
831 } else if (property == config->content_type_property) {
833 } else if (property == connector->colorspace_property) {
835 } else if (property == connector->scaling_mode_property) {
837 } else if (property == config->hdr_output_metadata_property) {
840 } else if (property == config->content_protection_property) {
842 } else if (property == config->hdcp_content_type_property) {
844 } else if (property == config->writeback_fb_id_property) {
847 } else if (property == config->writeback_out_fence_ptr_property) {
849 } else if (property == connector->max_bpc_property) {
853 state, property, val);
862 struct drm_property *property, uint64_t *val)
864 struct drm_device *dev = property->dev;
873 connector->state, property, val);
881 crtc->state, property, val);
889 plane->state, property, val);
1054 * Use this property to pass a fence that DRM should wait on before
1071 * Use this property to pass a file descriptor pointer to DRM. Once the