[PATCH v5 10/12] drm/i915: update the hdcp state with uevent

2019-04-18 Thread Ramalingam C
-by: Ramalingam C --- drivers/gpu/drm/i915/intel_hdcp.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_hdcp.c b/drivers/gpu/drm/i915/intel_hdcp.c index de634f3fbd1b..84ac23ea75af 100644 --- a/drivers/gpu/drm/i915/intel_hdcp.c +++ b/drivers/gpu/drm

[PATCH v5 07/12] drm/hdcp: gathering hdcp related code into drm_hdcp.c

2019-04-18 Thread Ramalingam C
Considering the significant size of hdcp related code in drm, all hdcp related codes are moved into separate file called drm_hdcp.c. v2: Rebased. Signed-off-by: Ramalingam C Suggested-by: Daniel Vetter --- drivers/gpu/drm/drm_connector.c | 78 --- drivers/gpu/drm

[PATCH v5 11/12] drm: Add CP downstream_info property

2019-04-18 Thread Ramalingam C
[Daniel] v5: Rebased. Signed-off-by: Ramalingam C --- drivers/gpu/drm/drm_atomic_uapi.c | 3 ++ drivers/gpu/drm/drm_connector.c | 20 ++ drivers/gpu/drm/drm_hdcp.c| 65 +++ include/drm/drm_connector.h | 6 +++ include/drm/drm_hdcp.h

[PATCH v5 02/12] drm/i915: debugfs: HDCP2.2 capability read

2019-04-18 Thread Ramalingam C
Adding the HDCP2.2 capability of HDCP src and sink info into debugfs entry "i915_hdcp_sink_capability" This helps the userspace tests to skip the HDCP2.2 test on non HDCP2.2 sinks. v2: Rebased. Signed-off-by: Ramalingam C Reviewed-by: Daniel Vetter --- drivers/gpu/drm/i915/i915

[PATCH v5 05/12] drm: revocation check at drm subsystem

2019-04-18 Thread Ramalingam C
and 2.2 versions of SRM table. v2: moved the uAPI to request_firmware_direct() [Daniel] Signed-off-by: Ramalingam C Suggested-by: Daniel Vetter --- drivers/gpu/drm/Makefile | 2 +- drivers/gpu/drm/drm_hdcp.c | 336 + drivers/gpu/drm/drm_internal.h

[PATCH v5 08/12] drm: uevent for connector status change

2019-04-18 Thread Ramalingam C
DRM API for generating uevent for a status changes of connector's property. This uevent will have following details related to the status change: HOTPLUG=1, CONNECTOR= and PROPERTY= v2: Minor fixes at KDoc comments [Daniel] Signed-off-by: Ramalingam C --- drivers/gpu/drm/drm_sysfs.c | 31

[PATCH v5 09/12] drm/hdcp: update content protection property with uevent

2019-04-18 Thread Ramalingam C
drm function is defined and exported to update a connector's content protection property state and to generate a uevent along with it. v2: Update only when state is different from old one. Signed-off-by: Ramalingam C --- drivers/gpu/drm/drm_hdcp.c | 16 include/drm

[PATCH v5 06/12] drm/i915: SRM revocation check for HDCP1.4 and 2.2

2019-04-18 Thread Ramalingam C
DRM HDCP SRM revocation check services are used from I915 for HDCP1.4 and 2.2 revocation check during the respective authentication flow. v2: Rebased. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_hdcp.c | 57 --- 1 file changed, 44 insertions(+), 13

[PATCH v5 12/12] drm/i915: Populate downstream info for HDCP

2019-04-18 Thread Ramalingam C
to content_protection_downstream_info property. v2: %s/cp_downstream/content_protection_downstream [daniel] v3: %s/content_protection_downstream/hdcp_topology [daniel] v4: Rebased. v5: Rebased. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_drv.h | 2 + drivers/gpu/drm/i915

[PATCH v5 04/12] drm/i915: Attach content type property

2019-04-18 Thread Ramalingam C
at atomic_set_property [Maarten] v3: s/content_protection_type/hdcp_content_type [Pekka] v4: hdcp disable incase of type change is moved into commit [daniel]. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_ddi.c | 38 --- drivers/gpu/drm/i915/intel_hdcp.c | 43

[PATCH v5 00/12] HDCP2.2 Phase II

2019-04-18 Thread Ramalingam C
084842.5422-2-ramalinga...@intel.com> Ramalingam C (12): drm: move content protection property to mode_config drm/i915: debugfs: HDCP2.2 capability read drm: Add Content protection type property drm/i915: Attach content type property drm: revocation check at drm subsystem drm/i915: SRM

[PATCH v5 03/12] drm: Add Content protection type property

2019-04-18 Thread Ramalingam C
is replaced with content_protection_type [daniel] check at atomic_set_property is removed [Maarten] v3: %s/content_protection_type/hdcp_content_type [Pekka] v4: property is created for the first requested connector and then reused. [Danvet] Signed-off-by: Ramalingam C --- drivers/gpu/drm

[PATCH v5 01/12] drm: move content protection property to mode_config

2019-04-18 Thread Ramalingam C
Content protection property is created once and stored in drm_mode_config. And attached to all HDCP capable connectors. Signed-off-by: Ramalingam C --- drivers/gpu/drm/drm_atomic_uapi.c | 4 ++-- drivers/gpu/drm/drm_connector.c | 13 +++-- include/drm/drm_connector.h | 6

