Home
last modified time | relevance | path

Searched refs:conn_id (Results 1 – 25 of 32) sorted by relevance

12

/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp63 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()
Dhw_peripheral_drm.cpp277 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()
Dhw_device_drm.cpp469 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 …]
Dhw_tv_drm.cpp308 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()
Dhw_events_drm.cpp225 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/
Dhw_virtual_drm.cpp63 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()
Dhw_peripheral_drm.cpp341 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()
Dhw_tv_drm.cpp172 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()
Dhw_device_drm.cpp471 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/
Dhw_virtual_drm.cpp62 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()
Dhw_peripheral_drm.cpp170 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()
Dhw_device_drm.cpp398 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 …]
Dhw_tv_drm.cpp246 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/
Ddrm_connector.cpp339 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 …]
Ddrm_connector.h92 int Reserve(uint32_t conn_id, DRMDisplayToken *token);
95 int GetConnectorInfo(uint32_t conn_id, DRMConnectorInfo *info);
Ddrm_manager.cpp140 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()
Ddrm_manager.h56 virtual int GetConnectorInfo(uint32_t conn_id, DRMConnectorInfo *info);
/hardware/qcom/display/msm8998/libdrmutils/
Ddrm_interface.h267 uint32_t conn_id; member
364 virtual void GetConnectorInfo(uint32_t conn_id, DRMConnectorInfo *info) = 0;
/hardware/qcom/display/msm8909/libdrmutils/
Ddrm_interface.h292 uint32_t conn_id; member
398 virtual void GetConnectorInfo(uint32_t conn_id, DRMConnectorInfo *info) = 0;
/hardware/qcom/display/msm8909w_3100/libdrmutils/
Ddrm_interface.h292 uint32_t conn_id; member
398 virtual void GetConnectorInfo(uint32_t conn_id, DRMConnectorInfo *info) = 0;
/hardware/qcom/sdm845/display/libdrmutils/
Ddrm_interface.h538 uint32_t conn_id; member
699 virtual void GetConnectorInfo(uint32_t conn_id, DRMConnectorInfo *info) = 0;
/hardware/qcom/display/msm8998/sdm/libs/core/drm/
Dhw_device_drm.cpp103 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/
Ddrm_interface.h646 uint32_t conn_id; member
888 virtual int GetConnectorInfo(uint32_t conn_id, DRMConnectorInfo *info) = 0;
/hardware/qcom/display/msm8909/sdm/libs/core/drm/
Dhw_device_drm.cpp325 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/
Ddrm_interface.h669 uint32_t conn_id; member
966 virtual int GetConnectorInfo(uint32_t conn_id, DRMConnectorInfo *info) = 0;

12