/device/generic/goldfish-opengl/system/hwc3/ |
D | DrmDisplay.cpp | 34 ::android::base::borrowed_fd drmFd) { in create() argument 60 okay &= request->Commit(drmFd); in create() 72 ::android::base::borrowed_fd drmFd, ::android::base::borrowed_fd inSyncFd, in flush() argument 100 okay &= request->Commit(drmFd); in flush() 112 bool DrmDisplay::onConnect(::android::base::borrowed_fd drmFd) { in onConnect() argument 127 okay &= request->Commit(drmFd); in onConnect() 136 bool DrmDisplay::onDisconnect(::android::base::borrowed_fd drmFd) { in onDisconnect() argument 149 okay &= request->Commit(drmFd); in onDisconnect() 159 DrmHotplugChange DrmDisplay::checkAndHandleHotplug(::android::base::borrowed_fd drmFd) { in checkAndHandleHotplug() argument 163 mConnector->update(drmFd); in checkAndHandleHotplug() [all …]
|
D | DrmConnector.cpp | 30 std::unique_ptr<DrmConnector> DrmConnector::create(::android::base::borrowed_fd drmFd, in create() argument 34 if (!connector->update(drmFd)) { in create() 41 bool DrmConnector::update(::android::base::borrowed_fd drmFd) { in update() argument 44 if (!LoadDrmProperties(drmFd, mId, DRM_MODE_OBJECT_CONNECTOR, GetPropertiesMap(), in update() 51 drmModeConnector* drmConnector = drmModeGetConnector(drmFd.get(), mId); in update() 61 auto mode = DrmMode::create(drmFd, drmConnector->modes[i]); in update() 73 std::optional<EdidInfo> maybeEdidInfo = loadEdid(drmFd); in update() 93 std::optional<EdidInfo> DrmConnector::loadEdid(::android::base::borrowed_fd drmFd) { in loadEdid() argument 102 auto blob = drmModeGetPropertyBlob(drmFd.get(), static_cast<uint32_t>(edidBlobId)); in loadEdid()
|
D | DrmEventListener.cpp | 24 std::unique_ptr<DrmEventListener> DrmEventListener::create(::android::base::borrowed_fd drmFd, in create() argument 28 if (!listener->init(drmFd)) { in create() 35 bool DrmEventListener::init(::android::base::borrowed_fd drmFd) { in init() argument 54 FD_SET(drmFd.get(), &mMonitoredFds); in init() 56 mMaxMonitoredFd = std::max(drmFd.get(), mEventFd.get()); in init()
|
D | DrmDisplay.h | 48 ::android::base::borrowed_fd drmFd); 65 ::android::base::borrowed_fd drmFd, ::android::base::borrowed_fd inWaitSyncFd, 68 DrmHotplugChange checkAndHandleHotplug(::android::base::borrowed_fd drmFd); 78 bool onConnect(::android::base::borrowed_fd drmFd); 80 bool onDisconnect(::android::base::borrowed_fd drmFd);
|
D | DrmPlane.cpp | 21 std::unique_ptr<DrmPlane> DrmPlane::create(::android::base::borrowed_fd drmFd, uint32_t planeId) { in create() argument 25 if (!LoadDrmProperties(drmFd, planeId, DRM_MODE_OBJECT_PLANE, GetPropertiesMap(), in create() 31 drmModePlanePtr drmPlane = drmModeGetPlane(drmFd.get(), planeId); in create()
|
D | DrmConnector.h | 40 static std::unique_ptr<DrmConnector> create(::android::base::borrowed_fd drmFd, 62 bool update(::android::base::borrowed_fd drmFd); 67 std::optional<EdidInfo> loadEdid(::android::base::borrowed_fd drmFd);
|
D | DrmProperty.h | 61 bool LoadDrmProperties(::android::base::borrowed_fd drmFd, uint32_t objectId, uint32_t objectType, in LoadDrmProperties() argument 63 auto drmProperties = drmModeObjectGetProperties(drmFd.get(), objectId, objectType); in LoadDrmProperties() 72 auto drmProperty = drmModeGetProperty(drmFd.get(), propertyId); in LoadDrmProperties()
|
D | DrmMode.cpp | 21 std::unique_ptr<DrmMode> DrmMode::create(::android::base::borrowed_fd drmFd, in create() argument 25 int ret = drmModeCreatePropertyBlob(drmFd.get(), &info, sizeof(info), &blobId); in create()
|
D | DrmCrtc.cpp | 21 std::unique_ptr<DrmCrtc> DrmCrtc::create(::android::base::borrowed_fd drmFd, uint32_t crtcId, in create() argument 26 if (!LoadDrmProperties(drmFd, crtcId, DRM_MODE_OBJECT_CRTC, GetPropertiesMap(), crtc.get())) { in create()
|
D | DrmEventListener.h | 36 static std::unique_ptr<DrmEventListener> create(::android::base::borrowed_fd drmFd, 44 bool init(::android::base::borrowed_fd drmFd);
|
D | DrmAtomicRequest.cpp | 46 bool DrmAtomicRequest::Commit(::android::base::borrowed_fd drmFd) { in Commit() argument 49 int ret = drmModeAtomicCommit(drmFd.get(), mRequest, kCommitFlags, 0); in Commit()
|
D | DrmAtomicRequest.h | 42 bool Commit(::android::base::borrowed_fd drmFd);
|
D | DrmCrtc.h | 36 static std::unique_ptr<DrmCrtc> create(::android::base::borrowed_fd drmFd, uint32_t crtcId,
|
D | DrmMode.h | 33 static std::unique_ptr<DrmMode> create(::android::base::borrowed_fd drmFd,
|
D | DrmPlane.h | 37 static std::unique_ptr<DrmPlane> create(::android::base::borrowed_fd drmFd, uint32_t planeId);
|