Home
last modified time | relevance | path

Searched refs:crtc (Results 1 – 25 of 27) sorted by relevance

12

/hardware/google/graphics/common/libhwc2.1/libdrmresource/drm/
Ddrmdevice.cpp96 std::unique_ptr<DrmCrtc> crtc(new DrmCrtc(this, c, i)); in Init() local
99 ret = crtc->Init(); in Init()
104 crtcs_.emplace_back(std::move(crtc)); in Init()
118 for (auto &crtc : crtcs_) { in Init() local
119 if ((1 << crtc->pipe()) & e->possible_crtcs) in Init()
120 possible_crtcs.push_back(crtc.get()); in Init()
122 if (crtc->id() == e->crtc_id) in Init()
123 current_crtc = crtc.get(); in Init()
282 for (auto &crtc : crtcs_) { in AvailableWritebackConnector() local
283 if (crtc->has_display(display)) in AvailableWritebackConnector()
[all …]
Ddrmencoder.cpp38 DrmCrtc *DrmEncoder::crtc() const { in crtc() function in android::DrmEncoder
50 void DrmEncoder::set_crtc(DrmCrtc *crtc, int display) { in set_crtc() argument
51 crtc_ = crtc; in set_crtc()
Dvsyncworker.cpp165 DrmCrtc *crtc = mDrmDevice->GetCrtcForDisplay(display); in Routine() local
166 if (!crtc) { in Routine()
170 uint32_t highCrtc = (crtc->pipe() << DRM_VBLANK_HIGH_CRTC_SHIFT); in Routine()
Ddrmplane.cpp217 bool DrmPlane::GetCrtcSupported(const DrmCrtc &crtc) const { in GetCrtcSupported()
218 return !!((1 << crtc.pipe()) & possible_crtc_mask_); in GetCrtcSupported()
/hardware/qcom/sm7250/display/sde-drm/
Ddrm_atomic_req.cpp147 int DRMAtomicReq::CallAtomic(DRMCrtc *crtc, uint32_t flags) in CallAtomic() argument
154 cnt = crtc->ApplyDirtyProperties(drm_atomic_req_); in CallAtomic()
161 crtc->ClearProperties(); in CallAtomic()
172 auto crtc = drm_mgr_->GetCrtcMgr()->GetObject(token_.crtc_id); in Validate() local
173 if (crtc == nullptr) { in Validate()
180 int ret = CallAtomic(crtc, DRM_MODE_ATOMIC_ALLOW_MODESET | DRM_MODE_ATOMIC_TEST_ONLY); in Validate()
182 crtc->PostValidate(); in Validate()
185 crtc->DiscardDirtyProperties(); in Validate()
193 auto crtc = drm_mgr_->GetCrtcMgr()->GetObject(token_.crtc_id); in Commit() local
194 if (crtc == nullptr) { in Commit()
[all …]
Ddrm_crtc.cpp122 unique_ptr<DRMCrtc> crtc(new DRMCrtc(fd_, i)); in Init() local
125 crtc->InitAndParse(libdrm_crtc); in Init()
126 object_pool_[resource->crtcs[i]] = std::move(crtc); in Init()
136 auto crtc = GetObject(obj_id); in Perform() local
137 if (crtc == nullptr) { in Perform()
143 if (crtc->ConfigureScalerLUT(dir_lut_blob_id_, cir_lut_blob_id_, in Perform()
149 crtc->Perform(code, req, args); in Perform()
193 auto crtc = GetObject(crtc_id); in GetCrtcInfo() local
194 if (crtc == nullptr) { in GetCrtcInfo()
198 crtc->GetInfo(info); in GetCrtcInfo()
[all …]
Ddrm_dpps_mgr_imp.cpp66 drmModeCrtc *crtc = NULL; in GetDrmResources() local
111 crtc = drmModeGetCrtc(drm_fd_, res->crtcs[i]); in GetDrmResources()
112 if (crtc) { in GetDrmResources()
113 DRM_LOGI("Found crtc %d", crtc->crtc_id); in GetDrmResources()
114 crtc_id_ = crtc->crtc_id; in GetDrmResources()
117 drmModeFreeCrtc(crtc); in GetDrmResources()
118 crtc = NULL; in GetDrmResources()
121 if (crtc_id_ < 0 || !crtc) { in GetDrmResources()
Ddrm_panel_feature_mgr.cpp67 drmModeCrtc *crtc = drmModeGetCrtc(dev_fd_, res->crtcs[i]); in Init() local
68 if (crtc) { in Init()
69 int err = InitObjectProps(crtc->crtc_id, DRM_MODE_OBJECT_CRTC); in Init()
71 DRM_LOGE("Failed to get crtc props %d", crtc->crtc_id); in Init()
73 drmModeFreeCrtc(crtc); in Init()
Ddrm_atomic_req.h54 int CallAtomic(DRMCrtc *crtc, uint32_t flags);
Ddrm_crtc.h53 void InitAndParse(drmModeCrtc *crtc);
Ddrm_connector.cpp809 uint32_t crtc = va_arg(args, uint32_t); in Perform() local
810 drmModeAtomicAddProperty(req, obj_id, prop_mgr_.GetPropertyId(DRMProperty::CRTC_ID), crtc); in Perform()
811 DRM_LOGD("Connector %d: Setting CRTC %d", obj_id, crtc); in Perform()
/hardware/qcom/sm8150/display/libdrmutils/
Ddrm_res_mgr.cpp72 static bool GetCrtc(int dev_fd, drmModeRes *res, drmModeEncoder *enc, drmModeCrtc **crtc) { in GetCrtc() argument
77 *crtc = c; in GetCrtc()
134 drmModeCrtc *crtc = nullptr; in Init() local
135 if (!GetCrtc(dev_fd, res, enc, &crtc)) { in Init()
146 crtc_ = crtc; in Init()
/hardware/qcom/display/msm8998/libdrmutils/
Ddrm_res_mgr.cpp72 static bool GetCrtc(int dev_fd, drmModeRes *res, drmModeEncoder *enc, drmModeCrtc **crtc) { in GetCrtc() argument
77 *crtc = c; in GetCrtc()
134 drmModeCrtc *crtc = nullptr; in Init() local
135 if (!GetCrtc(dev_fd, res, enc, &crtc)) { in Init()
146 crtc_ = crtc; in Init()
/hardware/qcom/display/msm8909/libdrmutils/
Ddrm_res_mgr.cpp72 static bool GetCrtc(int dev_fd, drmModeRes *res, drmModeEncoder *enc, drmModeCrtc **crtc) { in GetCrtc() argument
77 *crtc = c; in GetCrtc()
134 drmModeCrtc *crtc = nullptr; in Init() local
135 if (!GetCrtc(dev_fd, res, enc, &crtc)) { in Init()
146 crtc_ = crtc; in Init()
/hardware/qcom/sm7250/display/libdrmutils/
Ddrm_res_mgr.cpp72 static bool GetCrtc(int dev_fd, drmModeRes *res, drmModeEncoder *enc, drmModeCrtc **crtc) { in GetCrtc() argument
77 *crtc = c; in GetCrtc()
134 drmModeCrtc *crtc = nullptr; in Init() local
135 if (!GetCrtc(dev_fd, res, enc, &crtc)) { in Init()
146 crtc_ = crtc; in Init()
/hardware/qcom/display/msm8909w_3100/libdrmutils/
Ddrm_res_mgr.cpp72 static bool GetCrtc(int dev_fd, drmModeRes *res, drmModeEncoder *enc, drmModeCrtc **crtc) { in GetCrtc() argument
77 *crtc = c; in GetCrtc()
134 drmModeCrtc *crtc = nullptr; in Init() local
135 if (!GetCrtc(dev_fd, res, enc, &crtc)) { in Init()
146 crtc_ = crtc; in Init()
/hardware/google/graphics/common/libhwc2.1/libdrmresource/include/
Ddrmencoder.h38 DrmCrtc *crtc() const;
39 void set_crtc(DrmCrtc *crtc, int display);
Ddrmdevice.h68 int GetCrtcProperty(const DrmCrtc &crtc, const char *prop_name,
72 int UpdateCrtcProperty(const DrmCrtc &crtc, DrmProperty *property);
Ddrmplane.h41 bool GetCrtcSupported(const DrmCrtc &crtc) const;
/hardware/ti/am57x/libhwcomposer/
Ddisplay.cpp48 …if (std::find(possible_crtcs.begin(), possible_crtcs.end(), kdisp->crtc) != possible_crtcs.end()) { in setup_composition_pipes()
171 planeProp->crtc_id = kdisp->crtc->id(); in update_display()
200 ALOGI("Linking connector %d to crtc %d", kdisp->con->id(), kdisp->crtc->id()); in blank()
202 int ret = kdisp->crtc->set_mode(kdisp->con, kdisp->mode); in blank()
Ddisplay.h72 crtc(NULL), in KMSDisplay()
77 kms::Crtc* crtc; variable
Dhwc.cpp194 display->disp_link.crtc = connector->get_current_crtc(); in init_primary_display()
196 if (!display->disp_link.crtc) in init_primary_display()
197 display->disp_link.crtc = connector->get_possible_crtcs()[0]; in init_primary_display()
240 display->disp_link.crtc = connector->get_current_crtc(); in add_external_hdmi_display()
242 if (!display->disp_link.crtc) in add_external_hdmi_display()
243 display->disp_link.crtc = connector->get_possible_crtcs()[0]; in add_external_hdmi_display()
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/
Dwsi_common_display.c1570 drmModeCrtcPtr crtc = drmModeGetCrtc(wsi->fd, mode_res->crtcs[c]); in wsi_display_select_crtc() local
1571 if (crtc && crtc->buffer_id == 0) in wsi_display_select_crtc()
1572 crtc_id = crtc->crtc_id; in wsi_display_select_crtc()
1573 drmModeFreeCrtc(crtc); in wsi_display_select_crtc()
2824 xcb_randr_crtc_t crtc = wsi_display_find_crtc_for_output(connection, in wsi_AcquireXlibDisplayEXT() local
2828 if (!crtc) in wsi_AcquireXlibDisplayEXT()
2835 &crtc, &connector->output); in wsi_AcquireXlibDisplayEXT()
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDeviceDrmInterface.cpp251 DrmProperty crtc; in handleHistogramEvent() local
/hardware/google/gfxstream/guest/mesa/include/drm-uapi/
Ddrm.h520 __u32 crtc; member

12