Re: [PATCH v4 05/13] drivers: create binary sysfs for class

2019-04-15 Thread Ramalingam C
On 2019-04-15 at 16:47:16 +0200, Greg Kroah-Hartman wrote: > On Mon, Apr 15, 2019 at 06:11:13PM +0530, Ramalingam C wrote: > > On 2019-04-05 at 14:32:00 +0200, Greg Kroah-Hartman wrote: > > > On Fri, Apr 05, 2019 at 04:06:22PM +0530, Ramalingam C wrote: > > > > O

Re: [PATCH v4 05/13] drivers: create binary sysfs for class

2019-04-15 Thread Ramalingam C
On 2019-04-05 at 14:32:00 +0200, Greg Kroah-Hartman wrote: > On Fri, Apr 05, 2019 at 04:06:22PM +0530, Ramalingam C wrote: > > On 2019-04-05 at 11:23:00 +0200, Greg Kroah-Hartman wrote: > > > On Fri, Apr 05, 2019 at 02:12:54PM +0530, Ramalingam C wrote: > > > >

Re: [PATCH v4 13/13] drm/i915: Populate downstream info for HDCP

2019-04-05 Thread Ramalingam C
On 2019-04-05 at 14:13:02 +0530, Ramalingam C wrote: > Implements drm blob property content_protection_downstream_info > property on HDCP capable connectors. > > Downstream topology info is gathered across authentication stages > and stored in intel_hdcp. When HDCP authenticat

Re: [PATCH v4 05/13] drivers: create binary sysfs for class

2019-04-05 Thread Ramalingam C
On 2019-04-05 at 11:23:00 +0200, Greg Kroah-Hartman wrote: > On Fri, Apr 05, 2019 at 02:12:54PM +0530, Ramalingam C wrote: > > Functions to create and remove the binary sysfs for class are added. > > > > These are getting introduced as DRM wants to create the common bi

[PATCH v4 09/13] drm: uevent for connector status change

2019-04-05 Thread Ramalingam C
DRM API for generating uevent for a status changes of connector's property. This uevent will have following details related to the status change: HOTPLUG=1, CONNECTOR= and PROPERTY= v2: Minor fixes at KDoc comments [Daniel] Signed-off-by: Ramalingam C --- drivers/gpu/drm/drm_sysfs.c | 31

[PATCH v4 12/13] drm: Add CP downstream_info property

2019-04-05 Thread Ramalingam C
[Daniel] Signed-off-by: Ramalingam C --- drivers/gpu/drm/drm_atomic_uapi.c | 3 ++ drivers/gpu/drm/drm_connector.c | 20 ++ drivers/gpu/drm/drm_hdcp.c| 65 +++ include/drm/drm_connector.h | 6 +++ include/drm/drm_hdcp.h| 6

[PATCH v4 13/13] drm/i915: Populate downstream info for HDCP

2019-04-05 Thread Ramalingam C
to content_protection_downstream_info property. v2: %s/cp_downstream/content_protection_downstream [daniel] v3: %s/content_protection_downstream/hdcp_topology [daniel] v4: Rebased. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_drv.h | 2 + drivers/gpu/drm/i915/intel_hdcp.c

[PATCH v4 05/13] drivers: create binary sysfs for class

2019-04-05 Thread Ramalingam C
Functions to create and remove the binary sysfs for class are added. These are getting introduced as DRM wants to create the common binary sysfs across the drm subsystem to handle hdcp srm. Signed-off-by: Ramalingam C cc: Greg Kroah-Hartman cc: Daniel Vetter --- drivers/base/class.c | 19

[PATCH v4 08/13] drm/hdcp: gathering hdcp related code into drm_hdcp.c

2019-04-05 Thread Ramalingam C
Considering the significant size of hdcp related code in drm, all hdcp related codes are moved into separate file called drm_hdcp.c. Signed-off-by: Ramalingam C Suggested-by: Daniel Vetter --- drivers/gpu/drm/drm_connector.c | 78 --- drivers/gpu/drm/drm_hdcp.c

[PATCH v4 03/13] drm: Add Content protection type property

2019-04-05 Thread Ramalingam C
is replaced with content_protection_type [daniel] check at atomic_set_property is removed [Maarten] v3: %s/content_protection_type/hdcp_content_type [Pekka] v4: property is created for the first requested connector and then reused. [Danvet] Signed-off-by: Ramalingam C --- drivers/gpu/drm

[PATCH v4 06/13] drm: HDCP SRM binary sysfs for subsystem

2019-04-05 Thread Ramalingam C
he HDCP1.4 and 2.2 versions of SRM table. Signed-off-by: Ramalingam C Suggested-by: Daniel Vetter --- drivers/gpu/drm/Makefile | 2 +- drivers/gpu/drm/drm_hdcp.c | 351 + drivers/gpu/drm/drm_internal.h | 4 + drivers/gpu/drm/drm_sysfs.c| 2 + i

[PATCH v4 00/13] HDCP2.2 Phase II

2019-04-05 Thread Ramalingam C
82346.31222-2-ramalinga...@intel.com> Ramalingam C (13): drm: move content protection property to mode_config drm/i915: debugfs: HDCP2.2 capability read drm: Add Content protection type property drm/i915: Attach content type property drivers: create binary sysfs for class drm: HDCP

