drm/amd/display: query hdcp capability during link detect
[Why] Query the hdcp caps of a link, it is useful and can be reported to the user [How] Create a query function and call it during link detect Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:

committed by
Alex Deucher

parent
1ea2b260eb
commit
fe8db3bcf2
@@ -83,6 +83,12 @@ enum hdcp_link {
|
||||
HDCP_LINK_SECONDARY
|
||||
};
|
||||
|
||||
enum hdcp_message_status {
|
||||
HDCP_MESSAGE_SUCCESS,
|
||||
HDCP_MESSAGE_FAILURE,
|
||||
HDCP_MESSAGE_UNSUPPORTED
|
||||
};
|
||||
|
||||
struct hdcp_protection_message {
|
||||
enum hdcp_version version;
|
||||
/* relevant only for DVI */
|
||||
@@ -91,6 +97,7 @@ struct hdcp_protection_message {
|
||||
uint32_t length;
|
||||
uint8_t max_retries;
|
||||
uint8_t *data;
|
||||
enum hdcp_message_status status;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user