Home
last modified time | relevance | path

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

/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_device_drm.cpp437 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 …]
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()
251 *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()
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()
Dhw_peripheral_drm.cpp203 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()
Dhw_tv_drm.cpp195 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()
Dhw_events_drm.h107 sde_drm::DRMDisplayToken token_ = {}; variable
Dhw_peripheral_drm.h73 drm_atomic_intf_->Perform(sde_drm::DRMOps::CRTC_SET_IDLE_PC_STATE, token_.crtc_id, in SetIdlePCState()
Dhw_device_drm.h208 sde_drm::DRMDisplayToken token_ = {}; variable
/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_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()
Dhw_events_drm.h101 sde_drm::DRMDisplayToken token_ = {}; variable
Dhw_device_drm.h185 sde_drm::DRMDisplayToken token_ = {}; variable
/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 …]
Dhw_device_drm.h131 sde_drm::DRMDisplayToken token_ = {}; variable
/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 …]
Dhw_device_drm.h155 sde_drm::DRMDisplayToken token_ = {}; variable
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/
Dhw_device_drm.cpp314 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, &current_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 …]
Dhw_device_drm.h157 sde_drm::DRMDisplayToken token_ = {}; variable