[PATCH v4 11/13] drm/i915: update the hdcp state with uevent

2019-04-05 Thread Ramalingam C
-by: Ramalingam C --- drivers/gpu/drm/i915/intel_hdcp.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_hdcp.c b/drivers/gpu/drm/i915/intel_hdcp.c index 6982a2e6cf9a..f70f1e98e4ae 100644 --- a/drivers/gpu/drm/i915/intel_hdcp.c +++ b/drivers/gpu/drm

[PATCH v4 04/13] drm/i915: Attach content type property

2019-04-05 Thread Ramalingam C
at atomic_set_property [Maarten] v3: s/content_protection_type/hdcp_content_type [Pekka] v4: hdcp disable incase of type change is moved into commit [daniel]. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_ddi.c | 38 --- drivers/gpu/drm/i915/intel_drv.h | 2

[PATCH v4 10/13] drm/hdcp: update content protection property with uevent

2019-04-05 Thread Ramalingam C
drm function is defined and exported to update a connector's content protection property state and to generate a uevent along with it. Signed-off-by: Ramalingam C --- drivers/gpu/drm/drm_hdcp.c | 13 + include/drm/drm_hdcp.h | 2 ++ 2 files changed, 15 insertions(+) diff --git

[PATCH v4 07/13] drm/i915: SRM revocation check for HDCP1.4 and 2.2

2019-04-05 Thread Ramalingam C
DRM HDCP SRM revocation check services are used from I915 for HDCP1.4 and 2.2 revocation check during the respective authentication flow. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_hdcp.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git

[PATCH v4 02/13] drm/i915: debugfs: HDCP2.2 capability read

2019-04-05 Thread Ramalingam C
Adding the HDCP2.2 capability of HDCP src and sink info into debugfs entry "i915_hdcp_sink_capability" This helps the userspace tests to skip the HDCP2.2 test on non HDCP2.2 sinks. Signed-off-by: Ramalingam C Reviewed-by: Daniel Vetter --- drivers/gpu/drm/i915/i915_debu

[PATCH v4 01/13] drm: move content protection property to mode_config

2019-04-05 Thread Ramalingam C
Content protection property is created once and stored in drm_mode_config. And attached to all HDCP capable connectors. Signed-off-by: Ramalingam C --- drivers/gpu/drm/drm_atomic_uapi.c | 4 ++-- drivers/gpu/drm/drm_connector.c | 13 +++-- include/drm/drm_connector.h | 6

Re: [PATCH v3 08/10] drm/i915: Populate downstream info for HDCP2.2

2019-03-27 Thread Ramalingam C
On 2019-03-27 at 11:31:12 +0100, Daniel Vetter wrote: > On Fri, Mar 22, 2019 at 06:14:46AM +0530, Ramalingam C wrote: > > Populates the downstream info for HDCP2.2 encryption also. On success > > of encryption Blob is updated. > > > > Additional two variable are ad

Re: [PATCH v3 09/10] drm: uevent for connector status change

2019-03-27 Thread Ramalingam C
On 2019-03-27 at 12:01:37 +0100, Daniel Vetter wrote: > On Fri, Mar 22, 2019 at 06:14:47AM +0530, Ramalingam C wrote: > > DRM API for generating uevent for a status changes of connector's > > property. > > > > Signed-off-by: Ramalingam C > > --- >

Re: [PATCH v3 10/10] drm/i915: uevent for HDCP status change

2019-03-27 Thread Ramalingam C
On 2019-03-27 at 12:06:39 +0100, Daniel Vetter wrote: > On Fri, Mar 22, 2019 at 06:14:48AM +0530, Ramalingam C wrote: > > Invoking the uevent generator for the content protection property state > > change of a connector. This helps the userspace to detect the new state > > c

Re: [PATCH v3 06/10] drm: Add CP downstream_info property

2019-03-27 Thread Ramalingam C
On 2019-03-27 at 11:25:04 +0100, Daniel Vetter wrote: > On Fri, Mar 22, 2019 at 06:14:44AM +0530, Ramalingam C wrote: > > This patch adds a optional CP downstream info blob property to the > > connectors. This enables the Userspace to read the information of HDCP > > aut

Re: [PATCH v3 04/10] drm/i915: HDCP SRM parsing and revocation check

2019-03-27 Thread Ramalingam C
On 2019-03-27 at 11:16:40 +0100, Daniel Vetter wrote: > On Fri, Mar 22, 2019 at 06:14:42AM +0530, Ramalingam C wrote: > > Implements the SRM table parsing for HDCP 1.4 and 2.2. > > And also revocation check is added at authentication of HDCP1.4 > > and 2.2 > > >

Re: [PATCH v3 03/10] drm/i915: Attach content type property

2019-03-27 Thread Ramalingam C
On 2019-03-27 at 11:00:17 +0100, Daniel Vetter wrote: > On Fri, Mar 22, 2019 at 06:14:41AM +0530, Ramalingam C wrote: > > Attaches the content type property for HDCP2.2 capable connectors. > > > > Implements the update of content type from property and apply the > >

Re: [PATCH v3 02/10] drm: Add Content protection type property

