Searched refs:expected_mode (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/tests/ |
D | drm_client_modeset_test.c | 91 struct drm_display_mode *expected_mode, *mode; in drm_test_pick_cmdline_res_1920_1080_60() local 95 expected_mode = drm_mode_find_dmt(priv->drm, 1920, 1080, 60, false); in drm_test_pick_cmdline_res_1920_1080_60() 96 KUNIT_ASSERT_NOT_NULL(test, expected_mode); in drm_test_pick_cmdline_res_1920_1080_60() 111 KUNIT_EXPECT_TRUE(test, drm_mode_equal(expected_mode, mode)); in drm_test_pick_cmdline_res_1920_1080_60() 132 const struct drm_display_mode *expected_mode, *mode; in drm_test_pick_cmdline_named() local 149 expected_mode = params->func(drm); in drm_test_pick_cmdline_named() 150 KUNIT_ASSERT_NOT_NULL(test, expected_mode); in drm_test_pick_cmdline_named() 152 KUNIT_EXPECT_TRUE(test, drm_mode_equal(expected_mode, mode)); in drm_test_pick_cmdline_named()
|
D | drm_connector_test.c | 12 enum drm_connector_tv_mode expected_mode; member 18 .expected_mode = _mode, \ 27 params->expected_mode); in drm_test_get_tv_mode_from_name_valid()
|
D | drm_cmdline_parser_test.c | 958 const struct drm_display_mode *expected_mode = params->mode_fn(NULL); in drm_test_cmdline_tv_options() local 964 KUNIT_EXPECT_EQ(test, mode.xres, expected_mode->hdisplay); in drm_test_cmdline_tv_options() 965 KUNIT_EXPECT_EQ(test, mode.yres, expected_mode->vdisplay); in drm_test_cmdline_tv_options() 974 KUNIT_EXPECT_EQ(test, mode.interlace, !!(expected_mode->flags & DRM_MODE_FLAG_INTERLACE)); in drm_test_cmdline_tv_options()
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_lspcon.c | 237 enum drm_lspcon_mode expected_mode; in lspcon_probe() local 239 expected_mode = lspcon_wake_native_aux_ch(lspcon) ? in lspcon_probe() 260 lspcon->mode = lspcon_wait_mode(lspcon, expected_mode); in lspcon_probe() 690 enum drm_lspcon_mode expected_mode; in lspcon_resume() local 704 expected_mode = DRM_LSPCON_MODE_PCON; in lspcon_resume() 707 expected_mode = DRM_LSPCON_MODE_LS; in lspcon_resume() 710 if (lspcon_wait_mode(lspcon, expected_mode) == DRM_LSPCON_MODE_PCON) in lspcon_resume()
|