Home
last modified time | relevance | path

Searched refs:obj_id (Results 1 – 20 of 20) sorted by relevance

/hardware/qcom/sm7250/display/sde-drm/
Ddrm_dpps_mgr_imp.cpp318 void DRMDppsManagerImp::CacheDppsFeature(uint32_t obj_id, va_list args) { in CacheDppsFeature() argument
325 DRM_LOGE("Invalid feature id %d for obj_id 0x%x", feature_id, obj_id); in CacheDppsFeature()
330 info->obj_id = obj_id; in CacheDppsFeature()
336 if ((it.obj_id == info->obj_id) && (it.prop_id == info->prop_id)) { in CacheDppsFeature()
355 if (it->obj_id == tok.crtc_id || it->obj_id == tok.conn_id) { in CommitDppsFeatures()
356 ret = drmModeAtomicAddProperty(req, it->obj_id, it->prop_id, it->value); in CommitDppsFeatures()
358 DRM_LOGE("AtomicAddProperty failed obj_id 0x%x, prop_id %d ret %d ", it->obj_id, in CommitDppsFeatures()
377 if (it->obj_id == tok.crtc_id || it->obj_id == tok.conn_id) { in CommitDppsFeatures()
378 event_req.object_id = it->obj_id; in CommitDppsFeatures()
432 prop_info->obj_id = info->obj_id; in GetDppsFeatureInfo()
[all …]
Ddrm_connector.cpp327 void DRMConnectorManager::Perform(DRMOps code, uint32_t obj_id, drmModeAtomicReq *req, in Perform() argument
330 auto it = connector_pool_.find(obj_id); in Perform()
332 DRM_LOGE("Invalid connector id %d", obj_id); in Perform()
805 uint32_t obj_id = drm_connector_->connector_id; in Perform() local
810 drmModeAtomicAddProperty(req, obj_id, prop_mgr_.GetPropertyId(DRMProperty::CRTC_ID), crtc); in Perform()
811 DRM_LOGD("Connector %d: Setting CRTC %d", obj_id, crtc); in Perform()
818 drmModeAtomicAddProperty(req, obj_id, prop_id, reinterpret_cast<uint64_t>(fence)); in Perform()
823 drmModeAtomicAddProperty(req, obj_id, in Perform()
825 drmModeAtomicAddProperty(req, obj_id, in Perform()
827 drmModeAtomicAddProperty(req, obj_id, prop_mgr_.GetPropertyId(DRMProperty::DST_W), in Perform()
[all …]
Ddrm_atomic_req.cpp64 int DRMAtomicReq::Perform(DRMOps opcode, uint32_t obj_id, ...) { in Perform() argument
66 va_start(args, obj_id); in Perform()
90 drm_mgr_->GetPlaneMgr()->Perform(opcode, obj_id, drm_atomic_req_, args); in Perform()
113 drm_mgr_->GetCrtcMgr()->Perform(opcode, obj_id, drm_atomic_req_, args); in Perform()
129 drm_mgr_->GetConnectorMgr()->Perform(opcode, obj_id, drm_atomic_req_, args); in Perform()
132 drm_mgr_->GetDppsMgrIntf()->CacheDppsFeature(obj_id, args); in Perform()
Ddrm_plane.cpp287 void DRMPlaneManager::Perform(DRMOps code, uint32_t obj_id, drmModeAtomicReq *req, va_list args) { in Perform() argument
288 auto plane = GetObject(obj_id); in Perform()
290 DRM_LOGE("Invalid plane id %d", obj_id); in Perform()
297 DRM_LOGD("Plane %d: Configuring scaler LUTs", obj_id); in Perform()
304 void DRMPlaneManager::Perform(DRMOps code, drmModeAtomicReq *req, uint32_t obj_id, ...) { in Perform() argument
307 va_start(args, obj_id); in Perform()
308 Perform(code, obj_id, req, args); in Perform()
758 uint32_t obj_id = drm_plane_->plane_id; in Perform() local
769 DRM_LOGV("Plane %d: Setting crop [x,y,w,h][%d,%d,%d,%d]", obj_id, rect.left, in Perform()
779 DRM_LOGV("Plane %d: Setting dst [x,y,w,h][%d,%d,%d,%d]", obj_id, rect.left, in Perform()
[all …]
Ddrm_dpps_mgr_imp.h47 uint32_t obj_id; member
55 void CacheDppsFeature(uint32_t obj_id, va_list args);
84 void CacheDppsFeature(uint32_t obj_id, va_list args) {} in CacheDppsFeature() argument
Ddrm_pp_manager.h54 void SetPPFeature(drmModeAtomicReq *req, uint32_t obj_id, DRMPPFeatureInfo &feature);
57 int SetPPBlobProperty(drmModeAtomicReq *req, uint32_t obj_id, struct DRMPPPropInfo *prop_info,
Ddrm_connector.h72 void SetROI(drmModeAtomicReq *req, uint32_t obj_id, uint32_t num_roi,
94 void Perform(DRMOps code, uint32_t obj_id, drmModeAtomicReq *req, va_list args);
Ddrm_dpps_mgr_intf.h39 virtual void CacheDppsFeature(uint32_t obj_id, va_list args) = 0;
Ddrm_pp_manager.cpp205 void DRMPPManager::SetPPFeature(drmModeAtomicReq *req, uint32_t obj_id, DRMPPFeatureInfo &feature) { in SetPPFeature() argument
220 SetPPBlobProperty(req, obj_id, &pp_prop_map_[feature.id], feature); in SetPPFeature()
230 int DRMPPManager::SetPPBlobProperty(drmModeAtomicReq *req, uint32_t obj_id, in SetPPBlobProperty() argument
250 drmModeAtomicAddProperty(req, obj_id, prop_info->prop_id, 0); in SetPPBlobProperty()
261 drmModeAtomicAddProperty(req, obj_id, prop_info->prop_id, blob_id); in SetPPBlobProperty()
Ddrm_atomic_req.h48 virtual int Perform(DRMOps op_code, uint32_t obj_id, ...);
Ddrm_plane.h124 void Perform(DRMOps code, uint32_t obj_id, drmModeAtomicReq *req, va_list args);
134 void Perform(DRMOps code, drmModeAtomicReq *req, uint32_t obj_id, ...);
Ddrm_property.h242 T* GetObject(uint32_t obj_id) { in GetObject()
243 auto it = object_pool_.find(obj_id); in GetObject()
Ddrm_crtc.h105 void Perform(DRMOps code, uint32_t obj_id, drmModeAtomicReq *req, va_list args);
Ddrm_property.cpp198 const uint32_t obj_id = GetObjectId(); in ApplyDirtyProperties() local
201 drmModeAtomicAddProperty(req, obj_id, it.first, it.second); in ApplyDirtyProperties()
/hardware/qcom/sm7250/display/sdm/libs/core/drm/
Dhw_peripheral_drm.cpp305 uint32_t obj_id = 0, object_type = 0, feature_id = 0; in SetDppsFeature() local
339 obj_id = token_.crtc_id; in SetDppsFeature()
341 obj_id = token_.conn_id; in SetDppsFeature()
347 drm_atomic_intf_->Perform(DRMOps::DPPS_CACHE_FEATURE, obj_id, feature_id, value); in SetDppsFeature()
357 feature_info->obj_id = token_.crtc_id; in GetDppsFeatureInfo()
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_peripheral_drm.cpp241 uint32_t obj_id = 0, object_type = 0, feature_id = 0; in SetDppsFeature() local
275 obj_id = token_.crtc_id; in SetDppsFeature()
277 obj_id = token_.conn_id; in SetDppsFeature()
283 drm_atomic_intf_->Perform(DRMOps::DPPS_CACHE_FEATURE, obj_id, feature_id, value); in SetDppsFeature()
/hardware/google/graphics/common/libhwc2.1/libdrmresource/include/
Ddrmdevice.h86 int GetProperty(uint32_t obj_id, uint32_t obj_type, const char *prop_name,
/hardware/google/graphics/common/libhwc2.1/libdrmresource/drm/
Ddrmdevice.cpp474 int DrmDevice::GetProperty(uint32_t obj_id, uint32_t obj_type, in GetProperty() argument
478 props = drmModeObjectGetProperties(fd(), obj_id, obj_type); in GetProperty()
480 ALOGE("Failed to get properties for %d/%x", obj_id, obj_type); in GetProperty()
/hardware/qcom/sm7250/display/libdrmutils/
Ddrm_interface.h771 uint32_t obj_id; member
909 virtual int Perform(DRMOps opcode, uint32_t obj_id, ...) = 0;
/hardware/qcom/sm8150/display/libdrmutils/
Ddrm_interface.h831 virtual int Perform(DRMOps opcode, uint32_t obj_id, ...) = 0;