2019-03-27 Thread Ramalingam C
On 2019-03-27 at 10:56:32 +0100, Daniel Vetter wrote: > On Fri, Mar 22, 2019 at 06:14:40AM +0530, Ramalingam C wrote: > > This patch adds a DRM ENUM property to the selected connectors. > > This property is used for mentioning the protected content's type > > from use

[PATCH v3 10/10] drm/i915: uevent for HDCP status change

2019-03-21 Thread Ramalingam C
Invoking the uevent generator for the content protection property state change of a connector. This helps the userspace to detect the new state change without polling the property val. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_hdcp.c | 11 +++ 1 file changed, 11

[PATCH v3 07/10] drm/i915: Populate downstream info for HDCP1.4

2019-03-21 Thread Ramalingam C
to content_protection_downstream_info property. v2: %s/cp_downstream/content_protection_downstream [daniel] v3: %s/content_protection_downstream/hdcp_topology [daniel] Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_drv.h | 2 ++ drivers/gpu/drm/i915/intel_hdcp.c | 30

[PATCH v3 00/10] HDCP2.2 Phase II

2019-03-21 Thread Ramalingam C
e reworked [Pekka and Daniel] uevent is generated for HDCP state change. [Pekka and Daniel] Series can be cloned from github https://github.com/ramalingampc2008/drm-tip.git hdcp2_2_p2_v3 Test-with: <2019032117.10099-1-ramalinga...@intel.com> Ramalingam C (10): drm/i915: debugfs: HDCP2.2

[PATCH v3 05/10] drm/i915/sysfs: Node for hdcp srm

2019-03-21 Thread Ramalingam C
Binary Sysfs entry is created to pass the HDCP SRM table into kerel for the HDCP authentication purpose. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/i915_sysfs.c | 32 +++ 1 file changed, 32 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_sysfs.c b

[PATCH v3 08/10] drm/i915: Populate downstream info for HDCP2.2

2019-03-21 Thread Ramalingam C
/content_protection_downstream/hdcp_topology [daniel] Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_hdcp.c | 26 +- include/uapi/drm/drm_mode.h | 3 +++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_hdcp.c b/drivers/gpu/drm/i915

[PATCH v3 09/10] drm: uevent for connector status change

2019-03-21 Thread Ramalingam C
DRM API for generating uevent for a status changes of connector's property. Signed-off-by: Ramalingam C --- drivers/gpu/drm/drm_sysfs.c | 28 include/drm/drm_sysfs.h | 5 - 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm

[PATCH v3 01/10] drm/i915: debugfs: HDCP2.2 capability read

2019-03-21 Thread Ramalingam C
Adding the HDCP2.2 capability of HDCP src and sink info into debugfs entry "i915_hdcp_sink_capability" This helps the userspace tests to skip the HDCP2.2 test on non HDCP2.2 sinks. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/i915_debugfs.c | 13 +++-- drivers/gp

[PATCH v3 03/10] drm/i915: Attach content type property

2019-03-21 Thread Ramalingam C
at atomic_set_property [Maarten] v3: s/content_protection_type/hdcp_content_type [Pekka] Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_ddi.c | 21 +++-- drivers/gpu/drm/i915/intel_drv.h | 2 +- drivers/gpu/drm/i915/intel_hdcp.c | 30 +- 3 files

[PATCH v3 02/10] drm: Add Content protection type property

2019-03-21 Thread Ramalingam C
is replaced with content_protection_type [daniel] check at atomic_set_property is removed [Maarten] v3: %s/content_protection_type/hdcp_content_type [Pekka] Signed-off-by: Ramalingam C --- drivers/gpu/drm/drm_atomic_uapi.c | 4 ++ drivers/gpu/drm/drm_connector.c | 63

[PATCH v3 06/10] drm: Add CP downstream_info property

2019-03-21 Thread Ramalingam C
configures this platform as repeater, then this information is needed for the authentication with upstream HDCP transmitter. v2: s/cp_downstream/content_protection_downstream [daniel] v3: s/content_protection_downstream/hdcp_topology [daniel] Signed-off-by: Ramalingam C --- drivers/gpu/drm

[PATCH v3 04/10] drm/i915: HDCP SRM parsing and revocation check

2019-03-21 Thread Ramalingam C
Implements the SRM table parsing for HDCP 1.4 and 2.2. And also revocation check is added at authentication of HDCP1.4 and 2.2 Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/i915_drv.c | 1 + drivers/gpu/drm/i915/i915_drv.h | 6 + drivers/gpu/drm/i915/intel_drv.h | 2 + drivers

[PATCH v2 3/8] drm/i915: Attach content type property

2019-03-08 Thread Ramalingam C
at atomic_set_property [Maarten] Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_ddi.c | 21 +++-- drivers/gpu/drm/i915/intel_drv.h | 2 +- drivers/gpu/drm/i915/intel_hdcp.c | 30 +- 3 files changed, 41 insertions(+), 12 deletions(-) diff --git

[PATCH v2 8/8] drm/i915: Populate downstream info for HDCP2.2

2019-03-08 Thread Ramalingam C
Populates the downstream info for HDCP2.2 encryption also. On success of encryption Blob is updated. Additional two variable are added to downstream info blob. Such as ver_in_force and content type. v2: s/cp_downstream/content_protection_downstream [daniel] Signed-off-by: Ramalingam C

[PATCH v2 6/8] drm: Add CP downstream_info property

