Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/
H A Damdgpu_dm_test.c789 struct dm_connector_state *new_dm; /* also connector->state */ member
804 ctx->new_dm = kunit_kzalloc(test, sizeof(*ctx->new_dm), GFP_KERNEL); in dm_test_cp_ctx_alloc()
805 KUNIT_ASSERT_NOT_NULL(test, ctx->new_dm); in dm_test_cp_ctx_alloc()
814 ctx->aconnector->base.state = &ctx->new_dm->base; in dm_test_cp_ctx_alloc()
823 &ctx->new_dm->base, in dm_test_cp_diff()
837 ctx->new_dm->base.hdcp_content_type = 1; in dm_test_cp_diff_hdcp_type_change()
838 ctx->new_dm->base.content_protection = DRM_MODE_CONTENT_PROTECTION_ENABLED; in dm_test_cp_diff_hdcp_type_change()
841 KUNIT_EXPECT_EQ(test, (int)ctx->new_dm->base.content_protection, in dm_test_cp_diff_hdcp_type_change()
854 ctx->new_dm->base.content_protection = DRM_MODE_CONTENT_PROTECTION_DESIRED; in dm_test_cp_diff_reenable_mode_changed()
858 KUNIT_EXPECT_EQ(test, (int)ctx->new_dm->base.content_protection, in dm_test_cp_diff_reenable_mode_changed()
[all …]