Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/
H A Damdgpu_dm_test.c838 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()
853 ctx->old_dm->base.content_protection = DRM_MODE_CONTENT_PROTECTION_ENABLED; in dm_test_cp_diff_reenable_mode_changed()
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()
870 ctx->old_dm->base.content_protection = DRM_MODE_CONTENT_PROTECTION_ENABLED; in dm_test_cp_diff_reenable_no_change()
871 ctx->new_dm->base.content_protection = DRM_MODE_CONTENT_PROTECTION_DESIRED; in dm_test_cp_diff_reenable_no_change()
875 KUNIT_EXPECT_EQ(test, (int)ctx->new_dm->base.content_protection, in dm_test_cp_diff_reenable_no_change()
887 ctx->old_dm->base.content_protection = DRM_MODE_CONTENT_PROTECTION_UNDESIRED; in dm_test_cp_diff_undesired()
888 ctx->new_dm->base.content_protection = DRM_MODE_CONTENT_PROTECTION_UNDESIRED; in dm_test_cp_diff_undesired()
[all …]
/linux/drivers/gpu/drm/display/
H A Ddrm_hdcp_helper.c414 if (state->content_protection == val) in drm_hdcp_update_content_protection()
417 state->content_protection = val; in drm_hdcp_update_content_protection()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c3489 old_conn_state->content_protection, new_conn_state->content_protection); in is_content_protection_different()
3509 new_conn_state->content_protection != DRM_MODE_CONTENT_PROTECTION_UNDESIRED) { in is_content_protection_different()
3510 new_conn_state->content_protection = DRM_MODE_CONTENT_PROTECTION_DESIRED; in is_content_protection_different()
3516 if (old_conn_state->content_protection == DRM_MODE_CONTENT_PROTECTION_ENABLED && in is_content_protection_different()
3517 new_conn_state->content_protection == DRM_MODE_CONTENT_PROTECTION_DESIRED) { in is_content_protection_different()
3519 new_conn_state->content_protection = DRM_MODE_CONTENT_PROTECTION_DESIRED; in is_content_protection_different()
3523 new_conn_state->content_protection = DRM_MODE_CONTENT_PROTECTION_ENABLED; in is_content_protection_different()
3532 if (old_conn_state->content_protection == DRM_MODE_CONTENT_PROTECTION_UNDESIRED && in is_content_protection_different()
3533 new_conn_state->content_protection in is_content_protection_different()
[all...]
H A Damdgpu_dm_connector.c645 if (connector->state->content_protection == DRM_MODE_CONTENT_PROTECTION_ENABLED) in DEFINE_FREE()
646 connector->state->content_protection = DRM_MODE_CONTENT_PROTECTION_DESIRED; in DEFINE_FREE()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_hdcp.c2524 if (conn_state->content_protection == in intel_hdcp_enable()
2526 (conn_state->content_protection == in intel_hdcp_enable()
2577 conn_state->content_protection != in intel_hdcp_update_pipe()
2584 if (conn_state->content_protection == in intel_hdcp_update_pipe()
2602 if (conn_state->content_protection == in intel_hdcp_update_pipe()
2691 u64 old_cp = old_state->content_protection; in intel_hdcp_atomic_check()
2692 u64 new_cp = new_state->content_protection; in intel_hdcp_atomic_check()
2701 new_state->content_protection = in intel_hdcp_atomic_check()
2716 new_state->content_protection = in intel_hdcp_atomic_check()
H A Dintel_psr.c1749 if (conn_state->content_protection == in _panel_replay_compute_config()
1751 (conn_state->content_protection == in _panel_replay_compute_config()
/linux/include/drm/
H A Ddrm_connector.h1235 unsigned int content_protection; member
/linux/drivers/gpu/drm/
H A Ddrm_atomic_uapi.c938 state->content_protection = val; in drm_atomic_connector_set_property()
1036 *val = state->content_protection; in drm_atomic_connector_get_property()