2019-03-08 Thread Ramalingam C
configures this platform as repeater, then this information is needed for the authentication with upstream HDCP transmitter. v2: %s/cp_downstream/content_protection_downstream [daniel] Signed-off-by: Ramalingam C --- drivers/gpu/drm/drm_atomic_uapi.c | 4 ++ drivers/gpu/drm/drm_connector.c | 89

[PATCH v2 7/8] drm/i915: Populate downstream info for HDCP1.4

2019-03-08 Thread Ramalingam C
to content_protection_downstream_info property. v2: %s/cp_downstream/content_protection_downstream [daniel] Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_drv.h | 2 ++ drivers/gpu/drm/i915/intel_hdcp.c | 35 ++- include/drm/drm_hdcp.h| 1

[PATCH v2 4/8] drm/i915: HDCP SRM parsing and revocation check

2019-03-08 Thread Ramalingam C
Implements the SRM table parsing for HDCP 1.4 and 2.2. And also revocation check is added at authentication of HDCP1.4 and 2.2 Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/i915_drv.c | 1 + drivers/gpu/drm/i915/i915_drv.h | 6 + drivers/gpu/drm/i915/intel_drv.h | 2 + drivers

[PATCH v2 5/8] drm/i915/sysfs: Node for hdcp srm

2019-03-08 Thread Ramalingam C
Binary Sysfs entry is created to pass the HDCP SRM table into kerel for the HDCP authentication purpose. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/i915_sysfs.c | 32 +++ 1 file changed, 32 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_sysfs.c b

[PATCH v2 1/8] drm/i915: debugfs: HDCP2.2 capability read

2019-03-08 Thread Ramalingam C
Adding the HDCP2.2 capability of HDCP src and sink info into debugfs entry "i915_hdcp_sink_capability" This helps the userspace tests to skip the HDCP2.2 test on non HDCP2.2 sinks. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/i915_debugfs.c | 13 +++-- drivers/gp

[PATCH v2 2/8] drm: Add Content protection type property

2019-03-08 Thread Ramalingam C
is replaced with content_protection_type [daniel] check at atomic_set_property is removed [Maarten] Signed-off-by: Ramalingam C --- drivers/gpu/drm/drm_atomic_uapi.c | 4 ++ drivers/gpu/drm/drm_connector.c | 63 +++ include/drm/drm_connector.h | 15 include

[PATCH v2 0/8] HDCP2.2 Phase II

2019-03-08 Thread Ramalingam C
encryption, HDCP is restarted within kernel [Maarten] Resending it as previous submission was failed find the mentioned igt version. Series can be cloned from github https://github.com/ramalingampc2008/drm-tip.git hdcp2_2_p2_v2 Test-with: <20190308163049.9016-2-ramalinga...@intel.com&g

[PATCH 00/10] HDCP2.2 Phase II

2019-02-25 Thread Ramalingam C
transmitters(downstream ports) and userspace implementing the upstream port(HDCP receiver). Discussion is on going to add the downstream_info support in the weston HDCP stack. Test-with: 1551165805-19130-2-git-send-email-ramalinga...@intel.com Ramalingam C (10): drm: Add CP content type property

[PATCH 10/10] drm/i915: debugfs: HDCP2.2 capability read

2019-02-25 Thread Ramalingam C
Adding the HDCP2.2 capability of HDCP src and sink info into debugfs entry "i915_hdcp_sink_capability" This helps the userspace tests to skip the HDCP2.2 test on non HDCP2.2 sinks. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/i915_debugfs.c | 13 +++-- drivers/gp

[PATCH 09/10] drm/i915: Populate downstream info for HDCP2.2

2019-02-25 Thread Ramalingam C
Populates the downstream info for HDCP2.2 encryption also. On success of encryption Blob is updated. Additional two variable are added to downstream info blob. Such as ver_in_force and content type. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_hdcp.c | 29

[PATCH 07/10] drm: Add CP downstream_info property

2019-02-25 Thread Ramalingam C
to configure this platform as repeater, where KMD will be the downstream HDCP ports of the repeater and userspace implementation will act as upstream HDCP port. Signed-off-by: Ramalingam C --- drivers/gpu/drm/drm_atomic_uapi.c | 3 ++ drivers/gpu/drm/drm_connector.c | 88

[PATCH 08/10] drm/i915: Populate downstream info for HDCP1.4

2019-02-25 Thread Ramalingam C
to cp_downstream_info property. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_drv.h | 2 ++ drivers/gpu/drm/i915/intel_hdcp.c | 32 +++- include/drm/drm_hdcp.h| 1 + include/uapi/drm/drm_mode.h | 5 + 4 files changed, 39 insertions(+), 1 deletion

[PATCH 05/10] drm/i915: Add revocation check on HDCP1.4 Ksvs

2019-02-25 Thread Ramalingam C
KSV list revocated by DCP LLC is provided as SRM Blob to kernel. Which is parsed and stored in intel_hdcp->revocated_ksv_list. This patch adds the revocation check for BKSV and KSV_FIFO in HDCP1.4 authentication. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_hdcp.c |

[PATCH 06/10] drm/i915: SRM parsing and revocation check for HDCP2

2019-02-25 Thread Ramalingam C
SRM blob with hdcp2 id is parsed and parsed list of revoked ids is used in the authentication process to identify the compromised HDCP sinks. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_hdcp.c | 86 +-- include/drm/drm_hdcp.h| 20

