Lines Matching refs:prim_mode_params

264 struct modeset_params prim_mode_params;  variable
434 init_mode_params(&prim_mode_params, prim_output, prim_pipe); in init_modeset_cached_params()
601 prim_w = prim_mode_params.mode->hdisplay; in create_shared_fb()
602 prim_h = prim_mode_params.mode->vdisplay; in create_shared_fb()
654 create_fb(format, prim_mode_params.mode->hdisplay, in create_fbs()
655 prim_mode_params.mode->vdisplay, opt.tiling, PLANE_PRI, in create_fbs()
657 create_fb(format, prim_mode_params.cursor.w, in create_fbs()
658 prim_mode_params.cursor.h, LOCAL_DRM_FORMAT_MOD_NONE, in create_fbs()
660 create_fb(format, prim_mode_params.sprite.w, in create_fbs()
661 prim_mode_params.sprite.h, opt.tiling, PLANE_SPR, in create_fbs()
1185 create_fb(format, prim_mode_params.mode->hdisplay, in init_blue_crc()
1186 prim_mode_params.mode->vdisplay, opt.tiling, PLANE_PRI, in init_blue_crc()
1191 igt_output_set_pipe(prim_mode_params.output, prim_mode_params.pipe); in init_blue_crc()
1192 igt_output_override_mode(prim_mode_params.output, prim_mode_params.mode); in init_blue_crc()
1193 igt_plane_set_fb(prim_mode_params.primary.plane, &blue); in init_blue_crc()
1197 pipe_crc = igt_pipe_crc_new(drm.fd, prim_mode_params.pipe, INTEL_PIPE_CRC_SOURCE_AUTO); in init_blue_crc()
1225 create_fb(format, prim_mode_params.mode->hdisplay, in init_crcs()
1226 prim_mode_params.mode->vdisplay, opt.tiling, in init_crcs()
1243 igt_output_set_pipe(prim_mode_params.output, prim_mode_params.pipe); in init_crcs()
1244 igt_output_override_mode(prim_mode_params.output, prim_mode_params.mode); in init_crcs()
1246 igt_plane_set_fb(prim_mode_params.primary.plane, &tmp_fbs[r]); in init_crcs()
1385 if (prim_mode_params.pipe != PIPE_A) { in setup_fbc()
1406 if (prim_mode_params.output->config.connector->connector_type != in setup_psr()
1425 if (prim_mode_params.output->config.connector->connector_type != in setup_drrs()
1476 return &prim_mode_params; in pick_params()
1661 fill_fb_region(&prim_mode_params.primary, COLOR_PRIM_BG); in enable_prim_screen_and_wait()
1662 set_mode_for_params(&prim_mode_params); in enable_prim_screen_and_wait()
1672 fill_fb_region(&prim_mode_params.primary, COLOR_PRIM_BG); in enable_both_screens_and_wait()
1675 __set_mode_for_params(&prim_mode_params); in enable_both_screens_and_wait()
1756 prim_mode_params.primary.fb = &s->prim_pri; in set_crtc_fbs()
1760 prim_mode_params.primary.x = 0; in set_crtc_fbs()
1764 prim_mode_params.primary.y = 0; in set_crtc_fbs()
1770 prim_mode_params.primary.fb = &s->big; in set_crtc_fbs()
1774 prim_mode_params.primary.x = opt.shared_fb_x_offset; in set_crtc_fbs()
1778 prim_mode_params.primary.y = opt.shared_fb_y_offset; in set_crtc_fbs()
1779 scnd_mode_params.primary.y = prim_mode_params.primary.y + in set_crtc_fbs()
1780 prim_mode_params.primary.h; in set_crtc_fbs()
1787 prim_mode_params.cursor.fb = &s->prim_cur; in set_crtc_fbs()
1788 prim_mode_params.sprite.fb = &s->prim_spr; in set_crtc_fbs()
1830 set_region_for_test(t, &prim_mode_params.cursor); in prepare_subtest_screens()
1832 set_region_for_test(t, &prim_mode_params.sprite); in prepare_subtest_screens()
1878 set_region_for_test(t, &prim_mode_params.cursor); in rte_subtest()
1879 set_region_for_test(t, &prim_mode_params.sprite); in rte_subtest()
2113 fill_fb_region(&prim_mode_params.primary, COLOR_PRIM_BG); in badformat_subtest()
2114 set_mode_for_params(&prim_mode_params); in badformat_subtest()
2470 return !prim_mode_params.primary.plane->values[IGT_PLANE_FB_ID]; in prim_plane_disabled()