Home
last modified time | relevance | path

Searched refs:DrmCrtc (Results 1 – 11 of 11) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libdrmresource/drm/
Ddrmcrtc.cpp29 DrmCrtc::DrmCrtc(DrmDevice *drm, drmModeCrtcPtr c, unsigned pipe) in DrmCrtc() function in android::DrmCrtc
34 int DrmCrtc::Init() { in Init()
110 uint32_t DrmCrtc::id() const { in id()
114 unsigned DrmCrtc::pipe() const { in pipe()
118 const std::vector<int>& DrmCrtc::displays() const { in displays()
122 bool DrmCrtc::has_display(int display) const { in has_display()
132 void DrmCrtc::set_display(int display) { in set_display()
136 bool DrmCrtc::can_bind(int display) const { in can_bind()
142 const DrmProperty &DrmCrtc::active_property() const { in active_property()
146 const DrmProperty &DrmCrtc::mode_property() const { in mode_property()
[all …]
Ddrmencoder.cpp26 DrmEncoder::DrmEncoder(drmModeEncoderPtr e, DrmCrtc *current_crtc, in DrmEncoder()
27 const std::vector<DrmCrtc *> &possible_crtcs) in DrmEncoder()
38 DrmCrtc *DrmEncoder::crtc() const { in crtc()
50 void DrmEncoder::set_crtc(DrmCrtc *crtc, int display) { in set_crtc()
Ddrmdevice.cpp100 std::unique_ptr<DrmCrtc> crtc(new DrmCrtc(this, c, i)); in Init()
120 std::vector<DrmCrtc *> possible_crtcs; in Init()
121 DrmCrtc *current_crtc = NULL; in Init()
311 DrmCrtc *DrmDevice::GetCrtcForDisplay(int display) const { in GetCrtcForDisplay()
327 const std::vector<std::unique_ptr<DrmCrtc>> &DrmDevice::crtcs() const { in crtcs()
337 DrmCrtc *crtc = enc->crtc(); in TryEncoderForDisplay()
345 for (DrmCrtc *crtc : enc->possible_crtcs()) { in TryEncoderForDisplay()
390 DrmCrtc *crtc = enc->possible_crtcs().at(0); in CreateDisplayPipe()
407 DrmCrtc *display_crtc = display_conn->encoder()->crtc(); in AttachWriteback()
421 for (DrmCrtc *possible_crtc : writeback_enc->possible_crtcs()) { in AttachWriteback()
[all …]
Dvsyncworker.cpp157 DrmCrtc *crtc = drm_->GetCrtcForDisplay(display); in Routine()
Ddrmplane.cpp214 bool DrmPlane::GetCrtcSupported(const DrmCrtc &crtc) const { in GetCrtcSupported()
/hardware/google/graphics/common/libhwc2.1/libdrmresource/include/
Ddrmencoder.h31 DrmEncoder(drmModeEncoderPtr e, DrmCrtc *current_crtc,
32 const std::vector<DrmCrtc *> &possible_crtcs);
38 DrmCrtc *crtc() const;
39 void set_crtc(DrmCrtc *crtc, int display);
43 const std::vector<DrmCrtc *> &possible_crtcs() const { in possible_crtcs()
51 DrmCrtc *crtc_;
54 std::vector<DrmCrtc *> possible_crtcs_;
Ddrmcrtc.h30 class DrmCrtc {
32 DrmCrtc(DrmDevice *drm, drmModeCrtcPtr c, unsigned pipe);
33 DrmCrtc(const DrmCrtc &) = delete;
34 DrmCrtc &operator=(const DrmCrtc &) = delete;
Ddrmdevice.h62 DrmCrtc *GetCrtcForDisplay(int display) const;
68 int GetCrtcProperty(const DrmCrtc &crtc, const char *prop_name,
72 int UpdateCrtcProperty(const DrmCrtc &crtc, DrmProperty *property);
74 const std::vector<std::unique_ptr<DrmCrtc>> &crtcs() const;
98 std::vector<std::unique_ptr<DrmCrtc>> crtcs_;
Ddrmplane.h41 bool GetCrtcSupported(const DrmCrtc &crtc) const;
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDeviceDrmInterface.cpp153 DrmCrtc *drmCrtc = mDrmDevice->GetCrtcForDisplay(0); in updateRestrictions()
DExynosDisplayDrmInterface.h407 DrmCrtc *mDrmCrtc;