Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libhwc2.1/libdrmresource/drm/
Ddrmdevice.cpp100 std::unique_ptr<DrmCrtc> crtc(new DrmCrtc(this, c, i)); in Init() local
103 ret = crtc->Init(); in Init()
108 crtcs_.emplace_back(std::move(crtc)); in Init()
122 for (auto &crtc : crtcs_) { in Init() local
123 if ((1 << crtc->pipe()) & e->possible_crtcs) in Init()
124 possible_crtcs.push_back(crtc.get()); in Init()
126 if (crtc->id() == e->crtc_id) in Init()
127 current_crtc = crtc.get(); in Init()
295 for (auto &crtc : crtcs_) { in AvailableWritebackConnector() local
296 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.cpp157 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display); in Routine() local
158 if (!crtc) { in Routine()
162 uint32_t high_crtc = (crtc->pipe() << DRM_VBLANK_HIGH_CRTC_SHIFT); in Routine()
Ddrmplane.cpp214 bool DrmPlane::GetCrtcSupported(const DrmCrtc &crtc) const { in GetCrtcSupported()
215 return !!((1 << crtc.pipe()) & possible_crtc_mask_); in GetCrtcSupported()
/hardware/qcom/sm7250/display/sde-drm/
Ddrm_atomic_req.cpp144 int DRMAtomicReq::CallAtomic(DRMCrtc *crtc, uint32_t flags) in CallAtomic() argument
151 cnt = crtc->ApplyDirtyProperties(drm_atomic_req_); in CallAtomic()
158 crtc->ClearProperties(); in CallAtomic()
169 auto crtc = drm_mgr_->GetCrtcMgr()->GetObject(token_.crtc_id); in Validate() local
170 if (crtc == nullptr) { in Validate()
177 int ret = CallAtomic(crtc, DRM_MODE_ATOMIC_ALLOW_MODESET | DRM_MODE_ATOMIC_TEST_ONLY); in Validate()
179 crtc->PostValidate(); in Validate()
182 crtc->DiscardDirtyProperties(); in Validate()
190 auto crtc = drm_mgr_->GetCrtcMgr()->GetObject(token_.crtc_id); in Commit() local
191 if (crtc == nullptr) { in Commit()
[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_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/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/qcom/sdm845/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/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/google/gchips/gralloc3/src/
Dgralloc_vsync_default.cpp64 int crtc = 0; in gralloc_wait_for_vsync() local
67 if (ioctl(m->framebuffer->fb_fd, FBIO_WAITFORVSYNC, &crtc) < 0) in gralloc_wait_for_vsync()
/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.h72 crtc(NULL), in KMSDisplay()
77 kms::Crtc* crtc; variable
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()
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()