Searched refs:DRMProperty (Results 1 – 9 of 9) sorted by relevance
/hardware/qcom/sm7250/display/sde-drm/ |
D | drm_property.cpp | 36 DRMProperty DRMPropertyManager::GetPropertyEnum(const std::string &name) const { in GetPropertyEnum() 37 if (name == "type") { return DRMProperty::TYPE; } in GetPropertyEnum() 38 if (name == "FB_ID") { return DRMProperty::FB_ID; } in GetPropertyEnum() 39 if (name == "rot_fb_id") { return DRMProperty::ROT_FB_ID; } in GetPropertyEnum() 40 if (name == "CRTC_ID") { return DRMProperty::CRTC_ID; } in GetPropertyEnum() 41 if (name == "CRTC_X") { return DRMProperty::CRTC_X; } in GetPropertyEnum() 42 if (name == "CRTC_Y") { return DRMProperty::CRTC_Y; } in GetPropertyEnum() 43 if (name == "CRTC_W") { return DRMProperty::CRTC_W; } in GetPropertyEnum() 44 if (name == "CRTC_H") { return DRMProperty::CRTC_H; } in GetPropertyEnum() 45 if (name == "SRC_X") { return DRMProperty::SRC_X; } in GetPropertyEnum() [all …]
|
D | drm_pp_manager.cpp | 69 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() 80 pp_prop_map_[kFeatureGamut].prop_id = pm.GetPropertyId((DRMProperty)i); in Init() 81 pp_prop_map_[kFeatureGamut].version = i - (uint32_t)DRMProperty::SDE_DSPP_GAMUT_V3 + 3; in Init() 84 } else if (i >= (uint32_t)DRMProperty::SDE_DSPP_GC_V1 && i <= in Init() 85 (uint32_t)DRMProperty::SDE_DSPP_GC_V2) { in Init() 86 pp_prop_map_[kFeaturePgc].prop_enum = (DRMProperty)i; in Init() [all …]
|
D | drm_dpps_mgr_imp.cpp | 154 DRMProperty prop_enum = prop_mgr_.GetPropertyEnum(property_name); in InitCrtcProps() 155 if (prop_enum == DRMProperty::INVALID) { in InitCrtcProps() 190 DRMProperty prop_enum = prop_mgr_.GetPropertyEnum(property_name); in InitConnProps() 191 if (prop_enum == DRMProperty::INVALID) { in InitConnProps() 234 (prop_mgr_.GetPropertyId(DRMProperty::SDE_DSPP_AD4_MODE) == 0 ? 0U : 4U) /* version */, in Init() 235 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() 247 … DRMProperty::SDE_DSPP_AD4_BACKLIGHT, prop_mgr_.GetPropertyId(DRMProperty::SDE_DSPP_AD4_BACKLIGHT), in Init() [all …]
|
D | drm_plane.cpp | 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() [all …]
|
D | drm_property.h | 41 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);
|
D | drm_connector.cpp | 460 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() 743 prop_mgr_.GetPropertyId(DRMProperty::HDR_PROPERTIES))); in GetInfo() [all …]
|
D | drm_pp_manager.h | 41 DRMProperty prop_enum;
|
D | drm_plane.h | 74 void SetDecimation(DRMProperty prop, uint32_t prop_value); 89 typedef std::map<DRMProperty, std::tuple<uint64_t, drmModePropertyRes *>> PropertyMap;
|
D | drm_dpps_mgr_imp.h | 43 DRMProperty prop_enum;
|