linux/mei: Header for mei_hdcp driver interface
PATCH 1/1 linux/mei: Header for mei_hdcp driver interface
From: Ramalingam C <[email protected]>
Data structures and Enum for the I915-MEI_HDCP interface are defined at <linux/mei_hdcp.h>
v2:
Rebased.
v3:
mei_cl_device is removed from mei_hdcp_data [Tomas]
v4:
Comment style and typo fixed [Uma]
v5:
Rebased.
v6:
No changes.
v7:
Remove redundant text from the License header Change uintXX_t type to uXX_t types
Remove uneeded include to mei_cl_bus.h
--- include/linux/mei_hdcp.h | 77 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 include/linux/mei_hdcp.h
include/linux/mei_hdcp.h new file +77 -0
@@ -0,0 +1,77 @@ +/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ +/* +* Copyright © 2017-2018 Intel Corporation +*/ + +#ifndef _LINUX_MEI_HDCP_H +#define _LINUX_MEI_HDCP_H + +/* +* Enumeration of the physical DDI available on the platform +*/ +enum hdcp_physical_port { +INVALID_PORT =0x00 ,/* Not a valid port */ + +DDI_RANGE_BEGIN =0x01 ,/* Beginning of the valid DDI port range */ +DDI_B =0x01 ,/* Port DDI B */ +DDI_C =0x02 ,/* Port DDI C */ +DDI_D =0x03 ,/* Port DDI D */ +DDI_E =0x04 ,/* Port DDI E */ +DDI_F =0x05 ,/* Port DDI F */ +DDI_A =0x07 ,/* Port DDI A */ +DDI_RANGE_END =DDI_A ,/* End of the valid DDI port range */ +}; + +/* The types of HDCP 2.2 ports supported */ +enum hdcp_integrated_port_type { +HDCP_INVALID_TYPE =0x00 , + +/* HDCP 2.x ports that are integrated into Intel HW */ +INTEGRATED =0x01 , + +/* HDCP2.2 discrete wired Tx port with LSPCON (HDMI 2.0) solution */ +LSPCON =0x02 , + +/* HDCP2.2 discrete wired Tx port using the CPDP (DP 1.3) solution */ +CPDP =0x03 , +}; + +/* +* wired_protocol: Supported integrated wired HDCP protocol. +* Based on this value, Minor difference needed between wired specifications +* are handled. +*/ +enum hdcp_protocol { +HDCP_PROTOCOL_INVALID , +HDCP_PROTOCOL_HDMI , +HDCP_PROTOCOL_DP +}; + +/* +* mei_hdcp_data: Input data to the mei_hdcp APIs. +*/ +struct mei_hdcp_data { +enum hdcp_physical_port port; +enum hdcp_integrated_port_type port_type; +enum hdcp_protocol protocol; + +/* +* No of streams transmitted on a port. +* In case of HDMI & DP SST, single stream will be +* transmitted on a port. +*/ +u16 k; + +/* +* Count of RepeaterAuth_Stream_Manage msg propagated. +* Initialized to 0 on AKE_INIT. Incremented after every successful +* transmission of RepeaterAuth_Stream_Manage message. When it rolls +* over re-Auth has to be triggered. +*/ +u32 seq_num_m; + +/* k(No of Streams per port) x structure of wired_streamid_type */ +struct hdcp2_streamid_type *streams; +}; + +#endif /* !_LINUX_MEI_HDCP_H */
Signature · 1 line
2.14.4
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for linux/mei: Header for mei_hdcp driver interface
== Series Details ==
== Series Details ==
Series: linux/mei: Header for mei_hdcp driver interface
URL : https://patchwork.freedesktop.org/series/48922/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 45780f07f979 linux/mei: Header for mei_hdcp driver interface -:22: WARNING:TYPO_SPELLING: 'uneeded' may be misspelled - perhaps 'unneeded'? #22: Remove uneeded include to mei_cl_bus.h
-:28: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #28:
new file mode 100644
total: 0 errors, 2 warnings, 0 checks, 77 lines checked
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for linux/mei: Header for mei_hdcp driver interface
In reply to Tomas Winkler== Series Details ==
== Series Details ==
Series: linux/mei: Header for mei_hdcp driver interface
URL : https://patchwork.freedesktop.org/series/48922/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4738 -> Patchwork_10043 =
== Summary - SUCCESS ==
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/48922/revisions/1/mbox/
== Known issues ==
Here are the changes found in Patchwork_10043 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@gem_exec_suspend@basic-s4-devices:
fi-kbl-7500u: PASS -> DMESG-WARN (fdo#105128, fdo#107139)
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
{fi-byt-clapper}: PASS -> FAIL (fdo#103191, fdo#107362)
==== Possible fixes ====
igt@kms_frontbuffer_tracking@basic:
{fi-byt-clapper}: FAIL (fdo#103167) -> PASS
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
{fi-byt-clapper}: FAIL (fdo#103191, fdo#107362) -> PASS +1
fi-skl-guc: FAIL (fdo#103191) -> PASS
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
fi-snb-2520m: INCOMPLETE (fdo#103713) -> PASS
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
fi-bxt-dsi: INCOMPLETE (fdo#103927) -> PASS
igt@prime_vgem@basic-fence-flip:
fi-ilk-650: FAIL (fdo#104008) -> PASS
==== Warnings ====
{igt@pm_rpm@module-reload}:
fi-bsw-n3050: DMESG-FAIL (fdo#107704) -> DMESG-WARN (fdo#107704) {name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
fdo#103713 https://bugs.freedesktop.org/show_bug.cgi?id=103713
fdo#103927 https://bugs.freedesktop.org/show_bug.cgi?id=103927
fdo#104008 https://bugs.freedesktop.org/show_bug.cgi?id=104008
fdo#105128 https://bugs.freedesktop.org/show_bug.cgi?id=105128
fdo#107139 https://bugs.freedesktop.org/show_bug.cgi?id=107139
fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362
fdo#107704 https://bugs.freedesktop.org/show_bug.cgi?id=107704
== Participating hosts (54 -> 48) ==
Missing (6): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-gdg-551
== Build changes ==
* Linux: CI_DRM_4738 -> Patchwork_10043
CI_DRM_4738: e1ec819ee824a4ed48f168bea66dba4da464e555 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4612: e39e09910fc8e369e24f6a0cabaeb9356dbfae08 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_10043: 45780f07f9799a53de8cc28b236cb6bdb8e168e8 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
45780f07f979 linux/mei: Header for mei_hdcp driver interface
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10043/issues.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for linux/mei: Header for mei_hdcp driver interface
In reply to Tomas Winkler== Series Details ==
== Series Details ==
Series: linux/mei: Header for mei_hdcp driver interface
URL : https://patchwork.freedesktop.org/series/48922/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4738_full -> Patchwork_10043_full =
== Summary - SUCCESS ==
No regressions found.
== Known issues ==
Here are the changes found in Patchwork_10043_full that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@kms_cursor_legacy@cursor-vs-flip-toggle:
shard-hsw: PASS -> FAIL (fdo#103355)
igt@perf_pmu@enable-race-bcs0:
shard-snb: SKIP -> INCOMPLETE (fdo#105411)
==== Possible fixes ====
igt@gem_exec_big:
shard-hsw: INCOMPLETE (fdo#103540) -> PASS
igt@gem_ppgtt@blt-vs-render-ctx0:
shard-kbl: INCOMPLETE (fdo#106023, fdo#103665) -> PASS
igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
shard-apl: FAIL (fdo#103375) -> PASS fdo#103355 https://bugs.freedesktop.org/show_bug.cgi?id=103355
fdo#103375 https://bugs.freedesktop.org/show_bug.cgi?id=103375
fdo#103540 https://bugs.freedesktop.org/show_bug.cgi?id=103540
fdo#103665 https://bugs.freedesktop.org/show_bug.cgi?id=103665
fdo#105411 https://bugs.freedesktop.org/show_bug.cgi?id=105411
fdo#106023 https://bugs.freedesktop.org/show_bug.cgi?id=106023
== Participating hosts (5 -> 5) ==
No changes in participating hosts
== Build changes ==
* Linux: CI_DRM_4738 -> Patchwork_10043
CI_DRM_4738: e1ec819ee824a4ed48f168bea66dba4da464e555 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4612: e39e09910fc8e369e24f6a0cabaeb9356dbfae08 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_10043: 45780f07f9799a53de8cc28b236cb6bdb8e168e8 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10043/shards.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx