Home
last modified time | relevance | path

Searched refs:drm_ (Results 1 – 20 of 20) sorted by relevance

/external/drm_hwcomposer/
Ddrmplane.cpp32 : drm_(drm), id_(p->plane_id), possible_crtc_mask_(p->possible_crtcs) { in DrmPlane()
38 int ret = drm_->GetPlaneProperty(*this, "type", &p); in Init()
61 ret = drm_->GetPlaneProperty(*this, "CRTC_ID", &crtc_property_); in Init()
67 ret = drm_->GetPlaneProperty(*this, "FB_ID", &fb_property_); in Init()
73 ret = drm_->GetPlaneProperty(*this, "CRTC_X", &crtc_x_property_); in Init()
79 ret = drm_->GetPlaneProperty(*this, "CRTC_Y", &crtc_y_property_); in Init()
85 ret = drm_->GetPlaneProperty(*this, "CRTC_W", &crtc_w_property_); in Init()
91 ret = drm_->GetPlaneProperty(*this, "CRTC_H", &crtc_h_property_); in Init()
97 ret = drm_->GetPlaneProperty(*this, "SRC_X", &src_x_property_); in Init()
103 ret = drm_->GetPlaneProperty(*this, "SRC_Y", &src_y_property_); in Init()
[all …]
Ddrmconnector.cpp33 : drm_(drm), in DrmConnector()
45 int ret = drm_->GetConnectorProperty(*this, "DPMS", &dpms_property_); in Init()
50 ret = drm_->GetConnectorProperty(*this, "CRTC_ID", &crtc_id_property_); in Init()
56 ret = drm_->GetConnectorProperty(*this, "WRITEBACK_PIXEL_FORMATS", in Init()
62 ret = drm_->GetConnectorProperty(*this, "WRITEBACK_FB_ID", in Init()
68 ret = drm_->GetConnectorProperty(*this, "WRITEBACK_OUT_FENCE_PTR", in Init()
115 int fd = drm_->fd(); in UpdateModes()
138 m.set_id(drm_->next_mode_id()); in UpdateModes()
Ddrmcrtc.cpp30 : drm_(drm), id_(c->crtc_id), pipe_(pipe), display_(-1), mode_(&c->mode) { in DrmCrtc()
34 int ret = drm_->GetCrtcProperty(*this, "ACTIVE", &active_property_); in Init()
40 ret = drm_->GetCrtcProperty(*this, "MODE_ID", &mode_property_); in Init()
46 ret = drm_->GetCrtcProperty(*this, "OUT_FENCE_PTR", &out_fence_ptr_property_); in Init()
Ddrmeventlistener.cpp35 : Worker("drm-event-listener", HAL_PRIORITY_URGENT_DISPLAY), drm_(drm) { in DrmEventListener()
58 FD_SET(drm_->fd(), &fds_); in Init()
60 max_fd_ = std::max(drm_->fd(), uevent_fd_.get()); in Init()
127 if (FD_ISSET(drm_->fd(), &fds_)) { in Routine()
132 drmHandleEvent(drm_->fd(), &event_context); in Routine()
Dvsyncworker.cpp36 drm_(NULL), in VSyncWorker()
46 drm_ = drm; in Init()
95 DrmConnector *conn = drm_->GetConnectorForDisplay(display_); in SyntheticWaitVBlank()
137 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display); in Routine()
151 ret = drmWaitVBlank(drm_->fd(), &vblank); in Routine()
Dplatformdrmgeneric.cpp50 DrmGenericImporter::DrmGenericImporter(DrmDevice *drm) : drm_(drm) { in DrmGenericImporter()
110 int ret = drmPrimeFDToHandle(drm_->fd(), gr_handle->prime_fd, &gem_handle); in ImportBuffer()
128 ret = drmModeAddFB2(drm_->fd(), bo->width, bo->height, bo->format, in ImportBuffer()
140 if (drmModeRmFB(drm_->fd(), bo->fb_id)) in ReleaseBuffer()
151 int ret = drmIoctl(drm_->fd(), DRM_IOCTL_GEM_CLOSE, &gem_close); in ReleaseBuffer()
Dplatformminigbm.cpp49 : DrmGenericImporter(drm), drm_(drm) { in DrmMinigbmImporter()
76 int ret = drmPrimeFDToHandle(drm_->fd(), gr_handle->fds[0], &gem_handle); in ImportBuffer()
93 ret = drmModeAddFB2(drm_->fd(), bo->width, bo->height, bo->format, in ImportBuffer()
Dplatformhisi.cpp52 : DrmGenericImporter(drm), drm_(drm) { in HisiImporter()
139 int ret = drmPrimeFDToHandle(drm_->fd(), hnd->share_fd, &gem_handle); in ImportBuffer()
188 ret = drmModeAddFB2WithModifiers(drm_->fd(), bo->width, bo->height, in ImportBuffer()
Ddrmhwctwo.cpp182 drm_(drm), in HwcDisplay()
195 planner_ = Planner::CreateInstance(drm_); in Init()
220 crtc_ = drm_->GetCrtcForDisplay(display); in Init()
226 connector_ = drm_->GetConnectorForDisplay(display); in Init()
232 ret = vsync_worker_.Init(drm_, display); in Init()
313 std::pair<uint32_t, uint32_t> min = drm_->min_resolution(); in GetClientTargetSupport()
314 std::pair<uint32_t, uint32_t> max = drm_->max_resolution(); in GetClientTargetSupport()
557 composition->Init(drm_, crtc_, importer_.get(), planner_.get(), frame_no_); in CreateComposition()
634 composition->Init(drm_, crtc_, importer_.get(), planner_.get(), frame_no_); in SetActiveConfig()
714 composition->Init(drm_, crtc_, importer_.get(), planner_.get(), frame_no_); in SetPowerMode()
[all …]
Dplatformminigbm.h38 DrmDevice *drm_;
Ddrmhwctwo.h195 DrmDevice *drm_; variable
221 : hwc2_(hwc2), drm_(drm) { in DrmHotplugHandler()
227 DrmDevice *drm_; variable
Dplatformhisi.h46 DrmDevice *drm_; variable
Dplatformdrmgeneric.h42 DrmDevice *drm_;
Ddrmeventlistener.h60 DrmDevice *drm_; variable
Ddrmcrtc.h51 DrmDevice *drm_;
Dvsyncworker.h55 DrmDevice *drm_; variable
Ddrmplane.h62 DrmDevice *drm_;
Ddrmconnector.h82 DrmDevice *drm_;
Ddrmdisplaycomposition.h179 DrmDevice *drm_ = NULL; variable
Ddrmdisplaycomposition.cpp43 drm_ = drm; in Init()