Lines Matching refs:prop
68 DrmProperty prop; in GetCrtcProp() local
70 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_X_ID, prop); in GetCrtcProp()
72 mPropCrtc_xId = prop.propId; in GetCrtcProp()
73 crtc_x = prop.value; in GetCrtcProp()
75 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_Y_ID, prop); in GetCrtcProp()
77 mPropCrtc_yId = prop.propId; in GetCrtcProp()
78 crtc_y = prop.value; in GetCrtcProp()
80 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_W_ID, prop); in GetCrtcProp()
82 mPropCrtc_wId = prop.propId; in GetCrtcProp()
83 crtc_w = prop.value; in GetCrtcProp()
85 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_H_ID, prop); in GetCrtcProp()
87 mPropCrtc_hId = prop.propId; in GetCrtcProp()
88 crtc_h = prop.value; in GetCrtcProp()
103 DrmProperty prop; in GetSrcProp() local
105 ret = drmDevice.GetPlaneProperty(*this, PROP_SRC_X_ID, prop); in GetSrcProp()
107 mPropSrc_xId = prop.propId; in GetSrcProp()
108 src_x = prop.value; in GetSrcProp()
110 ret = drmDevice.GetPlaneProperty(*this, PROP_SRC_Y_ID, prop); in GetSrcProp()
112 mPropSrc_yId = prop.propId; in GetSrcProp()
113 src_y = prop.value; in GetSrcProp()
115 ret = drmDevice.GetPlaneProperty(*this, PROP_SRC_W_ID, prop); in GetSrcProp()
117 mPropSrc_wId = prop.propId; in GetSrcProp()
118 src_w = prop.value; in GetSrcProp()
120 ret = drmDevice.GetPlaneProperty(*this, PROP_SRC_H_ID, prop); in GetSrcProp()
122 mPropSrc_hId = prop.propId; in GetSrcProp()
123 src_h = prop.value; in GetSrcProp()
134 DrmProperty prop; in GetNameProp() local
135 ret = drmDevice.GetPlaneProperty(*this, "NAME", prop); in GetNameProp()
142 for (auto &drmEnum : prop.enums) { in GetNameProp()
165 DrmProperty prop; in Init() local
170 ret = drmDevice.GetPlaneProperty(*this, PROP_FBID, prop); in Init()
171 mPropFbId = prop.propId; in Init()
173 ret = drmDevice.GetPlaneProperty(*this, PROP_IN_FENCE_FD, prop); in Init()
175 mPropFenceInId = prop.propId; in Init()
176 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_ID, prop); in Init()
178 mPropCrtcId = prop.propId; in Init()
180 ret = drmDevice.GetPlaneProperty(*this, PROP_ZPOS_ID, prop); in Init()
182 mPropZposId = prop.propId; in Init()
184 ret = drmDevice.GetPlaneProperty(*this, PROP_TYPE, prop); in Init()
186 switch (prop.value) { in Init()
190 mType = static_cast<uint32_t>(prop.value); in Init()
193 DISPLAY_LOGE("unknown type value %{public}" PRIu64 "", prop.value); in Init()