/hardware/qcom/sm7250/display/sde-drm/ |
D | drm_atomic_req.cpp | 55 token_ = tok; in Init() 135 drm_mgr_->GetDppsMgrIntf()->CommitDppsFeatures(drm_atomic_req_, token_); in Perform() 138 drm_mgr_->GetPanelFeatureMgrIntf()->CommitPanelFeatures(drm_atomic_req_, token_); in Perform() 172 auto crtc = drm_mgr_->GetCrtcMgr()->GetObject(token_.crtc_id); in Validate() 174 DRM_LOGE("Invalid crtc %d", token_.crtc_id); in Validate() 178 drm_mgr_->GetPlaneMgr()->UnsetUnusedResources(token_.crtc_id, false /*is_commit*/, in Validate() 186 drm_mgr_->GetPlaneMgr()->PostValidate(token_.crtc_id); in Validate() 193 auto crtc = drm_mgr_->GetCrtcMgr()->GetObject(token_.crtc_id); in Commit() 195 DRM_LOGE("Invalid crtc %d", token_.crtc_id); in Commit() 202 drm_mgr_->GetPlaneMgr()->RetainPlanes(token_.crtc_id); in Commit() [all …]
|
D | drm_atomic_req.h | 59 DRMDisplayToken token_ = {}; variable
|
/hardware/qcom/sm8150/display/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 460 if (drm_mgr_intf_->RegisterDisplay(disp_type_, &token_)) { in Init() 464 } else if (drm_mgr_intf_->RegisterDisplay(display_id_, &token_)) { in Init() 469 if (token_.conn_id > INT32_MAX) { in Init() 470 DLOGE("Connector id %u beyond supported range", token_.conn_id); in Init() 471 drm_mgr_intf_->UnregisterDisplay(&token_); in Init() 475 display_id_ = static_cast<int32_t>(token_.conn_id); in Init() 477 ret = drm_mgr_intf_->CreateAtomicReq(token_, &drm_atomic_intf_); in Init() 479 DLOGE("Failed creating atomic request for connector id %u. Error: %d.", token_.conn_id, ret); in Init() 480 drm_mgr_intf_->UnregisterDisplay(&token_); in Init() 484 ret = drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init() [all …]
|
D | hw_virtual_drm.cpp | 63 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_FB_ID, token_.conn_id, fb_id); in ConfigureWbConnectorFbId() 73 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_RECT, token_.conn_id, dst); in ConfigureWbConnectorDestRect() 79 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_FB_SECURE_MODE, token_.conn_id, secure_mode); in ConfigureWbConnectorSecureMode() 107 wb_cfg.connector_id = token_.conn_id; in SetWbConfigs() 139 DLOGE("Atomic commit failed for crtc_id %d conn_id %d", token_.crtc_id, token_.conn_id); in Commit() 188 ret = drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in SetDisplayAttributes() 190 DLOGE("Failed getting info for connector id %u. Error: %d.", token_.conn_id, ret); in SetDisplayAttributes() 253 *out_port = token_.hw_port; in GetDisplayIdentificationData()
|
D | hw_events_drm.cpp | 221 static_cast<const HWDeviceDRM *>(hw_intf)->GetDRMDisplayToken(&token_); in Init() 225 token_.crtc_id, token_.conn_id); in Init() 412 uint32_t high_crtc = token_.crtc_index << DRM_VBLANK_HIGH_CRTC_SHIFT; in RegisterVSync() 437 req.object_id = token_.conn_id; in RegisterPanelDead() 462 req.object_id = token_.crtc_id; in RegisterHistogram() 488 req.object_id = token_.crtc_id; in RegisterIdleNotify() 514 req.object_id = token_.crtc_id; in RegisterIdlePowerCollapse() 540 req.object_id = token_.conn_id; in RegisterHwRecovery()
|
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() 277 obj_id = token_.conn_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()
|
D | hw_tv_drm.cpp | 199 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 0); in PowerOff() 308 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_HDR_METADATA, token_.conn_id, &hdr_metadata_); in UpdateHDRMetaData() 317 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_HDR_METADATA, token_.conn_id, &hdr_metadata_); in UpdateHDRMetaData() 335 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_HDR_METADATA, token_.conn_id, in UpdateHDRMetaData()
|
D | hw_events_drm.h | 108 sde_drm::DRMDisplayToken token_ = {}; variable
|
D | hw_peripheral_drm.h | 83 drm_atomic_intf_->Perform(sde_drm::DRMOps::CRTC_SET_IDLE_PC_STATE, token_.crtc_id, in SetIdlePCState()
|
D | hw_device_drm.h | 212 sde_drm::DRMDisplayToken token_ = {}; variable
|
/hardware/qcom/sm7250/display/sdm/libs/core/drm/ |
D | hw_virtual_drm.cpp | 63 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_FB_ID, token_.conn_id, fb_id); in ConfigureWbConnectorFbId() 73 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_RECT, token_.conn_id, dst); in ConfigureWbConnectorDestRect() 79 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_FB_SECURE_MODE, token_.conn_id, secure_mode); in ConfigureWbConnectorSecureMode() 113 wb_cfg.connector_id = token_.conn_id; in SetWbConfigs() 149 DLOGE("Atomic commit failed for crtc_id %d conn_id %d", token_.crtc_id, token_.conn_id); in Commit() 196 ret = drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in SetDisplayAttributes() 198 DLOGE("Failed getting info for connector id %u. Error: %d.", token_.conn_id, ret); in SetDisplayAttributes() 261 *out_port = token_.hw_port; in GetDisplayIdentificationData()
|
D | hw_device_drm.cpp | 498 if (drm_mgr_intf_->RegisterDisplay(disp_type_, &token_)) { in Init() 502 } else if (drm_mgr_intf_->RegisterDisplay(display_id_, &token_)) { in Init() 507 if (token_.conn_id > INT32_MAX) { in Init() 508 DLOGE("Connector id %u beyond supported range", token_.conn_id); in Init() 509 drm_mgr_intf_->UnregisterDisplay(&token_); in Init() 513 display_id_ = static_cast<int32_t>(token_.conn_id); in Init() 515 ret = drm_mgr_intf_->CreateAtomicReq(token_, &drm_atomic_intf_); in Init() 517 DLOGE("Failed creating atomic request for connector id %u. Error: %d.", token_.conn_id, ret); in Init() 518 drm_mgr_intf_->UnregisterDisplay(&token_); in Init() 522 ret = drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init() [all …]
|
D | hw_tv_drm.cpp | 172 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_HDR_METADATA, token_.conn_id, in Deinit() 208 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 0); in PowerOff() 295 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_COLORSPACE, token_.conn_id, colorspace); in UpdateHDRMetaData() 347 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_HDR_METADATA, token_.conn_id, &hdr_metadata_); in UpdateHDRMetaData() 357 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_HDR_METADATA, token_.conn_id, &hdr_metadata_); in UpdateHDRMetaData() 367 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_HDR_METADATA, token_.conn_id, &hdr_metadata_); in UpdateHDRMetaData() 386 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_HDR_METADATA, token_.conn_id, in UpdateHDRMetaData() 446 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, token_.conn_id, token_.crtc_id); in PowerOn() 448 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, ¤t_mode); in PowerOn()
|
D | hw_peripheral_drm.cpp | 317 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_DEST_SCALER_CONFIG, token_.crtc_id, in SetDestScalarData() 378 obj_id = token_.crtc_id; in SetDppsFeature() 380 obj_id = token_.conn_id; in SetDppsFeature() 396 feature_info->obj_id = token_.crtc_id; in GetDppsFeatureInfo() 515 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, cwb_config_.token.conn_id, token_.crtc_id); in ConfigureConcurrentWriteback() 520 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_CAPTURE_MODE, token_.crtc_id, capture_mode); in ConfigureConcurrentWriteback() 579 drm_atomic_intf_->Perform(sde_drm::DRMOps::CRTC_SET_IDLE_PC_STATE, token_.crtc_id, in PowerOn() 584 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_DEST_SCALER_CONFIG, token_.crtc_id, in PowerOn() 721 token_.conn_id, drm_mode); in SetFrameTrigger() 828 token_.conn_id, sde_drm::kFeatureSvBlScale, level); in SetBLScale() [all …]
|
D | hw_events_drm.cpp | 221 static_cast<const HWDeviceDRM *>(hw_intf)->GetDRMDisplayToken(&token_); in Init() 225 token_.crtc_id, token_.conn_id); in Init() 421 uint32_t high_crtc = token_.crtc_index << DRM_VBLANK_HIGH_CRTC_SHIFT; in RegisterVSync() 446 req.object_id = token_.conn_id; in RegisterPanelDead() 471 req.object_id = token_.crtc_id; in RegisterHistogram() 497 req.object_id = token_.crtc_id; in RegisterIdleNotify() 523 req.object_id = token_.crtc_id; in RegisterIdlePowerCollapse() 549 req.object_id = token_.conn_id; in RegisterHwRecovery()
|
D | hw_events_drm.h | 108 sde_drm::DRMDisplayToken token_ = {}; variable
|
D | hw_peripheral_drm.h | 127 drm_atomic_intf_->Perform(sde_drm::DRMOps::CRTC_SET_IDLE_PC_STATE, token_.crtc_id, in SetIdlePCState()
|
D | hw_device_drm.h | 264 sde_drm::DRMDisplayToken token_ = {}; variable
|
/hardware/qcom/display/msm8998/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 97 if (drm_mgr_intf_->RegisterDisplay(DRMDisplayType::PERIPHERAL, &token_)) { in Init() 102 drm_mgr_intf_->CreateAtomicReq(token_, &drm_atomic_intf_); in Init() 103 drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init() 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() 119 drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init() 120 DLOGI("Setup CRTC %d, Connector %d for %s", token_.crtc_id, token_.conn_id, device_name_); in Init() 134 drm_mgr_intf_->UnregisterDisplay(token_); in Deinit() 430 drm_atomic_intf_->Perform(DRMOps::PLANE_SET_CRTC, pipe_id, token_.crtc_id); in SetupAtomic() [all …]
|
D | hw_device_drm.h | 131 sde_drm::DRMDisplayToken token_ = {}; variable
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 314 if (drm_mgr_intf_->RegisterDisplay(DRMDisplayType::PERIPHERAL, &token_)) { in Init() 319 drm_mgr_intf_->CreateAtomicReq(token_, &drm_atomic_intf_); in Init() 320 drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init() 322 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, ¤t_mode_); in Init() 324 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_OUTPUT_FENCE_OFFSET, token_.crtc_id, 1); in Init() 330 DLOGE("Setting up CRTC %d, Connector %d for %s failed", token_.crtc_id, token_.conn_id, in Init() 336 drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init() 337 DLOGI("Setup CRTC %d, Connector %d for %s", token_.crtc_id, token_.conn_id, device_name_); in Init() 358 drm_mgr_intf_->UnregisterDisplay(token_); in Deinit() 645 drm_atomic_intf_->Perform(DRMOps::PLANE_SET_CRTC, pipe_id, token_.crtc_id); in SetupAtomic() [all …]
|
D | hw_device_drm.h | 157 sde_drm::DRMDisplayToken token_ = {}; variable
|
/hardware/qcom/display/msm8909/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 319 if (drm_mgr_intf_->RegisterDisplay(DRMDisplayType::PERIPHERAL, &token_)) { in Init() 324 drm_mgr_intf_->CreateAtomicReq(token_, &drm_atomic_intf_); in Init() 325 drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init() 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() 341 drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init() 342 DLOGI("Setup CRTC %d, Connector %d for %s", token_.crtc_id, token_.conn_id, device_name_); in Init() 363 drm_mgr_intf_->UnregisterDisplay(token_); in Deinit() 650 drm_atomic_intf_->Perform(DRMOps::PLANE_SET_CRTC, pipe_id, token_.crtc_id); in SetupAtomic() [all …]
|
D | hw_device_drm.h | 155 sde_drm::DRMDisplayToken token_ = {}; variable
|