[PATCH 01/10] drm: Add CP content type property

2019-02-25 Thread Ramalingam C
protected display wires. But Type 1 content can be rendered only on HDCP2.2 protected paths. So upon a content protection request with Type 1 as Content type from userspace, Kernel will declare success only if the HDCP2.2 authentication is successful. Signed-off-by: Ramalingam C --- drivers/gpu/drm

[PATCH 02/10] drm/i915: Attach content type property

2019-02-25 Thread Ramalingam C
Attaches the content type property for HDCP2.2 capable connectors. Implements the update of content type from property and apply the restriction on HDCP version selection. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_ddi.c | 21 +++-- drivers/gpu/drm/i915

[PATCH 04/10] drm/i915: Add HDCP SRM Blob parsing

2019-02-25 Thread Ramalingam C
authentication and for revocation check of ksv_fifo in second stage authentication. Signed-off-by: Ramalingam C --- drivers/gpu/drm/i915/intel_ddi.c | 6 +- drivers/gpu/drm/i915/intel_drv.h | 8 ++- drivers/gpu/drm/i915/intel_hdcp.c | 147 +- include/drm

[PATCH 03/10] drm: Add CP System Renewability Msg Property

2019-02-25 Thread Ramalingam C
-volatile storage. So it is expected that userspace will provide the latest valid SRM table on every power cycle before the HDCP authentication starts. Signed-off-by: Ramalingam C --- drivers/gpu/drm/drm_atomic_uapi.c | 10 drivers/gpu/drm/drm_connector.c | 52

[PATCH v15 07/16] misc/mei/hdcp: Store the HDCP Pairing info

2019-02-21 Thread Ramalingam C
func as mei_hdcp_* [Tomas] Inline function is defined for DDI index [Tomas] v10: K-Doc fix. [Tomas] v11: Rebased. Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar Acked-by: Tomas Winkler --- drivers/misc/mei/hdcp/mei_hdcp.c | 60 +++- 1 file changed

[PATCH v15 00/16] drm/i915: Implement HDCP2.2

2019-02-21 Thread Ramalingam C
ne too. Major changes in v15 - All I915 patches are merged. So dropping them. - Few minor suggestions are incorporated at mei changes. To ease the review process, series is hosted at https://github.com/ramalingampc2008/drm-tip.git hdcp2_2_v15 Ramalingam C (15): misc/mei/hdcp: Client

[PATCH v15 06/16] misc/mei/hdcp: Verify H_prime

2019-02-21 Thread Ramalingam C
: renamed func as mei_hdcp_* [Tomas] Inline function is defined for DDI index [Tomas] v10: K-Doc fix. [Tomas] v11: Rebased. Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar Acked-by: Tomas Winkler --- drivers/misc/mei/hdcp/mei_hdcp.c | 58 +++- 1

[PATCH v15 02/16] misc/mei/hdcp: Client driver for HDCP application

2019-02-21 Thread Ramalingam C
Removed the drv_data resetting. v6: K-Doc addition. [Tomas] v7: %s/UUID_LE/GUID_INIT [Tomas] GPL Ver is 2.0 than 2.0+ [Tomas] v8: Added more info into Kconfig addition [Tomas] Signed-off-by: Ramalingam C Signed-off-by: Tomas Winkler Acked-by: Tomas Winkler --- drivers/misc/mei/Kconfig

[PATCH v15 15/16] misc/mei/hdcp: Component framework for I915 Interface

2019-02-21 Thread Ramalingam C
subcomponent [daniel] v9: only comp_master is set and retrieved as driver_data [Daniel] Reviewed-by Daniel. v10: small corrections at probe [Tomas] v11: bind and unbind logs are made as debug logs [Tomas] cldev_enable failure is handled [Tomas] Signed-off-by: Ramalingam C Reviewed-by: Daniel

[PATCH v15 11/16] misc/mei/hdcp: Repeater topology verification and ack

2019-02-21 Thread Ramalingam C
as mei_hdcp_* [Tomas] Inline function is defined for DDI index [Tomas] v10: K-Doc fix. [Tomas] v11: Rebased. Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar Acked-by: Tomas Winkler --- drivers/misc/mei/hdcp/mei_hdcp.c | 77 +++- 1 file changed, 76

[PATCH v15 08/16] misc/mei/hdcp: Initiate Locality check

2019-02-21 Thread Ramalingam C
[Tomas] v10: K-Doc fix. [Tomas] v11: Rebased. Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar Acked-by: Tomas Winkler --- drivers/misc/mei/hdcp/mei_hdcp.c | 57 +++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/drivers/misc/mei/hdcp

[PATCH v15 13/16] misc/mei/hdcp: Enabling the HDCP authentication

2019-02-21 Thread Ramalingam C
-by: Ramalingam C Reviewed-by: Uma Shankar Acked-by: Tomas Winkler --- drivers/misc/mei/hdcp/mei_hdcp.c | 55 +++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/drivers/misc/mei/hdcp/mei_hdcp.c b/drivers/misc/mei/hdcp/mei_hdcp.c index 4bcb1ddeac1c

[PATCH v15 16/16] FOR_TEST_ONLY: i915/Kconfig: Select mei_hdcp by I915

