Home
last modified time | relevance | path

Searched refs:DRMProperty (Results 1 – 10 of 10) sorted by relevance

/aosp12/hardware/qcom/sm7250/display/sde-drm/
H A Ddrm_property.cpp37 if (name == "type") { return DRMProperty::TYPE; } in GetPropertyEnum()
38 if (name == "FB_ID") { return DRMProperty::FB_ID; } in GetPropertyEnum()
45 if (name == "SRC_X") { return DRMProperty::SRC_X; } in GetPropertyEnum()
46 if (name == "SRC_Y") { return DRMProperty::SRC_Y; } in GetPropertyEnum()
47 if (name == "SRC_W") { return DRMProperty::SRC_W; } in GetPropertyEnum()
48 if (name == "SRC_H") { return DRMProperty::SRC_H; } in GetPropertyEnum()
49 if (name == "zpos") { return DRMProperty::ZPOS; } in GetPropertyEnum()
50 if (name == "alpha") { return DRMProperty::ALPHA; } in GetPropertyEnum()
91 if (name == "LP") { return DRMProperty::LP; } in GetPropertyEnum()
169 return DRMProperty::INVALID; in GetPropertyEnum()
[all …]
H A Ddrm_pp_manager.cpp69 for (uint32_t i = (uint32_t)DRMProperty::INVALID + 1; i < (uint32_t)DRMProperty::MAX; i++) { in Init()
73 if (!pm.IsPropertyAvailable((DRMProperty)i)) { in Init()
77 if (i >= (uint32_t)DRMProperty::SDE_DSPP_GAMUT_V3 && i <= in Init()
78 (uint32_t)DRMProperty::SDE_DSPP_GAMUT_V5) { in Init()
79 pp_prop_map_[kFeatureGamut].prop_enum = (DRMProperty)i; in Init()
85 (uint32_t)DRMProperty::SDE_DSPP_GC_V2) { in Init()
86 pp_prop_map_[kFeaturePgc].prop_enum = (DRMProperty)i; in Init()
91 } else if (i >= (uint32_t)DRMProperty::SDE_DSPP_IGC_V2 && in Init()
92 i <= (uint32_t)DRMProperty::SDE_DSPP_IGC_V4) { in Init()
93 pp_prop_map_[kFeatureIgc].prop_enum = (DRMProperty)i; in Init()
[all …]
H A Ddrm_dpps_mgr_imp.cpp235 DRMProperty::SDE_DSPP_AD4_MODE, prop_mgr_.GetPropertyId(DRMProperty::SDE_DSPP_AD4_MODE), in Init()
238 DRMProperty::SDE_DSPP_AD4_INIT, prop_mgr_.GetPropertyId(DRMProperty::SDE_DSPP_AD4_INIT), in Init()
241 DRMProperty::SDE_DSPP_AD4_CFG, prop_mgr_.GetPropertyId(DRMProperty::SDE_DSPP_AD4_CFG), in Init()
244 DRMProperty::SDE_DSPP_AD4_INPUT, prop_mgr_.GetPropertyId(DRMProperty::SDE_DSPP_AD4_INPUT), in Init()
253 DRMProperty::SDE_DSPP_AD4_ROI, prop_mgr_.GetPropertyId(DRMProperty::SDE_DSPP_AD4_ROI), in Init()
265 DRMProperty::SDE_DSPP_ABA_LUT, prop_mgr_.GetPropertyId(DRMProperty::SDE_DSPP_ABA_LUT), in Init()
271 DRMProperty::SDE_DSPP_BL_SCALE, prop_mgr_.GetPropertyId(DRMProperty::SDE_DSPP_BL_SCALE), in Init()
276 DRMProperty::SDE_LTM_VERSION, prop_mgr_.GetPropertyId(DRMProperty::SDE_LTM_VERSION), in Init()
279 DRMProperty::SDE_LTM_INIT, prop_mgr_.GetPropertyId(DRMProperty::SDE_LTM_INIT), in Init()
282 DRMProperty::SDE_LTM_CFG, prop_mgr_.GetPropertyId(DRMProperty::SDE_LTM_CFG), in Init()
[all …]
H A Ddrm_plane.cpp538 if (prop_enum == DRMProperty::INVALID) { in ParseProperties()
544 if (prop_enum == DRMProperty::EXCL_RECT) { in ParseProperties()
547 if (prop_enum == DRMProperty::ROTATION) { in ParseProperties()
559 scaler = (prop_enum == DRMProperty::SCALER_V1 || prop_enum == DRMProperty::SCALER_V2) \ in ParseProperties()
565 if (prop_enum == DRMProperty::INVERSE_PMA) { in ParseProperties()
646 AddProperty(DRMProperty::EXCL_RECT, in SetExclRect()
667 AddProperty(DRMProperty::CSC_V1, 0); in SetCscConfig()
670 AddProperty(DRMProperty::CSC_V1, in SetCscConfig()
789 AddProperty(DRMProperty::ZPOS, zpos); in Perform()
813 AddProperty(DRMProperty::ALPHA, alpha); in Perform()
[all …]
H A Ddrm_crtc.cpp268 if (prop_enum == DRMProperty::INVALID) { in ParseProperties()
612 AddProperty(DRMProperty::OUTPUT_FENCE, in Perform()
665 AddProperty(DRMProperty::DEST_SCALER, in Perform()
759 AddProperty(DRMProperty::DIM_STAGES_V1, in SetSolidfillStages()
803 RemoveProperty(DRMProperty::CORE_CLK); in ClearVotesCache()
804 RemoveProperty(DRMProperty::CORE_AB); in ClearVotesCache()
805 RemoveProperty(DRMProperty::CORE_IB); in ClearVotesCache()
806 RemoveProperty(DRMProperty::LLCC_AB); in ClearVotesCache()
807 RemoveProperty(DRMProperty::LLCC_IB); in ClearVotesCache()
808 RemoveProperty(DRMProperty::DRAM_AB); in ClearVotesCache()
[all …]
H A Ddrm_connector.cpp460 DRMProperty prop_enum = prop_mgr_.GetPropertyEnum(property_name); in ParseProperties()
462 if (prop_enum == DRMProperty::INVALID) { in ParseProperties()
468 if (prop_enum == DRMProperty::LP) { in ParseProperties()
470 } else if (prop_enum == DRMProperty::FB_TRANSLATION_MODE) { in ParseProperties()
472 } else if (prop_enum == DRMProperty::QSYNC_MODE) { in ParseProperties()
474 } else if (prop_enum == DRMProperty::FRAME_TRIGGER) { in ParseProperties()
476 } else if (prop_enum == DRMProperty::COLORSPACE) { in ParseProperties()
478 } else if (prop_enum == DRMProperty::MAX) { in ParseProperties()
740 if (prop_mgr_.IsPropertyAvailable(DRMProperty::HDR_PROPERTIES)) { in GetInfo()
748 if (prop_mgr_.IsPropertyAvailable(DRMProperty::CAPABILITIES)) { in GetInfo()
[all …]
H A Ddrm_property.h41 enum struct DRMProperty { enum
180 DRMProperty GetPropertyEnum(const std::string &name) const;
182 void SetPropertyId(DRMProperty prop_enum, uint32_t prop_id) { in SetPropertyId()
186 uint32_t GetPropertyId(DRMProperty prop_enum) const { in GetPropertyId()
190 bool IsPropertyAvailable(DRMProperty prop_enum) const { in IsPropertyAvailable()
195 uint32_t properties_[(uint32_t)DRMProperty::MAX] {};
203 void AddProperty(DRMProperty prop, uint64_t value, bool force_dirty = false);
204 void RemoveProperty(DRMProperty prop);
H A Ddrm_plane.h74 void SetDecimation(DRMProperty prop, uint32_t prop_value);
89 typedef std::map<DRMProperty, std::tuple<uint64_t, drmModePropertyRes *>> PropertyMap;
H A Ddrm_pp_manager.h41 DRMProperty prop_enum;
H A Ddrm_dpps_mgr_imp.h43 DRMProperty prop_enum;