/hardware/qcom/sm8150/display/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 437 if (drm_mgr_intf_->RegisterDisplay(disp_type_, &token_)) { in Init() 441 } else if (drm_mgr_intf_->RegisterDisplay(display_id_, &token_)) { in Init() 446 if (token_.conn_id > INT32_MAX) { in Init() 447 DLOGE("Connector id %u beyond supported range", token_.conn_id); in Init() 448 drm_mgr_intf_->UnregisterDisplay(&token_); in Init() 452 display_id_ = static_cast<int32_t>(token_.conn_id); in Init() 454 ret = drm_mgr_intf_->CreateAtomicReq(token_, &drm_atomic_intf_); in Init() 456 DLOGE("Failed creating atomic request for connector id %u. Error: %d.", token_.conn_id, ret); in Init() 457 drm_mgr_intf_->UnregisterDisplay(&token_); in Init() 461 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() 251 *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() 407 uint32_t high_crtc = token_.crtc_index << DRM_VBLANK_HIGH_CRTC_SHIFT; in RegisterVSync() 432 req.object_id = token_.conn_id; in RegisterPanelDead() 457 req.object_id = token_.crtc_id; in RegisterHistogram() 483 req.object_id = token_.crtc_id; in RegisterIdleNotify() 509 req.object_id = token_.crtc_id; in RegisterIdlePowerCollapse() 535 req.object_id = token_.conn_id; in RegisterHwRecovery()
|
D | hw_peripheral_drm.cpp | 203 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_DEST_SCALER_CONFIG, token_.crtc_id, in SetDestScalarData() 253 obj_id = token_.crtc_id; in SetDppsFeature() 255 obj_id = token_.conn_id; in SetDppsFeature() 386 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, cwb_config_.token.conn_id, token_.crtc_id); in ConfigureConcurrentWriteback() 391 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_CAPTURE_MODE, token_.crtc_id, capture_mode); in ConfigureConcurrentWriteback() 442 drm_atomic_intf_->Perform(sde_drm::DRMOps::CRTC_SET_IDLE_PC_STATE, token_.crtc_id, in PowerOn()
|
D | hw_tv_drm.cpp | 195 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 0); in PowerOff() 304 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_HDR_METADATA, token_.conn_id, &hdr_metadata_); in UpdateHDRMetaData() 313 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_HDR_METADATA, token_.conn_id, &hdr_metadata_); in UpdateHDRMetaData() 331 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_HDR_METADATA, token_.conn_id, in UpdateHDRMetaData()
|
D | hw_events_drm.h | 107 sde_drm::DRMDisplayToken token_ = {}; variable
|
D | hw_peripheral_drm.h | 73 drm_atomic_intf_->Perform(sde_drm::DRMOps::CRTC_SET_IDLE_PC_STATE, token_.crtc_id, in SetIdlePCState()
|
D | hw_device_drm.h | 208 sde_drm::DRMDisplayToken token_ = {}; variable
|
/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_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()
|
D | hw_events_drm.h | 101 sde_drm::DRMDisplayToken token_ = {}; variable
|
D | hw_device_drm.h | 185 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/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
|
/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
|