2019-02-21 Thread Ramalingam C
FOR TESTING PURPOSE ONLY. By default INTEL_MEI_HDCP is set to y. This patch is created to test the interface between I915 and MEI_HDCP. Signed-off-by: Ramalingam C --- drivers/misc/mei/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/mei/Kconfig b/drivers/misc/mei

[PATCH v15 12/16] misc/mei/hdcp: Verify M_prime

2019-02-21 Thread Ramalingam C
[Tomas] Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar Acked-by: Tomas Winkler --- drivers/misc/mei/hdcp/mei_hdcp.c | 67 +++- 1 file changed, 66 insertions(+), 1 deletion(-) diff --git a/drivers/misc/mei/hdcp/mei_hdcp.c b/drivers/misc/mei/hdcp/mei_hdcp.c

[PATCH v15 09/16] misc/mei/hdcp: Verify L_prime

2019-02-21 Thread Ramalingam C
as mei_hdcp_* [Tomas] Inline function is defined for DDI index [Tomas] v10: K-Doc fix. [Tomas] v11: Rebased. Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar Acked-by: Tomas Winkler --- drivers/misc/mei/hdcp/mei_hdcp.c | 60 +++- 1 file changed, 59

[PATCH v15 10/16] misc/mei/hdcp: Prepare Session Key

2019-02-21 Thread Ramalingam C
[Tomas] v10: K-Doc fix. [Tomas] v11: Rebased. Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar Acked-by: Tomas Winkler --- drivers/misc/mei/hdcp/mei_hdcp.c | 59 +++- 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/drivers/misc/mei/hdcp

[PATCH v15 14/16] misc/mei/hdcp: Closing wired HDCP2.2 Tx Session

2019-02-21 Thread Ramalingam C
: renamed func as mei_hdcp_* [Tomas] Inline function is defined for DDI index [Tomas] v10: K-Doc fix. [Tomas] v11: Rebased. Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar Acked-by: Tomas Winkler --- drivers/misc/mei/hdcp/mei_hdcp.c | 55 +++- 1 file

[PATCH v15 05/16] misc/mei/hdcp: Verify Receiver Cert and prepare km

2019-02-21 Thread Ramalingam C
] K-Doc fix [Tomas] v11: Rebased. Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar Acked-by: Tomas Winkler --- drivers/misc/mei/hdcp/mei_hdcp.c | 83 +++- 1 file changed, 82 insertions(+), 1 deletion(-) diff --git a/drivers/misc/mei/hdcp/mei_hdcp.c b

[PATCH v15 04/16] misc/mei/hdcp: Initiate Wired HDCP2.2 Tx Session

2019-02-21 Thread Ramalingam C
i915_port to mei_ddi [Tomas] Kernel doc fix. v11: mei_hdcp_ops is defined as const. [Tomas] Signed-off-by: Ramalingam C Signed-off-by: Tomas Winkler Reviewed-by: Uma Shankar --- drivers/misc/mei/hdcp/mei_hdcp.c | 94 drivers/misc/mei/hdcp/mei_hdcp.h | 11

[PATCH v15 03/16] misc/mei/hdcp: Define ME FW interface for HDCP2.2

2019-02-21 Thread Ramalingam C
are removed. v6: Remove redundant text from the License header %s/LPRIME_HALF/V_PRIME_HALF %s/uintxx_t/uxx v7: Extra taps removed. v8: k is defined as __be16 [Tomas] Signed-off-by: Ramalingam C Acked-by Tomas Winkler --- drivers/misc/mei/hdcp/mei_hdcp.h | 366

[PATCH v15 01/16] mei: bus: whitelist hdcp client

2019-02-21 Thread Ramalingam C
From: Tomas Winkler Whitelist HDCP client for in kernel drm use v2: Rebased. Signed-off-by: Tomas Winkler Signed-off-by: Ramalingam C --- drivers/misc/mei/bus-fixup.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/misc/mei/bus-fixup.c b/drivers/misc/mei/bus

[PATCH v14 15/32] drm/i915: Fix KBL HDCP2.2 encrypt status signalling

2019-02-16 Thread Ramalingam C via dri-devel
s required. v2: WA is moved into the toggle_signalling [Daniel] v3: Commit msg is rewritten with more information v4: Reviewed-by Daniel. Signed-off-by: Ramalingam C Reviewed-by: Daniel Vetter --- drivers/gpu/drm/i915/intel_hdmi.c | 42 +++ 1 file c

[PATCH v14 12/32] drm/i915: Implement the HDCP2.2 support for DP

2019-02-16 Thread Ramalingam C via dri-devel
ased. [Daniel] hdcp adaptation is added as a const in the hdcp_shim [Daniel] v10: config_stream_type is redefined [Daniel] DP Errata specific defines are moved into intel_dp.c. Signed-off-by: Ramalingam C Signed-off-by: Ankit K Nautiyal Reviewed-by: Uma Shankar --- drivers/gpu/drm/i915/intel_

[PATCH v14 19/32] misc/mei/hdcp: Define ME FW interface for HDCP2.2

2019-02-16 Thread Ramalingam C via dri-devel
are removed. v6: Remove redundant text from the License header %s/LPRIME_HALF/V_PRIME_HALF %s/uintxx_t/uxx v7: Extra taps removed. Signed-off-by: Ramalingam C Acked-by Tomas Winkler --- drivers/misc/mei/hdcp/mei_hdcp.h | 366 +++ 1 file changed, 366

