/hardware/qcom/sm7250/display/sde-drm/ |
D | drm_plane.h | 65 void GetAssignedCrtc(uint32_t *crtc_id) { *crtc_id = assigned_crtc_id_; } in GetAssignedCrtc() argument 66 void GetRequestedCrtc(uint32_t *crtc_id) { *crtc_id = requested_crtc_id_; } in GetRequestedCrtc() argument 67 void SetAssignedCrtc(uint32_t crtc_id) { assigned_crtc_id_ = crtc_id; } in SetAssignedCrtc() argument 68 void SetRequestedCrtc(uint32_t crtc_id) { requested_crtc_id_ = crtc_id; } in SetRequestedCrtc() argument 80 void PostValidate(uint32_t crtc_id); 81 void PostCommit(uint32_t crtc_id, bool success); 125 void UnsetUnusedResources(uint32_t crtc_id, bool is_commit, drmModeAtomicReq *req); 126 void ResetColorLutsOnUsedPlanes(uint32_t crtc_id, bool is_commit, drmModeAtomicReq *req); 127 void RetainPlanes(uint32_t crtc_id); 130 void PostValidate(uint32_t crtc_id); [all …]
|
D | drm_atomic_req.cpp | 169 auto crtc = drm_mgr_->GetCrtcMgr()->GetObject(token_.crtc_id); in Validate() 171 DRM_LOGE("Invalid crtc %d", token_.crtc_id); in Validate() 175 drm_mgr_->GetPlaneMgr()->UnsetUnusedResources(token_.crtc_id, false /*is_commit*/, in Validate() 183 drm_mgr_->GetPlaneMgr()->PostValidate(token_.crtc_id); in Validate() 190 auto crtc = drm_mgr_->GetCrtcMgr()->GetObject(token_.crtc_id); in Commit() 192 DRM_LOGE("Invalid crtc %d", token_.crtc_id); in Commit() 199 drm_mgr_->GetPlaneMgr()->RetainPlanes(token_.crtc_id); in Commit() 202 drm_mgr_->GetPlaneMgr()->UnsetUnusedResources(token_.crtc_id, true /*is_commit*/, in Commit() 213 drm_mgr_->GetPlaneMgr()->PostCommit(token_.crtc_id, !ret); in Commit()
|
D | drm_crtc.h | 52 uint32_t GetObjectId() override { return drm_crtc_->crtc_id; } in GetObjectId() 106 int GetCrtcInfo(uint32_t crtc_id, DRMCrtcInfo *info); 109 void GetPPInfo(uint32_t crtc_id, DRMPPFeatureInfo *info); 110 size_t ApplyDirtyProperties(drmModeAtomicReq *req, uint32_t crtc_id);
|
D | drm_plane.cpp | 318 void DRMPlaneManager::UnsetUnusedResources(uint32_t crtc_id, bool is_commit, drmModeAtomicReq *req)… in UnsetUnusedResources() argument 327 if (assigned_crtc == crtc_id && requested_crtc == 0) { in UnsetUnusedResources() 329 } else if (requested_crtc == crtc_id) { in UnsetUnusedResources() 336 void DRMPlaneManager::RetainPlanes(uint32_t crtc_id) { in RetainPlanes() argument 340 if (assigned_crtc == crtc_id) { in RetainPlanes() 342 plane.second->SetRequestedCrtc(crtc_id); in RetainPlanes() 344 DRM_LOGD("Plane %d: Retaining on CRTC %d", plane_id, crtc_id); in RetainPlanes() 349 void DRMPlaneManager::PostValidate(uint32_t crtc_id) { in PostValidate() argument 352 plane.second->PostValidate(crtc_id); in PostValidate() 356 void DRMPlaneManager::PostCommit(uint32_t crtc_id, bool success) { in PostCommit() argument [all …]
|
D | drm_manager.h | 55 virtual int GetCrtcInfo(uint32_t crtc_id, DRMCrtcInfo *info); 60 virtual void GetCrtcPPInfo(uint32_t crtc_id, DRMPPFeatureInfo *info);
|
D | drm_manager.cpp | 187 int DRMManager::GetCrtcInfo(uint32_t crtc_id, DRMCrtcInfo *info) { in GetCrtcInfo() argument 189 return crtc_mgr_->GetCrtcInfo(crtc_id, info); in GetCrtcInfo() 196 void DRMManager::GetCrtcPPInfo(uint32_t crtc_id, DRMPPFeatureInfo *info) { in GetCrtcPPInfo() argument 197 crtc_mgr_->GetPPInfo(crtc_id, info); in GetCrtcPPInfo()
|
/hardware/qcom/sdm845/display/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 417 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, nullptr); in Deinit() 418 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 0); in Deinit() 759 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 1); in PowerOn() 766 drm_atomic_intf_->Perform(DRMOps::CRTC_GET_RELEASE_FENCE, token_.crtc_id, release_fence); in PowerOn() 780 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, ¤t_mode); in PowerOff() 782 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 0); in PowerOff() 784 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, ¤t_mode); in PowerOff() 801 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 1); in Doze() 809 drm_atomic_intf_->Perform(DRMOps::CRTC_GET_RELEASE_FENCE, token_.crtc_id, release_fence); in Doze() 816 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 1); in DozeSuspend() [all …]
|
D | hw_peripheral_drm.cpp | 139 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_DEST_SCALER_CONFIG, token_.crtc_id, in SetDestScalarData() 224 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, cwb_config_.token.conn_id, token_.crtc_id); in ConfigureConcurrentWriteback() 229 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_CAPTURE_MODE, token_.crtc_id, capture_mode); in ConfigureConcurrentWriteback() 286 drm_atomic_intf_->Perform(sde_drm::DRMOps::CRTC_SET_IDLE_PC_STATE, token_.crtc_id, in PowerOn()
|
D | hw_peripheral_drm.h | 62 drm_atomic_intf_->Perform(sde_drm::DRMOps::CRTC_SET_IDLE_PC_STATE, token_.crtc_id, in SetIdlePCState()
|
/hardware/qcom/sm8150/display/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 532 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, nullptr); in Deinit() 533 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 0); in Deinit() 860 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, token_.conn_id, token_.crtc_id); in PowerOn() 862 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, ¤t_mode); in PowerOn() 864 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 1); in PowerOn() 867 drm_atomic_intf_->Perform(DRMOps::CRTC_GET_RELEASE_FENCE, token_.crtc_id, &release_fence_t); in PowerOn() 898 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, ¤t_mode); in PowerOff() 900 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 0); in PowerOff() 924 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, token_.conn_id, token_.crtc_id); in Doze() 926 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, ¤t_mode); in Doze() [all …]
|
D | hw_peripheral_drm.cpp | 225 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_DEST_SCALER_CONFIG, token_.crtc_id, in SetDestScalarData() 275 obj_id = token_.crtc_id; in SetDppsFeature() 408 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, cwb_config_.token.conn_id, token_.crtc_id); in ConfigureConcurrentWriteback() 413 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_CAPTURE_MODE, token_.crtc_id, capture_mode); in ConfigureConcurrentWriteback() 464 drm_atomic_intf_->Perform(sde_drm::DRMOps::CRTC_SET_IDLE_PC_STATE, token_.crtc_id, in PowerOn()
|
/hardware/qcom/display/msm8998/libdrmutils/ |
D | drm_interface.h | 268 uint32_t crtc_id; member 358 virtual void GetCrtcInfo(uint32_t crtc_id, DRMCrtcInfo *info) = 0; 370 virtual void GetCrtcPPInfo(uint32_t crtc_id, DRMPPFeatureInfo &info) = 0;
|
D | drm_res_mgr.h | 45 void GetCrtcId(uint32_t *id) { *id = crtc_->crtc_id; } in GetCrtcId()
|
/hardware/qcom/sm7250/display/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 538 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, nullptr); in Deinit() 539 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 0); in Deinit() 977 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 1); in PowerOn() 980 drm_atomic_intf_->Perform(DRMOps::CRTC_GET_RELEASE_FENCE, token_.crtc_id, &release_fence_fd); in PowerOn() 1019 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, ¤t_mode); in PowerOff() 1021 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 0); in PowerOff() 1053 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, token_.conn_id, token_.crtc_id); in Doze() 1055 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, ¤t_mode); in Doze() 1057 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 1); in Doze() 1060 drm_atomic_intf_->Perform(DRMOps::CRTC_GET_RELEASE_FENCE, token_.crtc_id, &release_fence_fd); in Doze() [all …]
|
D | hw_peripheral_drm.cpp | 278 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_DEST_SCALER_CONFIG, token_.crtc_id, in SetDestScalarData() 339 obj_id = token_.crtc_id; in SetDppsFeature() 357 feature_info->obj_id = token_.crtc_id; in GetDppsFeatureInfo() 476 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, cwb_config_.token.conn_id, token_.crtc_id); in ConfigureConcurrentWriteback() 481 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_CAPTURE_MODE, token_.crtc_id, capture_mode); in ConfigureConcurrentWriteback() 540 drm_atomic_intf_->Perform(sde_drm::DRMOps::CRTC_SET_IDLE_PC_STATE, token_.crtc_id, in PowerOn() 545 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_DEST_SCALER_CONFIG, token_.crtc_id, in PowerOn()
|
/hardware/qcom/display/msm8998/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 105 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, ¤t_mode_); in Init() 107 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_OUTPUT_FENCE_OFFSET, token_.crtc_id, 1); in Init() 113 DLOGE("Setting up CRTC %d, Connector %d for %s failed", token_.crtc_id, token_.conn_id, in Init() 120 DLOGI("Setup CRTC %d, Connector %d for %s", token_.crtc_id, token_.conn_id, device_name_); in Init() 430 drm_atomic_intf_->Perform(DRMOps::PLANE_SET_CRTC, pipe_id, token_.crtc_id); in SetupAtomic() 439 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 1); in SetupAtomic() 496 uint32_t crtc_id = 0; in DefaultCommit() local 497 res_mgr->GetCrtcId(&crtc_id); in DefaultCommit() 503 ret = drmModeSetCrtc(dev_fd, crtc_id, input_buffer.fb_id, 0 /* x */, 0 /* y */, &connector_id, in DefaultCommit() 507 input_buffer.fb_id, crtc_id, connector_id, strerror(errno)); in DefaultCommit() [all …]
|
/hardware/qcom/display/msm8909/libdrmutils/ |
D | drm_interface.h | 293 uint32_t crtc_id; member 392 virtual void GetCrtcInfo(uint32_t crtc_id, DRMCrtcInfo *info) = 0; 404 virtual void GetCrtcPPInfo(uint32_t crtc_id, DRMPPFeatureInfo &info) = 0;
|
D | drm_res_mgr.h | 45 void GetCrtcId(uint32_t *id) { *id = crtc_->crtc_id; } in GetCrtcId()
|
/hardware/qcom/display/msm8909w_3100/libdrmutils/ |
D | drm_interface.h | 293 uint32_t crtc_id; member 392 virtual void GetCrtcInfo(uint32_t crtc_id, DRMCrtcInfo *info) = 0; 404 virtual void GetCrtcPPInfo(uint32_t crtc_id, DRMPPFeatureInfo &info) = 0;
|
D | drm_res_mgr.h | 45 void GetCrtcId(uint32_t *id) { *id = crtc_->crtc_id; } in GetCrtcId()
|
/hardware/qcom/display/msm8909/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 327 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, ¤t_mode_); in Init() 329 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_OUTPUT_FENCE_OFFSET, token_.crtc_id, 1); in Init() 335 DLOGE("Setting up CRTC %d, Connector %d for %s failed", token_.crtc_id, token_.conn_id, in Init() 342 DLOGI("Setup CRTC %d, Connector %d for %s", token_.crtc_id, token_.conn_id, device_name_); in Init() 650 drm_atomic_intf_->Perform(DRMOps::PLANE_SET_CRTC, pipe_id, token_.crtc_id); in SetupAtomic() 668 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 1); in SetupAtomic() 735 uint32_t crtc_id = 0; in DefaultCommit() local 736 res_mgr->GetCrtcId(&crtc_id); in DefaultCommit() 742 ret = drmModeSetCrtc(dev_fd, crtc_id, fb_id, 0 /* x */, 0 /* y */, &connector_id, in DefaultCommit() 746 fb_id, crtc_id, connector_id, strerror(errno)); in DefaultCommit() [all …]
|
/hardware/qcom/sm8150/display/libdrmutils/ |
D | drm_res_mgr.h | 45 void GetCrtcId(uint32_t *id) { *id = crtc_->crtc_id; } in GetCrtcId()
|
/hardware/qcom/sm7250/display/libdrmutils/ |
D | drm_res_mgr.h | 45 void GetCrtcId(uint32_t *id) { *id = crtc_->crtc_id; } in GetCrtcId()
|
/hardware/qcom/sdm845/display/libdrmutils/ |
D | drm_res_mgr.h | 45 void GetCrtcId(uint32_t *id) { *id = crtc_->crtc_id; } in GetCrtcId()
|
D | drm_interface.h | 539 uint32_t crtc_id; member 693 virtual void GetCrtcInfo(uint32_t crtc_id, DRMCrtcInfo *info) = 0; 705 virtual void GetCrtcPPInfo(uint32_t crtc_id, DRMPPFeatureInfo *info) = 0;
|