Home
last modified time | relevance | path

Searched refs:crtc_id (Results 1 – 25 of 54) sorted by relevance

123

/hardware/qcom/sm7250/display/sde-drm/
Ddrm_plane.h102 void GetAssignedCrtc(uint32_t *crtc_id) { *crtc_id = assigned_crtc_id_; } in GetAssignedCrtc() argument
103 void GetRequestedCrtc(uint32_t *crtc_id) { *crtc_id = requested_crtc_id_; } in GetRequestedCrtc() argument
104 void SetAssignedCrtc(uint32_t crtc_id) { assigned_crtc_id_ = crtc_id; } in SetAssignedCrtc() argument
105 void SetRequestedCrtc(uint32_t crtc_id) { requested_crtc_id_ = crtc_id; } in SetRequestedCrtc() argument
117 void PostValidate(uint32_t crtc_id);
118 void PostCommit(uint32_t crtc_id, bool success);
162 void UnsetUnusedResources(uint32_t crtc_id, bool is_commit, drmModeAtomicReq *req);
163 void ResetColorLutsOnUsedPlanes(uint32_t crtc_id, bool is_commit, drmModeAtomicReq *req);
164 void RetainPlanes(uint32_t crtc_id);
167 void PostValidate(uint32_t crtc_id);
[all …]
Ddrm_atomic_req.cpp172 auto crtc = drm_mgr_->GetCrtcMgr()->GetObject(token_.crtc_id); in Validate()
174 DRM_LOGE("Invalid crtc %d", token_.crtc_id); in Validate()
178 drm_mgr_->GetPlaneMgr()->UnsetUnusedResources(token_.crtc_id, false /*is_commit*/, in Validate()
186 drm_mgr_->GetPlaneMgr()->PostValidate(token_.crtc_id); in Validate()
193 auto crtc = drm_mgr_->GetCrtcMgr()->GetObject(token_.crtc_id); in Commit()
195 DRM_LOGE("Invalid crtc %d", token_.crtc_id); in Commit()
202 drm_mgr_->GetPlaneMgr()->RetainPlanes(token_.crtc_id); in Commit()
205 drm_mgr_->GetPlaneMgr()->UnsetUnusedResources(token_.crtc_id, true /*is_commit*/, in Commit()
216 drm_mgr_->GetPlaneMgr()->PostCommit(token_.crtc_id, !ret); in Commit()
Ddrm_crtc.h52 uint32_t GetObjectId() override { return drm_crtc_->crtc_id; } in GetObjectId()
106 int GetCrtcInfo(uint32_t crtc_id, DRMCrtcInfo *info);
109 void GetPPInfo(uint32_t crtc_id, DRMPPFeatureInfo *info);
110 size_t ApplyDirtyProperties(drmModeAtomicReq *req, uint32_t crtc_id);
Ddrm_plane.cpp348 void DRMPlaneManager::UnsetUnusedResources(uint32_t crtc_id, bool is_commit, drmModeAtomicReq *req)… in UnsetUnusedResources() argument
357 if (assigned_crtc == crtc_id && requested_crtc == 0) { in UnsetUnusedResources()
359 } else if (requested_crtc == crtc_id) { in UnsetUnusedResources()
366 void DRMPlaneManager::RetainPlanes(uint32_t crtc_id) { in RetainPlanes() argument
370 if (assigned_crtc == crtc_id) { in RetainPlanes()
372 plane.second->SetRequestedCrtc(crtc_id); in RetainPlanes()
374 DRM_LOGD("Plane %d: Retaining on CRTC %d", plane_id, crtc_id); in RetainPlanes()
379 void DRMPlaneManager::PostValidate(uint32_t crtc_id) { in PostValidate() argument
382 plane.second->PostValidate(crtc_id); in PostValidate()
386 void DRMPlaneManager::PostCommit(uint32_t crtc_id, bool success) { in PostCommit() argument
[all …]
Ddrm_manager.h56 virtual int GetCrtcInfo(uint32_t crtc_id, DRMCrtcInfo *info);
61 virtual void GetCrtcPPInfo(uint32_t crtc_id, DRMPPFeatureInfo *info);
Ddrm_crtc.cpp189 int DRMCrtcManager::GetCrtcInfo(uint32_t crtc_id, DRMCrtcInfo *info) { in GetCrtcInfo() argument
190 if (crtc_id == 0) { in GetCrtcInfo()
193 auto crtc = GetObject(crtc_id); in GetCrtcInfo()
195 DRM_LOGE("Invalid crtc id %d", crtc_id); in GetCrtcInfo()
205 void DRMCrtcManager::GetPPInfo(uint32_t crtc_id, DRMPPFeatureInfo *info) { in GetPPInfo() argument
206 auto crtc = GetObject(crtc_id); in GetPPInfo()
208 DRM_LOGE("Invalid crtc id %d", crtc_id); in GetPPInfo()
221 token->crtc_id = item.first; in Reserve()
233 object_pool_.at(token->crtc_id)->Unlock(); in Free()
234 token->crtc_id = 0; in Free()
[all …]
Ddrm_manager.cpp194 int DRMManager::GetCrtcInfo(uint32_t crtc_id, DRMCrtcInfo *info) { in GetCrtcInfo() argument
196 return crtc_mgr_->GetCrtcInfo(crtc_id, info); in GetCrtcInfo()
203 void DRMManager::GetCrtcPPInfo(uint32_t crtc_id, DRMPPFeatureInfo *info) { in GetCrtcPPInfo() argument
204 crtc_mgr_->GetPPInfo(crtc_id, info); in GetCrtcPPInfo()
/hardware/google/gfxstream/guest/mesa/include/drm-uapi/
Ddrm_mode.h281 __u32 crtc_id; /**< Id */ member
298 __u32 crtc_id; member
337 __u32 crtc_id; member
379 __u32 crtc_id; /**< Id of crtc */ member
801 __u32 crtc_id; member
812 __u32 crtc_id; member
824 __u32 crtc_id; member
997 __u32 crtc_id; member
1025 __u32 crtc_id; member
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_device_drm.cpp532 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, nullptr); in Deinit()
533 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 0); in Deinit()
860 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, token_.conn_id, token_.crtc_id); in PowerOn()
862 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, &current_mode); in PowerOn()
864 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 1); in PowerOn()
867 drm_atomic_intf_->Perform(DRMOps::CRTC_GET_RELEASE_FENCE, token_.crtc_id, &release_fence_t); in PowerOn()
898 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, &current_mode); in PowerOff()
900 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 0); in PowerOff()
924 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, token_.conn_id, token_.crtc_id); in Doze()
926 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, &current_mode); in Doze()
[all …]
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()
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()
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDeviceDrmInterface.cpp248 void ExynosDeviceDrmInterface::ExynosDrmEventHandler::handleHistogramEvent(uint32_t crtc_id, in handleHistogramEvent() argument
258 if (id == crtc_id) { in handleHistogramEvent()
272 if (histogram_channel_event->crtc_id == displayInterface->getCrtcId()) { in handleHistogramChannelEvent()
277 histogram_channel_event->crtc_id); in handleHistogramChannelEvent()
284 ALOGE("%s: no display with crtc_id (%u)", __func__, histogram_channel_event->crtc_id); in handleHistogramChannelEvent()
298 if (context_histogram_event->crtc_id == displayInterface->getCrtcId()) { in handleContextHistogramEvent()
303 context_histogram_event->crtc_id); in handleContextHistogramEvent()
310 ALOGE("%s: no display with crtc_id (%u)", __func__, context_histogram_event->crtc_id); in handleContextHistogramEvent()
/hardware/qcom/display/msm8998/libdrmutils/
Ddrm_interface.h268 uint32_t crtc_id; member
358 virtual void GetCrtcInfo(uint32_t crtc_id, DRMCrtcInfo *info) = 0;
370 virtual void GetCrtcPPInfo(uint32_t crtc_id, DRMPPFeatureInfo &info) = 0;
Ddrm_res_mgr.h45 void GetCrtcId(uint32_t *id) { *id = crtc_->crtc_id; } in GetCrtcId()
/hardware/qcom/sm7250/display/sdm/libs/core/drm/
Dhw_device_drm.cpp574 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, nullptr); in Deinit()
575 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 0); in Deinit()
1017 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 1); in PowerOn()
1020 drm_atomic_intf_->Perform(DRMOps::CRTC_GET_RELEASE_FENCE, token_.crtc_id, &release_fence_fd); in PowerOn()
1060 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, &current_mode); in PowerOff()
1063 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 0); in PowerOff()
1097 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, token_.conn_id, token_.crtc_id); in Doze()
1099 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_MODE, token_.crtc_id, &current_mode); in Doze()
1101 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 1); in Doze()
1104 drm_atomic_intf_->Perform(DRMOps::CRTC_GET_RELEASE_FENCE, token_.crtc_id, &release_fence_fd); in Doze()
[all …]
Dhw_peripheral_drm.cpp317 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_DEST_SCALER_CONFIG, token_.crtc_id, in SetDestScalarData()
378 obj_id = token_.crtc_id; in SetDppsFeature()
396 feature_info->obj_id = token_.crtc_id; in GetDppsFeatureInfo()
515 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, cwb_config_.token.conn_id, token_.crtc_id); in ConfigureConcurrentWriteback()
520 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_CAPTURE_MODE, token_.crtc_id, capture_mode); in ConfigureConcurrentWriteback()
579 drm_atomic_intf_->Perform(sde_drm::DRMOps::CRTC_SET_IDLE_PC_STATE, token_.crtc_id, in PowerOn()
584 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_DEST_SCALER_CONFIG, token_.crtc_id, in PowerOn()
884 drm_feature.obj_id = token_.crtc_id; in GetPanelFeature()
915 drm_feature.obj_id = token_.crtc_id; in SetPanelFeature()
/hardware/qcom/display/msm8998/sdm/libs/core/drm/
Dhw_device_drm.cpp105 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()
120 DLOGI("Setup CRTC %d, Connector %d for %s", token_.crtc_id, token_.conn_id, device_name_); in Init()
430 drm_atomic_intf_->Perform(DRMOps::PLANE_SET_CRTC, pipe_id, token_.crtc_id); in SetupAtomic()
439 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 1); in SetupAtomic()
496 uint32_t crtc_id = 0; in DefaultCommit() local
497 res_mgr->GetCrtcId(&crtc_id); in DefaultCommit()
503 ret = drmModeSetCrtc(dev_fd, crtc_id, input_buffer.fb_id, 0 /* x */, 0 /* y */, &connector_id, in DefaultCommit()
507 input_buffer.fb_id, crtc_id, connector_id, strerror(errno)); in DefaultCommit()
[all …]
/hardware/qcom/display/msm8909w_3100/libdrmutils/
Ddrm_interface.h293 uint32_t crtc_id; member
392 virtual void GetCrtcInfo(uint32_t crtc_id, DRMCrtcInfo *info) = 0;
404 virtual void GetCrtcPPInfo(uint32_t crtc_id, DRMPPFeatureInfo &info) = 0;
Ddrm_res_mgr.h45 void GetCrtcId(uint32_t *id) { *id = crtc_->crtc_id; } in GetCrtcId()
/hardware/qcom/display/msm8909/libdrmutils/
Ddrm_interface.h293 uint32_t crtc_id; member
392 virtual void GetCrtcInfo(uint32_t crtc_id, DRMCrtcInfo *info) = 0;
404 virtual void GetCrtcPPInfo(uint32_t crtc_id, DRMPPFeatureInfo &info) = 0;
Ddrm_res_mgr.h45 void GetCrtcId(uint32_t *id) { *id = crtc_->crtc_id; } in GetCrtcId()
/hardware/qcom/display/msm8909/sdm/libs/core/drm/
Dhw_device_drm.cpp327 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()
342 DLOGI("Setup CRTC %d, Connector %d for %s", token_.crtc_id, token_.conn_id, device_name_); in Init()
650 drm_atomic_intf_->Perform(DRMOps::PLANE_SET_CRTC, pipe_id, token_.crtc_id); in SetupAtomic()
668 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 1); in SetupAtomic()
735 uint32_t crtc_id = 0; in DefaultCommit() local
736 res_mgr->GetCrtcId(&crtc_id); in DefaultCommit()
742 ret = drmModeSetCrtc(dev_fd, crtc_id, fb_id, 0 /* x */, 0 /* y */, &connector_id, in DefaultCommit()
746 fb_id, crtc_id, connector_id, strerror(errno)); in DefaultCommit()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/
Dhw_device_drm.cpp322 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()
337 DLOGI("Setup CRTC %d, Connector %d for %s", token_.crtc_id, token_.conn_id, device_name_); in Init()
645 drm_atomic_intf_->Perform(DRMOps::PLANE_SET_CRTC, pipe_id, token_.crtc_id); in SetupAtomic()
663 drm_atomic_intf_->Perform(DRMOps::CRTC_SET_ACTIVE, token_.crtc_id, 1); in SetupAtomic()
730 uint32_t crtc_id = 0; in DefaultCommit() local
731 res_mgr->GetCrtcId(&crtc_id); in DefaultCommit()
737 ret = drmModeSetCrtc(dev_fd, crtc_id, fb_id, 0 /* x */, 0 /* y */, &connector_id, in DefaultCommit()
741 fb_id, crtc_id, connector_id, strerror(errno)); in DefaultCommit()
[all …]
/hardware/qcom/sm7250/display/libdrmutils/
Ddrm_res_mgr.h45 void GetCrtcId(uint32_t *id) { *id = crtc_->crtc_id; } in GetCrtcId()
/hardware/qcom/sm8150/display/libdrmutils/
Ddrm_res_mgr.h45 void GetCrtcId(uint32_t *id) { *id = crtc_->crtc_id; } in GetCrtcId()
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/
Dwsi_common_display.c87 uint32_t crtc_id; member
1284 uint32_t crtc_id, in wsi_display_page_flip_handler2() argument
1506 uint32_t crtc_id) in wsi_display_crtc_solo() argument
1533 bool match = (other_encoder->crtc_id == crtc_id); in wsi_display_crtc_solo()
1560 uint32_t crtc_id = encoder->crtc_id; in wsi_display_select_crtc() local
1562 if (crtc_id) { in wsi_display_select_crtc()
1563 if (wsi_display_crtc_solo(wsi, mode_res, drm_connector, crtc_id)) in wsi_display_select_crtc()
1564 return crtc_id; in wsi_display_select_crtc()
1568 uint32_t crtc_id = 0; in wsi_display_select_crtc() local
1569 for (int c = 0; crtc_id == 0 && c < mode_res->count_crtcs; c++) { in wsi_display_select_crtc()
[all …]

123