[PATCH v14 26/32] misc/mei/hdcp: Prepare Session Key

2019-02-16 Thread Ramalingam C via dri-devel
[Tomas] v10: K-Doc fix. [Tomas] Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar Acked-by: Tomas Winkler --- drivers/misc/mei/hdcp/mei_hdcp.c | 59 +++- 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/drivers/misc/mei/hdcp/mei_hdcp.c b/drivers

[PATCH v14 28/32] misc/mei/hdcp: Verify M_prime

2019-02-16 Thread Ramalingam C via dri-devel
by. Rebasing. v7: Adjust to the new mei interface. Fix for Kdoc. v8: K-Doc addition. [Tomas] drm_hdcp2_u32_to_seq_num() is used for u32 to seq_num. v9: renamed func as mei_hdcp_* [Tomas] Inline function is defined for DDI index [Tomas] v10: K-Doc fix. [Tomas] Signed-off-by: Ramalingam C

[PATCH v14 21/32] misc/mei/hdcp: Verify Receiver Cert and prepare km

2019-02-16 Thread Ramalingam C via dri-devel
] K-Doc fix [Tomas] Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar Acked-by: Tomas Winkler --- drivers/misc/mei/hdcp/mei_hdcp.c | 83 +++- 1 file changed, 82 insertions(+), 1 deletion(-) diff --git a/drivers/misc/mei/hdcp/mei_hdcp.c b/drivers/misc/mei

[PATCH v14 33/35] misc/mei/hdcp: Closing wired HDCP2.2 Tx Session

2019-02-16 Thread Ramalingam C via dri-devel
: renamed func as mei_hdcp_* [Tomas] Inline function is defined for DDI index [Tomas] v10: K-Doc fix. [Tomas] Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar Acked-by: Tomas Winkler --- drivers/misc/mei/hdcp/mei_hdcp.c | 55 +++- 1 file changed, 54

[PATCH v14 09/32] drm/i915: Implement HDCP2.2 link integrity check

2019-02-16 Thread Ramalingam C via dri-devel
status check is put under WARN_ON [Daniel] drm_hdcp.h changes are moved into separate patch [Daniel] v9: enum check_link_status is defined at intel_drv.h [Daniel] Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar --- drivers/gpu/drm/i915/intel_drv.h | 10 + drivers/gpu/drm/i915

[PATCH v14 18/32] misc/mei/hdcp: Client driver for HDCP application

2019-02-16 Thread Ramalingam C via dri-devel
Removed the drv_data resetting. v6: K-Doc addition. [Tomas] v7: %s/UUID_LE/GUID_INIT [Tomas] GPL Ver is 2.0 than 2.0+ [Tomas] Signed-off-by: Ramalingam C Signed-off-by: Tomas Winkler Acked-by: Tomas Winkler --- drivers/misc/mei/Kconfig | 7 + drivers/misc/mei/Makefile

[PATCH v14 25/32] misc/mei/hdcp: Verify L_prime

2019-02-16 Thread Ramalingam C via dri-devel
as mei_hdcp_* [Tomas] Inline function is defined for DDI index [Tomas] v10: K-Doc fix. [Tomas] Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar Acked-by: Tomas Winkler --- drivers/misc/mei/hdcp/mei_hdcp.c | 60 +++- 1 file changed, 59 insertions(+), 1

[PATCH v14 01/32] drm/i915: Gathering the HDCP1.4 routines together

2019-02-16 Thread Ramalingam C via dri-devel
All HDCP1.4 routines are gathered together, followed by the generic functions those can be extended for HDCP2.2 too. Signed-off-by: Ramalingam C Acked-by: Daniel Vetter Reviewed-by: Uma Shankar Reviewed-by: Tomas Winkler --- drivers/gpu/drm/i915/intel_hdcp.c | 118

[PATCH v14 20/32] misc/mei/hdcp: Initiate Wired HDCP2.2 Tx Session

2019-02-16 Thread Ramalingam C via dri-devel
i915_port to mei_ddi [Tomas] Kernel doc fix. Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar --- drivers/misc/mei/hdcp/mei_hdcp.c | 94 drivers/misc/mei/hdcp/mei_hdcp.h | 11 + 2 files changed, 105 insertions(+) diff --git a/drivers/misc/mei/hdcp

[PATCH v14 30/35] misc/mei/hdcp: Repeater topology verification and ack

2019-02-16 Thread Ramalingam C via dri-devel
as mei_hdcp_* [Tomas] Inline function is defined for DDI index [Tomas] v10: K-Doc fix. [Tomas] Signed-off-by: Ramalingam C Reviewed-by: Uma Shankar Acked-by: Tomas Winkler --- drivers/misc/mei/hdcp/mei_hdcp.c | 77 +++- 1 file changed, 76 insertions(+), 1

[PATCH v14 14/32] drm/i915: CP_IRQ handling for DP HDCP2.2 msgs

2019-02-16 Thread Ramalingam C via dri-devel
-by Daniel from IRC. Signed-off-by: Ramalingam C Reviewed-by: Daniel Vetter --- drivers/gpu/drm/i915/intel_dp.c | 31 +++ drivers/gpu/drm/i915/intel_drv.h | 8 drivers/gpu/drm/i915/intel_hdcp.c | 11 --- 3 files changed, 35 insertions(+), 15 deletion

  1   2   3   4   5   6   7   8   9   >