Home
last modified time | relevance | path

Searched refs:token_ (Results 1 – 25 of 30) sorted by relevance

12

/hardware/qcom/sm7250/display/sde-drm/
Ddrm_atomic_req.cpp55 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 …]
Ddrm_atomic_req.h59 DRMDisplayToken token_ = {}; variable
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_device_drm.cpp460 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 …]
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()
253 *out_port = token_.hw_port; in GetDisplayIdentificationData()
Dhw_events_drm.cpp221 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()
Dhw_peripheral_drm.cpp225 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()
Dhw_tv_drm.cpp199 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()
Dhw_events_drm.h108 sde_drm::DRMDisplayToken token_ = {}; variable
Dhw_peripheral_drm.h83 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/
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()
261 *out_port = token_.hw_port; in GetDisplayIdentificationData()
Dhw_device_drm.cpp462 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 …]
Dhw_tv_drm.cpp172 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, &current_mode); in PowerOn()
Dhw_peripheral_drm.cpp278 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()
Dhw_events_drm.cpp221 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()
Dhw_events_drm.h108 sde_drm::DRMDisplayToken token_ = {}; variable
Dhw_peripheral_drm.h87 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/
Dhw_device_drm.cpp392 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 …]
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_events_drm.cpp182 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()
Dhw_peripheral_drm.cpp139 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()
Dhw_peripheral_drm.h62 drm_atomic_intf_->Perform(sde_drm::DRMOps::CRTC_SET_IDLE_PC_STATE, token_.crtc_id, in SetIdlePCState()
Dhw_events_drm.h101 sde_drm::DRMDisplayToken token_ = {}; variable
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/display/msm8998/sdm/libs/core/drm/
Dhw_device_drm.cpp97 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, &current_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/
Dhw_device_drm.cpp319 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, &current_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 …]

12