Lines Matching refs:drm_res
38 drmModeResPtr drm_res; variable
72 for (i = 0; i < drm_res->count_connectors; i++) { in find_modeset_params()
83 crtc_id = kmstest_find_crtc_for_connector(drm_fd, drm_res, connector, in find_modeset_params()
256 drm_res = drmModeGetResources(drm_fd); in setup_environment()
257 igt_require(drm_res); in setup_environment()
258 igt_assert(drm_res->count_connectors <= MAX_CONNECTORS); in setup_environment()
260 for (i = 0; i < drm_res->count_connectors; i++) in setup_environment()
262 drm_res->connectors[i]); in setup_environment()
271 pipe_crc = igt_pipe_crc_new(drm_fd, kmstest_get_crtc_idx(drm_res, ms.crtc_id), in setup_environment()
283 for (i = 0; i < drm_res->count_connectors; i++) in teardown_environment()
286 drmModeFreeResources(drm_res); in teardown_environment()