/hardware/qcom/sm8150/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() 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()
|
D | hw_peripheral_drm.cpp | 277 obj_id = token_.conn_id; in SetDppsFeature() 350 cwb_config_.token.conn_id, fence); in SetupConcurrentWriteback() 354 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, cwb_config_.token.conn_id, 0); in SetupConcurrentWriteback() 384 cwb_cfg.connector_id = cwb_config_.token.conn_id; in SetupConcurrentWritebackModes() 408 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, cwb_config_.token.conn_id, token_.crtc_id); in ConfigureConcurrentWriteback() 417 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_FB_ID, cwb_config_.token.conn_id, fb_id); in ConfigureConcurrentWriteback() 422 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_FB_SECURE_MODE, cwb_config_.token.conn_id, mode); in ConfigureConcurrentWriteback() 430 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_RECT, cwb_config_.token.conn_id, dst); in ConfigureConcurrentWriteback()
|
D | hw_device_drm.cpp | 469 if (token_.conn_id > INT32_MAX) { in Init() 470 DLOGE("Connector id %u beyond supported range", token_.conn_id); in Init() 475 display_id_ = static_cast<int32_t>(token_.conn_id); in Init() 479 DLOGE("Failed creating atomic request for connector id %u. Error: %d.", token_.conn_id, ret); in Init() 484 ret = drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init() 486 DLOGE("Failed getting info for connector id %u. Error: %d.", token_.conn_id, ret); in Init() 495 token_.conn_id, connector_info_.is_connected ? "connected":"disconnected", in Init() 530 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, token_.conn_id, 0); in Deinit() 531 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_POWER_MODE, token_.conn_id, DRMPowerMode::OFF); in Deinit() 860 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, token_.conn_id, token_.crtc_id); in PowerOn() [all …]
|
D | hw_tv_drm.cpp | 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.cpp | 225 token_.crtc_id, token_.conn_id); in Init() 437 req.object_id = token_.conn_id; in RegisterPanelDead() 540 req.object_id = token_.conn_id; in RegisterHwRecovery()
|
/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()
|
D | hw_peripheral_drm.cpp | 341 obj_id = token_.conn_id; in SetDppsFeature() 415 cwb_config_.token.conn_id, release_fence_fd); in SetupConcurrentWriteback() 420 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, cwb_config_.token.conn_id, 0); in SetupConcurrentWriteback() 452 cwb_cfg.connector_id = cwb_config_.token.conn_id; in SetupConcurrentWritebackModes() 476 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, cwb_config_.token.conn_id, token_.crtc_id); in ConfigureConcurrentWriteback() 485 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_FB_ID, cwb_config_.token.conn_id, fb_id); in ConfigureConcurrentWriteback() 490 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_FB_SECURE_MODE, cwb_config_.token.conn_id, mode); in ConfigureConcurrentWriteback() 498 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_RECT, cwb_config_.token.conn_id, dst); in ConfigureConcurrentWriteback() 678 token_.conn_id, drm_mode); in SetFrameTrigger() 785 token_.conn_id, sde_drm::kFeatureSvBlScale, level); in SetBLScale()
|
D | hw_tv_drm.cpp | 172 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_HDR_METADATA, token_.conn_id, in Deinit() 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()
|
D | hw_device_drm.cpp | 471 if (token_.conn_id > INT32_MAX) { in Init() 472 DLOGE("Connector id %u beyond supported range", token_.conn_id); in Init() 477 display_id_ = static_cast<int32_t>(token_.conn_id); in Init() 481 DLOGE("Failed creating atomic request for connector id %u. Error: %d.", token_.conn_id, ret); in Init() 486 ret = drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init() 488 DLOGE("Failed getting info for connector id %u. Error: %d.", token_.conn_id, ret); in Init() 497 token_.conn_id, connector_info_.is_connected ? "connected":"disconnected", in Init() 536 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, token_.conn_id, 0); in Deinit() 537 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_POWER_MODE, token_.conn_id, DRMPowerMode::OFF); in Deinit() 978 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_POWER_MODE, token_.conn_id, DRMPowerMode::ON); in PowerOn() [all …]
|
/hardware/qcom/sdm845/display/sdm/libs/core/drm/ |
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_peripheral_drm.cpp | 170 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, cwb_config_.token.conn_id, 0); in SetupConcurrentWriteback() 200 cwb_cfg.connector_id = cwb_config_.token.conn_id; in SetupConcurrentWritebackModes() 224 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, cwb_config_.token.conn_id, token_.crtc_id); in ConfigureConcurrentWriteback() 233 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_FB_ID, cwb_config_.token.conn_id, fb_id); in ConfigureConcurrentWriteback() 238 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_FB_SECURE_MODE, cwb_config_.token.conn_id, mode); in ConfigureConcurrentWriteback() 246 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_RECT, cwb_config_.token.conn_id, dst); in ConfigureConcurrentWriteback() 255 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_GET_RETIRE_FENCE, cwb_config_.token.conn_id, fence); in PostCommitConcurrentWriteback()
|
D | hw_device_drm.cpp | 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() 760 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_POWER_MODE, token_.conn_id, DRMPowerMode::ON); in PowerOn() 781 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_POWER_MODE, token_.conn_id, DRMPowerMode::OFF); in PowerOff() 786 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, cwb_config_.token.conn_id, 0); in PowerOff() 802 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_POWER_MODE, token_.conn_id, DRMPowerMode::DOZE); in Doze() 817 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_POWER_MODE, token_.conn_id, in DozeSuspend() 874 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_ROI, token_.conn_id, in SetupAtomic() 1000 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, token_.conn_id, token_.crtc_id); in SetupAtomic() [all …]
|
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/sm7250/display/sde-drm/ |
D | drm_connector.cpp | 339 int DRMConnectorManager::GetConnectorInfo(uint32_t conn_id, DRMConnectorInfo *info) { in GetConnectorInfo() argument 342 auto iter = connector_pool_.find(conn_id); in GetConnectorInfo() 345 ret = connector_pool_[conn_id]->GetInfo(info); in GetConnectorInfo() 372 token->conn_id = 0; in Reserve() 383 if (token->conn_id) { in Reserve() 384 connector_pool_[token->conn_id]->Unlock(); in Reserve() 387 token->conn_id = conn.first; in Reserve() 392 if (token->conn_id) { in Reserve() 397 token->conn_id = conn.first; in Reserve() 407 int DRMConnectorManager::Reserve(uint32_t conn_id, DRMDisplayToken *token) { in Reserve() argument [all …]
|
D | drm_connector.h | 92 int Reserve(uint32_t conn_id, DRMDisplayToken *token); 95 int GetConnectorInfo(uint32_t conn_id, DRMConnectorInfo *info);
|
D | drm_manager.cpp | 140 int DRMManager::GetConnectorInfo(uint32_t conn_id, DRMConnectorInfo *info) { in GetConnectorInfo() argument 142 return conn_mgr_->GetConnectorInfo(conn_id, info); in GetConnectorInfo() 233 ret = conn_mgr_->GetPossibleEncoders(token->conn_id, &possible_encoders); in RegisterDisplay() 276 ret = conn_mgr_->GetPossibleEncoders(token->conn_id, &possible_encoders); in RegisterDisplay()
|
D | drm_manager.h | 56 virtual int GetConnectorInfo(uint32_t conn_id, DRMConnectorInfo *info);
|
/hardware/qcom/display/msm8998/libdrmutils/ |
D | drm_interface.h | 267 uint32_t conn_id; member 364 virtual void GetConnectorInfo(uint32_t conn_id, DRMConnectorInfo *info) = 0;
|
/hardware/qcom/display/msm8909/libdrmutils/ |
D | drm_interface.h | 292 uint32_t conn_id; member 398 virtual void GetConnectorInfo(uint32_t conn_id, DRMConnectorInfo *info) = 0;
|
/hardware/qcom/display/msm8909w_3100/libdrmutils/ |
D | drm_interface.h | 292 uint32_t conn_id; member 398 virtual void GetConnectorInfo(uint32_t conn_id, DRMConnectorInfo *info) = 0;
|
/hardware/qcom/sdm845/display/libdrmutils/ |
D | drm_interface.h | 538 uint32_t conn_id; member 699 virtual void GetConnectorInfo(uint32_t conn_id, DRMConnectorInfo *info) = 0;
|
/hardware/qcom/display/msm8998/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 103 drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); 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() 528 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_GET_RETIRE_FENCE, token_.conn_id, &retire_fence); in AtomicCommit()
|
/hardware/qcom/sm8150/display/libdrmutils/ |
D | drm_interface.h | 646 uint32_t conn_id; member 888 virtual int GetConnectorInfo(uint32_t conn_id, DRMConnectorInfo *info) = 0;
|
/hardware/qcom/display/msm8909/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 325 drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); 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() 767 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_GET_RETIRE_FENCE, token_.conn_id, &retire_fence); in AtomicCommit()
|
/hardware/qcom/sm7250/display/libdrmutils/ |
D | drm_interface.h | 669 uint32_t conn_id; member 966 virtual int GetConnectorInfo(uint32_t conn_id, DRMConnectorInfo *info) = 0;
|