Lines Matching refs:property
64 * the enable property.
109 * @blob: pointer to blob property to use for mode
111 * Set a mode (originating from a blob property) on the desired CRTC state.
112 * This function will take a reference on the blob property for the CRTC state,
113 * and release the reference held on the state's existing mode property, if any
425 struct drm_crtc_state *state, struct drm_property *property,
433 if (property == config->prop_active)
435 else if (property == config->prop_mode_id) {
441 } else if (property == config->prop_vrr_enabled) {
443 } else if (property == config->degamma_lut_property) {
451 } else if (property == config->ctm_property) {
459 } else if (property == config->gamma_lut_property) {
467 } else if (property == config->prop_out_fence_ptr) {
478 return crtc->funcs->atomic_set_property(crtc, state, property, val);
480 DRM_DEBUG_ATOMIC("[CRTC:%d:%s] unknown property [PROP:%d:%s]]\n",
482 property->base.id, property->name);
492 struct drm_property *property, uint64_t *val)
497 if (property == config->prop_active)
499 else if (property == config->prop_mode_id)
501 else if (property == config->prop_vrr_enabled)
503 else if (property == config->degamma_lut_property)
505 else if (property == config->ctm_property)
507 else if (property == config->gamma_lut_property)
509 else if (property == config->prop_out_fence_ptr)
512 return crtc->funcs->atomic_get_property(crtc, state, property, val);
521 struct drm_property *property, uint64_t val)
528 if (property == config->prop_fb_id) {
534 } else if (property == config->prop_in_fence_fd) {
545 } else if (property == config->prop_crtc_id) {
550 } else if (property == config->prop_crtc_x) {
552 } else if (property == config->prop_crtc_y) {
554 } else if (property == config->prop_crtc_w) {
556 } else if (property == config->prop_crtc_h) {
558 } else if (property == config->prop_src_x) {
560 } else if (property == config->prop_src_y) {
562 } else if (property == config->prop_src_w) {
564 } else if (property == config->prop_src_h) {
566 } else if (property == plane->alpha_property) {
568 } else if (property == plane->blend_mode_property) {
570 } else if (property == plane->rotation_property) {
577 } else if (property == plane->zpos_property) {
579 } else if (property == plane->color_encoding_property) {
581 } else if (property == plane->color_range_property) {
583 } else if (property == config->prop_fb_damage_clips) {
593 property, val);
595 DRM_DEBUG_ATOMIC("[PLANE:%d:%s] unknown property [PROP:%d:%s]]\n",
597 property->base.id, property->name);
607 struct drm_property *property, uint64_t *val)
612 if (property == config->prop_fb_id) {
614 } else if (property == config->prop_in_fence_fd) {
616 } else if (property == config->prop_crtc_id) {
618 } else if (property == config->prop_crtc_x) {
620 } else if (property == config->prop_crtc_y) {
622 } else if (property == config->prop_crtc_w) {
624 } else if (property == config->prop_crtc_h) {
626 } else if (property == config->prop_src_x) {
628 } else if (property == config->prop_src_y) {
630 } else if (property == config->prop_src_w) {
632 } else if (property == config->prop_src_h) {
634 } else if (property == plane->alpha_property) {
636 } else if (property == plane->blend_mode_property) {
638 } else if (property == plane->rotation_property) {
640 } else if (property == plane->zpos_property) {
642 } else if (property == plane->color_encoding_property) {
644 } else if (property == plane->color_range_property) {
646 } else if (property == config->prop_fb_damage_clips) {
650 return plane->funcs->atomic_get_property(plane, state, property, val);
680 struct drm_property *property, uint64_t val)
686 if (property == config->prop_crtc_id) {
691 } else if (property == config->dpms_property) {
692 /* setting DPMS property requires special handling, which
694 * now?) atomic writes to DPMS property:
697 } else if (property == config->tv_select_subconnector_property) {
699 } else if (property == config->tv_left_margin_property) {
701 } else if (property == config->tv_right_margin_property) {
703 } else if (property == config->tv_top_margin_property) {
705 } else if (property == config->tv_bottom_margin_property) {
707 } else if (property == config->tv_mode_property) {
709 } else if (property == config->tv_brightness_property) {
711 } else if (property == config->tv_contrast_property) {
713 } else if (property == config->tv_flicker_reduction_property) {
715 } else if (property == config->tv_overscan_property) {
717 } else if (property == config->tv_saturation_property) {
719 } else if (property == config->tv_hue_property) {
721 } else if (property == config->link_status_property) {
725 * For an atomic property the userspace doesn't need to be able
735 } 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) {
767 } else if (property == config->writeback_out_fence_ptr_property) {
772 } else if (property == connector->max_bpc_property) {
776 state, property, val);
778 DRM_DEBUG_ATOMIC("[CONNECTOR:%d:%s] unknown property [PROP:%d:%s]]\n",
780 property->base.id, property->name);
790 struct drm_property *property, uint64_t *val)
795 if (property == config->prop_crtc_id) {
797 } else if (property == config->dpms_property) {
802 } else if (property == config->tv_select_subconnector_property) {
804 } else if (property == config->tv_left_margin_property) {
806 } else if (property == config->tv_right_margin_property) {
808 } else if (property == config->tv_top_margin_property) {
810 } else if (property == config->tv_bottom_margin_property) {
812 } else if (property == config->tv_mode_property) {
814 } else if (property == config->tv_brightness_property) {
816 } else if (property == config->tv_contrast_property) {
818 } else if (property == config->tv_flicker_reduction_property) {
820 } else if (property == config->tv_overscan_property) {
822 } else if (property == config->tv_saturation_property) {
824 } else if (property == config->tv_hue_property) {
826 } else if (property == config->link_status_property) {
828 } else if (property == config->aspect_ratio_property) {
830 } else if (property == config->content_type_property) {
832 } else if (property == connector->colorspace_property) {
834 } else if (property == connector->scaling_mode_property) {
836 } else if (property == config->hdr_output_metadata_property) {
839 } else if (property == config->content_protection_property) {
841 } else if (property == config->hdcp_content_type_property) {
843 } else if (property == config->writeback_fb_id_property) {
846 } else if (property == config->writeback_out_fence_ptr_property) {
848 } else if (property == connector->max_bpc_property) {
852 state, property, val);
861 struct drm_property *property, uint64_t *val)
863 struct drm_device *dev = property->dev;
871 connector->state, property, val);
878 crtc->state, property, val);
885 plane->state, property, val);
1050 * Use this property to pass a fence that DRM should wait on before
1067 * Use this property to pass a file descriptor pointer to DRM. Once the