diff options
author | Ramalingam C <ramalingam.c@intel.com> | 2019-08-28 22:12:14 +0530 |
---|---|---|
committer | Uma Shankar <uma.shankar@intel.com> | 2019-08-30 14:08:29 +0530 |
commit | 2d15cf1b9ae4c623b1a05838317f4c18fd534c9a (patch) | |
tree | 11fad6b682e5b22073851826f9c185cf9a11b015 /drivers/misc/mei/hdcp/mei_hdcp.h | |
parent | 807c71d59a1063badc8bf60ee71470c2ff4be1cc (diff) | |
download | lwn-2d15cf1b9ae4c623b1a05838317f4c18fd534c9a.tar.gz lwn-2d15cf1b9ae4c623b1a05838317f4c18fd534c9a.zip |
misc/mei/hdcp: Fill transcoder index in port info
For gen12+ platform we need to pass the transcoder info
as part of the port info into ME FW.
This change fills the payload for ME FW from hdcp_port_data.
v2:
Doc is enhanced for physical_port and attached_transcoder [Tomas]
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
Acked-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190828164216.405-5-ramalingam.c@intel.com
Diffstat (limited to 'drivers/misc/mei/hdcp/mei_hdcp.h')
-rw-r--r-- | drivers/misc/mei/hdcp/mei_hdcp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/misc/mei/hdcp/mei_hdcp.h b/drivers/misc/mei/hdcp/mei_hdcp.h index e60282eb2d48..18ffc773fa18 100644 --- a/drivers/misc/mei/hdcp/mei_hdcp.h +++ b/drivers/misc/mei/hdcp/mei_hdcp.h @@ -184,8 +184,11 @@ struct hdcp_cmd_no_data { /* Uniquely identifies the hdcp port being addressed for a given command. */ struct hdcp_port_id { u8 integrated_port_type; + /* physical_port is used until Gen11.5. Must be zero for Gen11.5+ */ u8 physical_port; - u16 reserved; + /* attached_transcoder is for Gen11.5+. Set to zero for <Gen11.5 */ + u8 attached_transcoder; + u8 reserved; } __packed; /* |