Home
last modified time | relevance | path

Searched refs:drm_res (Results 1 – 2 of 2) sorted by relevance

/external/igt-gpu-tools/tests/i915/
Di915_pm_lpsp.c49 static void screens_disabled_subtest(int drm_fd, drmModeResPtr drm_res) in screens_disabled_subtest() argument
51 kmstest_unset_all_crtcs(drm_fd, drm_res); in screens_disabled_subtest()
63 static void edp_subtest(int drm_fd, drmModeResPtr drm_res, in edp_subtest() argument
89 kmstest_unset_all_crtcs(drm_fd, drm_res); in edp_subtest()
91 for (i = 0; i < drm_res->count_connectors; i++) { in edp_subtest()
122 crtc_id = kmstest_find_crtc_for_connector(drm_fd, drm_res, connector, in edp_subtest()
144 static void non_edp_subtest(int drm_fd, drmModeResPtr drm_res, in non_edp_subtest() argument
152 kmstest_unset_all_crtcs(drm_fd, drm_res); in non_edp_subtest()
154 for (i = 0; i < drm_res->count_connectors; i++) { in non_edp_subtest()
170 crtc_id = kmstest_find_crtc_for_connector(drm_fd, drm_res, connector, in non_edp_subtest()
[all …]
/external/igt-gpu-tools/tests/
Dkms_draw_crc.c38 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()
[all …]