• Home
  • Raw
  • Download

Lines Matching full:props

73 			drmModeObjectPropertiesPtr props, const char *name)  in get_prop_id()  argument
78 for (i = 0; !prop_id && i < props->count_props; i++) { in get_prop_id()
79 p = drmModeGetProperty(dev->fd, props->props[i]); in get_prop_id()
156 drmModeObjectPropertiesPtr props; in create_sp_dev() local
164 props = drmModeObjectGetProperties(dev->fd, r->connectors[i], in create_sp_dev()
166 if (!props) { in create_sp_dev()
171 dev->connectors[i].crtc_id_pid = get_prop_id(dev, props, in create_sp_dev()
173 drmModeFreeObjectProperties(props); in create_sp_dev()
199 drmModeObjectPropertiesPtr props; in create_sp_dev() local
209 props = drmModeObjectGetProperties(dev->fd, r->crtcs[i], in create_sp_dev()
211 if (!props) { in create_sp_dev()
216 dev->crtcs[i].mode_pid = get_prop_id(dev, props, "MODE_ID"); in create_sp_dev()
217 dev->crtcs[i].active_pid = get_prop_id(dev, props, "ACTIVE"); in create_sp_dev()
218 drmModeFreeObjectProperties(props); in create_sp_dev()
231 drmModeObjectPropertiesPtr props; in create_sp_dev() local
254 props = drmModeObjectGetProperties(dev->fd, pr->planes[i], in create_sp_dev()
256 if (!props) { in create_sp_dev()
260 plane->crtc_pid = get_prop_id(dev, props, "CRTC_ID"); in create_sp_dev()
262 drmModeFreeObjectProperties(props); in create_sp_dev()
265 plane->fb_pid = get_prop_id(dev, props, "FB_ID"); in create_sp_dev()
267 drmModeFreeObjectProperties(props); in create_sp_dev()
270 plane->crtc_x_pid = get_prop_id(dev, props, "CRTC_X"); in create_sp_dev()
272 drmModeFreeObjectProperties(props); in create_sp_dev()
275 plane->crtc_y_pid = get_prop_id(dev, props, "CRTC_Y"); in create_sp_dev()
277 drmModeFreeObjectProperties(props); in create_sp_dev()
280 plane->crtc_w_pid = get_prop_id(dev, props, "CRTC_W"); in create_sp_dev()
282 drmModeFreeObjectProperties(props); in create_sp_dev()
285 plane->crtc_h_pid = get_prop_id(dev, props, "CRTC_H"); in create_sp_dev()
287 drmModeFreeObjectProperties(props); in create_sp_dev()
290 plane->src_x_pid = get_prop_id(dev, props, "SRC_X"); in create_sp_dev()
292 drmModeFreeObjectProperties(props); in create_sp_dev()
295 plane->src_y_pid = get_prop_id(dev, props, "SRC_Y"); in create_sp_dev()
297 drmModeFreeObjectProperties(props); in create_sp_dev()
300 plane->src_w_pid = get_prop_id(dev, props, "SRC_W"); in create_sp_dev()
302 drmModeFreeObjectProperties(props); in create_sp_dev()
305 plane->src_h_pid = get_prop_id(dev, props, "SRC_H"); in create_sp_dev()
307 drmModeFreeObjectProperties(props); in create_sp_dev()
310 drmModeFreeObjectProperties(props); in create_sp_dev()