/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() 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() [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()
|
/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 | 462 if (drm_mgr_intf_->RegisterDisplay(disp_type_, &token_)) { in Init() 466 } else if (drm_mgr_intf_->RegisterDisplay(display_id_, &token_)) { in Init() 471 if (token_.conn_id > INT32_MAX) { in Init() 472 DLOGE("Connector id %u beyond supported range", token_.conn_id); in Init() 473 drm_mgr_intf_->UnregisterDisplay(&token_); in Init() 477 display_id_ = static_cast<int32_t>(token_.conn_id); in Init() 479 ret = drm_mgr_intf_->CreateAtomicReq(token_, &drm_atomic_intf_); in Init() 481 DLOGE("Failed creating atomic request for connector id %u. Error: %d.", token_.conn_id, ret); in Init() 482 drm_mgr_intf_->UnregisterDisplay(&token_); in Init() 486 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 | 278 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_DEST_SCALER_CONFIG, token_.crtc_id, in SetDestScalarData() 339 obj_id = token_.crtc_id; in SetDppsFeature() 341 obj_id = token_.conn_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() 678 token_.conn_id, drm_mode); in SetFrameTrigger() 785 token_.conn_id, sde_drm::kFeatureSvBlScale, level); in SetBLScale()
|
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 | 87 drm_atomic_intf_->Perform(sde_drm::DRMOps::CRTC_SET_IDLE_PC_STATE, token_.crtc_id, in SetIdlePCState()
|
/hardware/qcom/sdm845/display/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 392 if (drm_mgr_intf_->RegisterDisplay(disp_type_, &token_)) { in Init() 397 drm_mgr_intf_->CreateAtomicReq(token_, &drm_atomic_intf_); in Init() 398 drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init() 415 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, token_.conn_id, 0); in Deinit() 416 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_POWER_MODE, token_.conn_id, DRMPowerMode::OFF); in Deinit() 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() 430 drm_mgr_intf_->UnregisterDisplay(token_); in Deinit() 759 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 1); in PowerOn() 760 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_POWER_MODE, token_.conn_id, DRMPowerMode::ON); in PowerOn() [all …]
|
D | hw_virtual_drm.cpp | 62 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_FB_ID, token_.conn_id, fb_id); in ConfigureWbConnectorFbId() 72 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_RECT, token_.conn_id, dst); in ConfigureWbConnectorDestRect() 78 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_FB_SECURE_MODE, token_.conn_id, secure_mode); in ConfigureWbConnectorSecureMode() 106 wb_cfg.connector_id = token_.conn_id; in SetWbConfigs() 138 DLOGE("Atomic commit failed for crtc_id %d conn_id %d", token_.crtc_id, token_.conn_id); in Commit() 173 drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in SetDisplayAttributes()
|
D | hw_events_drm.cpp | 182 static_cast<const HWDeviceDRM *>(hw_intf)->GetDRMDisplayToken(&token_); in Init() 186 display_type, token_.crtc_id, token_.conn_id); in Init() 346 uint32_t high_crtc = token_.crtc_index << DRM_VBLANK_HIGH_CRTC_SHIFT; in RegisterVSync() 378 req.object_id = token_.conn_id; in RegisterPanelDead() 411 req.object_id = token_.crtc_id; in RegisterIdleNotify() 444 req.object_id = token_.crtc_id; in RegisterIdlePowerCollapse()
|
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()
|
D | hw_events_drm.h | 101 sde_drm::DRMDisplayToken token_ = {}; variable
|
D | hw_tv_drm.cpp | 246 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_HDR_METADATA, token_.conn_id, &hdr_metadata_); in UpdateHDRMetaData() 255 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_HDR_METADATA, token_.conn_id, &hdr_metadata_); in UpdateHDRMetaData() 273 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_HDR_METADATA, token_.conn_id, in UpdateHDRMetaData()
|
/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 …]
|
/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 …]
|