Lines Matching refs:DRMProperty
411 std::tie(blob_id, prop) = prop_map.at(DRMProperty::CAPABILITIES); in GetTypeInfo()
537 DRMProperty prop_enum = prop_mgr_.GetPropertyEnum(property_name); in ParseProperties()
538 if (prop_enum == DRMProperty::INVALID) { in ParseProperties()
544 if (prop_enum == DRMProperty::EXCL_RECT) { in ParseProperties()
547 if (prop_enum == DRMProperty::ROTATION) { in ParseProperties()
549 } else if (prop_enum == DRMProperty::FB_TRANSLATION_MODE) { in ParseProperties()
551 } else if (prop_enum == DRMProperty::MULTIRECT_MODE) { in ParseProperties()
558 csc = prop_enum == DRMProperty::CSC_V1 ? true : csc; in ParseProperties()
559 scaler = (prop_enum == DRMProperty::SCALER_V1 || prop_enum == DRMProperty::SCALER_V2) \ in ParseProperties()
561 cursor = (prop_enum == DRMProperty::TYPE && props->prop_values[j] == DRM_PLANE_TYPE_CURSOR) \ in ParseProperties()
565 if (prop_enum == DRMProperty::INVERSE_PMA) { in ParseProperties()
569 if ((uint32_t)prop_enum >= (uint32_t)DRMProperty::CSC_DMA_V1 && in ParseProperties()
570 (uint32_t)prop_enum <= (uint32_t)DRMProperty::CSC_DMA_V1) { in ParseProperties()
572 ((uint32_t)prop_enum - (uint32_t)DRMProperty::CSC_DMA_V1 + 1); in ParseProperties()
575 if ((uint32_t)prop_enum >= (uint32_t)DRMProperty::SDE_DGM_1D_LUT_IGC_V5 && in ParseProperties()
576 (uint32_t)prop_enum <= (uint32_t)DRMProperty::SDE_DGM_1D_LUT_IGC_V5) { in ParseProperties()
578 ((uint32_t)prop_enum - (uint32_t)DRMProperty::SDE_DGM_1D_LUT_IGC_V5 + 5); in ParseProperties()
580 if ((uint32_t)prop_enum >= (uint32_t)DRMProperty::SDE_DGM_1D_LUT_GC_V5 && in ParseProperties()
581 (uint32_t)prop_enum <= (uint32_t)DRMProperty::SDE_DGM_1D_LUT_GC_V5) { in ParseProperties()
583 ((uint32_t)prop_enum - (uint32_t)DRMProperty::SDE_DGM_1D_LUT_GC_V5 + 5); in ParseProperties()
585 if ((uint32_t)prop_enum >= (uint32_t)DRMProperty::SDE_VIG_1D_LUT_IGC_V5 && in ParseProperties()
586 (uint32_t)prop_enum <= (uint32_t)DRMProperty::SDE_VIG_1D_LUT_IGC_V6) { in ParseProperties()
588 ((uint32_t)prop_enum - (uint32_t)DRMProperty::SDE_VIG_1D_LUT_IGC_V5 + 5); in ParseProperties()
590 if ((uint32_t)prop_enum >= (uint32_t)DRMProperty::SDE_VIG_3D_LUT_GAMUT_V5 && in ParseProperties()
591 (uint32_t)prop_enum <= (uint32_t)DRMProperty::SDE_VIG_3D_LUT_GAMUT_V6) { in ParseProperties()
593 ((uint32_t)prop_enum - (uint32_t)DRMProperty::SDE_VIG_3D_LUT_GAMUT_V5 + 5); in ParseProperties()
630 AddProperty(DRMProperty::LUT_ED, dir_lut_blob_id, true); in ConfigureScalerLUT()
633 AddProperty(DRMProperty::LUT_CIR, cir_lut_blob_id, true); in ConfigureScalerLUT()
636 AddProperty(DRMProperty::LUT_SEP, sep_lut_blob_id, true); in ConfigureScalerLUT()
646 AddProperty(DRMProperty::EXCL_RECT, in SetExclRect()
662 if (!prop_mgr_.IsPropertyAvailable(DRMProperty::CSC_V1)) { in SetCscConfig()
667 AddProperty(DRMProperty::CSC_V1, 0); in SetCscConfig()
670 AddProperty(DRMProperty::CSC_V1, in SetCscConfig()
682 if (prop_mgr_.IsPropertyAvailable(DRMProperty::SCALER_V2)) { in SetScalerConfig()
692 AddProperty(DRMProperty::SCALER_V2, scaler_data, scaler_data != 0); in SetScalerConfig()
699 void DRMPlane::SetDecimation(DRMProperty prop, uint32_t prop_value) { in SetDecimation()
765 AddProperty(DRMProperty::SRC_X, rect.left << 16); in Perform()
766 AddProperty(DRMProperty::SRC_Y, rect.top << 16); in Perform()
767 AddProperty(DRMProperty::SRC_W, (rect.right - rect.left) << 16); in Perform()
768 AddProperty(DRMProperty::SRC_H, (rect.bottom - rect.top) << 16); in Perform()
775 AddProperty(DRMProperty::CRTC_X, rect.left); in Perform()
776 AddProperty(DRMProperty::CRTC_Y, rect.top); in Perform()
777 AddProperty(DRMProperty::CRTC_W, (rect.right - rect.left)); in Perform()
778 AddProperty(DRMProperty::CRTC_H, (rect.bottom - rect.top)); in Perform()
789 AddProperty(DRMProperty::ZPOS, zpos); in Perform()
807 AddProperty(DRMProperty::ROTATION, drm_rot_bit_mask); in Perform()
813 AddProperty(DRMProperty::ALPHA, alpha); in Perform()
819 AddProperty(DRMProperty::BLEND_OP, blending); in Perform()
825 SetDecimation(DRMProperty::H_DECIMATE, deci); in Perform()
830 SetDecimation(DRMProperty::V_DECIMATE, deci); in Perform()
835 AddProperty(DRMProperty::SRC_CONFIG, src_config); in Perform()
841 AddProperty(DRMProperty::CRTC_ID, crtc_id); in Perform()
848 AddProperty(DRMProperty::FB_ID, fb_id); in Perform()
854 AddProperty(DRMProperty::ROT_FB_ID, fb_id, true); in Perform()
860 AddProperty(DRMProperty::INPUT_FENCE, fence, true); in Perform()
892 AddProperty(DRMProperty::FB_TRANSLATION_MODE, fb_secure_mode); in Perform()
910 AddProperty(DRMProperty::INVERSE_PMA, pma); in Perform()
931 if (!prop_mgr_.IsPropertyAvailable(DRMProperty::SDE_SSPP_LAYOUT)) { in Perform()
936 AddProperty(DRMProperty::SDE_SSPP_LAYOUT, (uint32_t)layout_index); in Perform()
1013 AddProperty(DRMProperty::MULTIRECT_MODE, multirect_mode); in SetMultiRectMode()
1033 AddProperty(DRMProperty::CSC_DMA_V1, csc_v1, true); in Unset()
1042 prop_mgr_.IsPropertyAvailable(DRMProperty::CSC_DMA_V1)) { in SetDgmCscConfig()
1050 AddProperty(DRMProperty::CSC_DMA_V1, csc_v1_data, true); in SetDgmCscConfig()