[RFC v1 14/20] drm/hdcp2.2: HDCP2.2 protocol msg definitions

2017-07-12 Thread Ramalingam C
Protocol message structures and constants of the HDCP2.2 specification are defined at Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- include/drm/drm_hdcp.h | 204 + 1 file changed, 204 insertions(+) diff --git a/include/drm/drm_hd

[RFC v1 15/20] drm/hdcp2.2: Display driver service functions

2017-07-12 Thread Ramalingam C
DRM HDCP2.2 service function interface is defiend. This will be initialized from display driver. Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- include/drm/drm_hdcp.h | 207 + 1 file changed, 207 insertions(+) diff --git a/inclu

[RFC v1 19/20] drm/hdcp2.2: HDCP2.2 enable as a asynchronous work

2017-07-12 Thread Ramalingam C
-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/drm_hdcp.c | 40 +--- include/drm/drm_hdcp.h | 8 2 files changed, 45 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_hdcp.c b/drivers/gpu/drm/drm_hdcp.c index c

[RFC v1 18/20] drm/hdcp2.2: Late_init: Capability probing on panel

2017-07-12 Thread Ramalingam C
When the platform support HDCP2.2, HDCP2.2 capability is probed on panel from late_init. If platform and panel support HDCP2.2, DRM_HDCP2_SUPPORTED bit of HDCP property will be set. Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/drm_hdcp.

[RFC v1 20/20] drm/hdcp2.2: HDCP2.2 disable as a asynchronous work

2017-07-12 Thread Ramalingam C
Property will be updated. Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/drm_hdcp.c | 30 +++--- include/drm/drm_hdcp.h | 1 + 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_hdcp.c b/drivers/gpu/drm/drm_

[RFC v1 16/20] drm/hdcp2.2: HDCP2.2 Initialization

2017-07-12 Thread Ramalingam C
drm_hdcp_init is extended to support HDCP spec Ver2.2. Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/drm_hdcp.c | 37 + include/drm/drm_hdcp.h | 6 ++ 2 files changed, 43 insertions(+) diff --git a/drivers/g

[RFC v1 13/20] drm/hdcp: Updating DRM Property val with HDCP state

2017-07-12 Thread Ramalingam C
-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/drm_hdcp.c | 40 include/drm/drm_hdcp.h | 3 +++ 2 files changed, 43 insertions(+) diff --git a/drivers/gpu/drm/drm_hdcp.c b/drivers/gpu/drm/drm_hdcp.c index 9b3bf92..9785ab6 100644 --- a/d

[RFC v1 17/20] drm/hdcp2.2: Definitions of HDMI HDCP2.2 registers

2017-07-12 Thread Ramalingam C
HDCP2.2 registers offsets on HDMI are defined along with it constants. And also timeout macros for HDCP2.2 adaptation for HDMI is defined. Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- include/drm/drm_hdcp.h | 36 1 file changed, 36 inse

[RFC v1 02/20] drm/hdcp: HDCP SRM blob property for connectors

2017-07-12 Thread Ramalingam C
Standard connector blob property is created for passing HDCP SRM table from HDCP content player to kernel. Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/drm_connector.c | 5 + include/drm/drm_mode_config.h | 5 + 2 files changed, 10 insertions(+) diff

[RFC v1 00/20] DRM Interfaces for HDCP support

2017-07-12 Thread Ramalingam C
on. Incase if the whole picture through code is preferred, initial code for all phases are maintained at below github https://github.com/ramalingampc2008/drm-tip/tree/hdcp_rfc Ramalingam C (20): drm/hdcp: HDCP bitmask property for connectors drm/hdcp: HDCP SRM blob property for connectors drm/sysfs

[RFC v1 05/20] drm/hdcp: HDCP status code for DRM HDCP stack

2017-07-12 Thread Ramalingam C
HDCP status code is defined. this will be used as a return value of the service function of HDCP to indicate the hdcp status Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- include/drm/drm_hdcp.h | 20 1 file changed, 20 insertions(+) diff --git a/inclu

[RFC v1 03/20] drm/sysfs: Generate drm uevent with custom string

2017-07-12 Thread Ramalingam C
-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/drm_sysfs.c | 17 + include/drm/drm_sysfs.h | 1 + 2 files changed, 18 insertions(+) diff --git a/drivers/gpu/drm/drm_sysfs.c b/drivers/gpu/drm/drm_sysfs.c index 1c5b5ce..07c374a 100644 --- a/drivers/gpu/drm/drm_s

[RFC v1 01/20] drm/hdcp: HDCP bitmask property for connectors

2017-07-12 Thread Ramalingam C
DRM connector property is created as bitmask to receive HDCP enable/disable request along with content type. And also there are Read only status bits for 1. HDCP spec capability of the connector + panel 2. HDCP encryption status of the connector Signed-off-by: Ramalingam C

[RFC v1 04/20] drm/hdcp: Struct drm_hdcp for connector's hdcp state

2017-07-12 Thread Ramalingam C
Structure drm_hdcp is defined to represent the HDCP state of the connector. drm_connector will have a pointer to an instance of this structure. This will be used to hold all specification related information along with state machine parameters. Signed-off-by: Ramalingam C <ramalinga...@intel.

[RFC v1 07/20] drm/hdcp: Initialization of DRM hdcp stack

2017-07-12 Thread Ramalingam C
by the Display driver is received as another parameter. And corresponding callback fucntions can be validated. Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/drm_hdcp.c | 75 ++ include/drm/drm_hdcp.h | 7 + 2

[RFC v1 06/20] drm/hdcp: display driver callback funcs defined

2017-07-12 Thread Ramalingam C
Callback functions for Platform specific services are defined. These pointers has to be initialized from display driver's hdcp_init and passed onto drm_hdcp_init. drm_hdcp_funcs will have pointers of functions common for all HDCP versions supported on that platform. Signed-off-by: Ramalingam C

[RFC v1 08/20] drm/hdcp: Add KBuild for DRM HDCP support

2017-07-12 Thread Ramalingam C
New config variable CONFIG_DRM_HDCP is added. Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/Kconfig | 12 drivers/gpu/drm/Makefile | 1 + 2 files changed, 13 insertions(+) diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 8

[RFC v1 09/20] drm/hdcp: Generic enable, disable and late_init

2017-07-12 Thread Ramalingam C
Generic HDCP enable disable and late_init implemented. When new HDCP version support is added to general stack corresponding enable, disable and late_init will be invoked from these implementation. Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/drm_hdcp.

[RFC v1 10/20] drm/hdcp: Handler for connector state change

2017-07-12 Thread Ramalingam C
On hotplug/detection of connector Panel's HDCP capability is probed. On hot unplug of connector HDCP is diabled, if it has beed enabled. Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/drm_hdcp.c | 24 include/drm/drm_hdcp.h | 9 ++

[RFC v1 12/20] drm/hdcp: Atomic set and get property for hdcp

2017-07-12 Thread Ramalingam C
-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/drm_atomic.c | 5 + drivers/gpu/drm/drm_hdcp.c | 53 include/drm/drm_hdcp.h | 1 + 3 files changed, 59 insertions(+) diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/g

[RFC v1 11/20] drm/hdcp: Registering for connector state change

2017-07-12 Thread Ramalingam C
On connector state change detection, HDCP handler for connector state change notified. Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/drm_probe_helper.c | 3 +++ drivers/gpu/drm/i915/intel_hotplug.c | 6 +- 2 files changed, 8 insertions(+), 1 deletion(-)

Re: [Intel-gfx] [RFC v1 01/20] drm/hdcp: HDCP bitmask property for connectors

2017-07-13 Thread Ramalingam C
On Thursday 13 July 2017 04:06 PM, Daniel Vetter wrote: On Thu, Jul 13, 2017 at 12:15 PM, Ramalingam C <ramalinga...@intel.com> wrote: On Thursday 13 July 2017 02:15 PM, Daniel Vetter wrote: On Thu, Jul 13, 2017 at 8:54 AM, Ramalingam C <ramalinga...@intel.com> wrote: On Thur

Re: [Intel-gfx] [RFC v1 01/20] drm/hdcp: HDCP bitmask property for connectors

2017-07-12 Thread Ramalingam C
Daniel, Thank you for reviewing the patch in short time. My views are below. On Wednesday 12 July 2017 03:24 PM, Daniel Vetter wrote: On Wed, Jul 12, 2017 at 01:58:45PM +0530, Ramalingam C wrote: DRM connector property is created as bitmask to receive HDCP enable/disable request along

Re: [Intel-gfx] [RFC v1 01/20] drm/hdcp: HDCP bitmask property for connectors

2017-07-13 Thread Ramalingam C
On Thursday 13 July 2017 12:40 AM, Sean Paul wrote: On Wed, Jul 12, 2017 at 08:26:02PM +0530, Ramalingam C wrote: Daniel, Thank you for reviewing the patch in short time. My views are below. On Wednesday 12 July 2017 03:24 PM, Daniel Vetter wrote: On Wed, Jul 12, 2017 at 01:58:45PM +0530

Re: [Intel-gfx] [RFC v1 01/20] drm/hdcp: HDCP bitmask property for connectors

2017-07-13 Thread Ramalingam C
On Thursday 13 July 2017 11:39 AM, Daniel Vetter wrote: On Wed, Jul 12, 2017 at 9:10 PM, Sean Paul wrote: Why all these intermediate steps and different failure modes? Either hdcp works, or it doesnt (and we can split up with the type 0 or type 1 if needed), but I

Re: [Intel-gfx] [RFC v1 01/20] drm/hdcp: HDCP bitmask property for connectors

2017-07-13 Thread Ramalingam C
On Thursday 13 July 2017 02:15 PM, Daniel Vetter wrote: On Thu, Jul 13, 2017 at 8:54 AM, Ramalingam C <ramalinga...@intel.com> wrote: On Thursday 13 July 2017 11:39 AM, Daniel Vetter wrote: On Wed, Jul 12, 2017 at 9:10 PM, Sean Paul <seanp...@chromium.org> wrote: Why all these

[RFC v2] drm/hdcp: drm enum property for HDCP State

2017-07-14 Thread Ramalingam C
: Redesigned the property to match with CP needs of CrOS. Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/drm_connector.c | 14 + include/drm/drm_hdcp.h | 44 + include/drm/drm_mode_config.h | 5 + 3

Re: [Intel-gfx] [RFC v1 01/20] drm/hdcp: HDCP bitmask property for connectors

2017-07-14 Thread Ramalingam C
On Friday 14 July 2017 12:32 AM, Daniel Vetter wrote: On Thu, Jul 13, 2017 at 06:29:33PM +0530, Ramalingam C wrote: On Thursday 13 July 2017 04:06 PM, Daniel Vetter wrote: On Thu, Jul 13, 2017 at 12:15 PM, Ramalingam C <ramalinga...@intel.com> wrote: On Thursday 13 July 2017 02

Re: [RFC v2] drm/hdcp: drm enum property for HDCP State

2017-07-21 Thread Ramalingam C
Sorry for late response. On Friday 14 July 2017 07:25 PM, Sean Paul wrote: On Fri, Jul 14, 2017 at 04:51:43PM +0530, Ramalingam C wrote: DRM connector property is created to represent the content protection state of the connector and to configure the same. CP States defined

Re: [RFC v2] drm/hdcp: drm enum property for HDCP State

2017-07-24 Thread Ramalingam C
On Monday 24 July 2017 06:53 PM, Sean Paul wrote: On Fri, Jul 21, 2017 at 9:02 AM, Ramalingam C <ramalinga...@intel.com> wrote: Sorry for late response. On Friday 14 July 2017 07:25 PM, Sean Paul wrote: On Fri, Jul 14, 2017 at 04:51:43PM +0530, Ramalingam C wrote: DRM connector pr

[RFC v3] drm/hdcp: drm enum property for CP State

2017-07-24 Thread Ramalingam C
DRM_MODE_CONTENT_PROTECTION_ENABLE - Enabled v2: Redesigned the property to match with CP needs of CrOS [Sean]. v3: Renamed the state names. Header is removed [sean]. Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/drm_connector.

Re: [RFC v3] drm/hdcp: drm enum property for CP State

2017-07-26 Thread Ramalingam C
On Tuesday 25 July 2017 06:04 PM, Sean Paul wrote: On Mon, Jul 24, 2017 at 2:12 PM, Ramalingam C <ramalinga...@intel.com> wrote: DRM connector property is created to represent the content protection state of the connector and to configure the same. Content protection states d

Re: [RFC v3] drm/hdcp: drm enum property for CP State

2017-08-02 Thread Ramalingam C
2017 at 03:24:10PM +0530, Ramalingam C wrote: On Tuesday 25 July 2017 06:04 PM, Sean Paul wrote: On Mon, Jul 24, 2017 at 2:12 PM, Ramalingam C <ramalinga...@intel.com> wrote: DRM connector property is created to represent the content protection state of the connector and to configure th

[RFC v4] drm/hdcp: drm enum property for CP State

2017-08-02 Thread Ramalingam C
BLED - Enabled v2: Redesigned the property to match with CP needs of CrOS [Sean]. v3: Renamed the state names. Header is removed [Sean]. v4: Aligned with existing userspace(CrOS's usage) [Sean]. Signed-off-by: Ramalingam C <ramalinga...@intel.com> ---

Re: [RFC v4] drm/hdcp: drm enum property for CP State

2017-08-05 Thread Ramalingam C
content provider, who mandates the HDCP v2.2 encryption only is Netflix. It imposes that 4k content can be played only on HDCP2.2 HDMI monitors. On Wednesday 02 August 2017 09:23 PM, Ramalingam C wrote: Default connector property called "Content Protection" is added to represent the

Re: [RFC v4] drm/hdcp: drm enum property for CP State

2017-08-06 Thread Ramalingam C
Wrapping the image, to make it compatible for viewers with 80Char limit. On Saturday 05 August 2017 09:21 PM, Ramalingam C wrote: If a stream can be distributed to HDCP1.4 compliant devices also, that is tagged as Type 0. Refer the below diagram for pictorial representation for flow

Re: [Intel-gfx] [RFC PATCH 3/6] drm/i915: Add HDCP framework + base implementation

2017-12-01 Thread Ramalingam C
On Friday 01 December 2017 01:06 PM, Daniel Vetter wrote: On Fri, Dec 01, 2017 at 12:53:31PM +0530, Ramalingam C wrote: Sean, IMHO, it will good if we can have all generic hdcp1.4 authentication flow in drm helpers and all interested display drivers to use them. This Design will make

Re: [RFC PATCH 3/6] drm/i915: Add HDCP framework + base implementation

2017-11-30 Thread Ramalingam C
Sean, IMHO, it will good if we can have all generic hdcp1.4 authentication flow in drm helpers and all interested display drivers to use them. This Design will make the extending of hdcp easy for other display drivers based on DRM. We can have the required drm_hdcp_shim type of

Re: [RFC PATCH 5/6] drm/i915: Implement HDCP for HDMI

2017-11-30 Thread Ramalingam C
Sean, We might want to check the panel's HDCP capability? Agreed that majority of HDMI/DP panel's supports it, but there is a possibility that we might avoid authentication on non-hdcp panels. As per HDCP specification, check for valid bksv will serve the purpose. On Thursday 30 November

Re: [PATCH v3 5/9] drm/i915: Add HDCP framework + base implementation

2017-12-05 Thread Ramalingam C
iel Vetter <daniel.vet...@intel.com> Cc: Ramalingam C <ramalinga...@intel.com> Signed-off-by: Sean Paul <seanp...@chromium.org> --- drivers/gpu/drm/i915/Makefile| 1 + drivers/gpu/drm/i915/i915_reg.h | 83 drivers/gpu/drm/i915/intel_atomic.c | 2 + drivers/

Re: [PATCH v3 9/9] drm/i915: Implement HDCP for DisplayPort

2017-12-05 Thread Ramalingam C
On Tuesday 05 December 2017 10:45 AM, Sean Paul wrote: +static +bool intel_dp_hdcp_check_link(struct intel_digital_port *intel_dig_port) +{ + ssize_t ret; + u8 bstatus; + ret = drm_dp_dpcd_read(_dig_port->dp.aux, DP_AUX_HDCP_BSTATUS, + , 1); +

Re: [PATCH v4 5/9] drm/i915: Add HDCP framework + base implementation

2017-12-06 Thread Ramalingam C
authentication completion? we might want to move the hdcp authentication itself to a deferred work, just to return the atomic_commit_tail call soon... Of course even if this change is preferred, can be planned for phase2 too... With this change looks good to me. Reviewed-by: Ramalingam C

Re: [PATCH v4 4/9] drm: Add some HDCP related #defines

2017-12-06 Thread Ramalingam C
Looks Good to me. Reviewed-by: Ramalingam C <ramaling...@intel.com> -Ram On Thursday 07 December 2017 05:30 AM, Sean Paul wrote: In preparation for implementing HDCP in i915, add some HDCP related register offsets and defines. The dpcd register offsets will go in drm_dp_helper.h w

Re: [PATCH v4 9/9] drm/i915: Implement HDCP for DisplayPort

2017-12-06 Thread Ramalingam C
_link (Ram) Cc: Daniel Vetter <daniel.vet...@ffwll.ch> Cc: Ramalingam C <ramalinga...@intel.com> Signed-off-by: Sean Paul <seanp...@chromium.org> --- drivers/gpu/drm/i915/intel_dp.c | 244 ++-- 1 file changed, 237 insertions(+), 7 deletions(

Re: [PATCH v4 0/9] drm/i915: Implement HDCP

2017-12-06 Thread Ramalingam C
Sean, Could you please share the level of functional testing is done on this code? like with Receiver/Repeaters and port type tested (DP/HDMI/DP over USB TypeC ?) Whether Compliance test is attempted on this code? Thanks -Ram On Thursday 07 December 2017 05:30 AM, Sean Paul wrote:

Re: [PATCH v3 3/9] drm: Add Content Protection property

2017-12-06 Thread Ramalingam C
On Wednesday 06 December 2017 09:56 PM, Sean Paul wrote: I'd rather keep the property as-is and expose an HDCP version property alongside it (or perhaps something more elaborate that includes bksv and the downstream bksvs). The reason I prefer that is it will also cover the 1.2 vs 1.4

Re: [PATCH v4 8/9] drm/i915: Implement HDCP for HDMI

2017-12-06 Thread Ramalingam C
= + intel_dig_port->base.base.dev->dev_private; + enum port port = intel_dig_port->base.port; + int ret; + union { + u32 reg; + u8 shim[DRM_HDCP_RI_LEN]; + } ri; + + ret = intel_hdmi_hdcp_read_ri_prime(intel_dig_p

Re: [PATCH v3 3/9] drm: Add Content Protection property

2017-12-05 Thread Ramalingam C
On Tuesday 05 December 2017 01:37 PM, Hans Verkuil wrote: On 12/05/2017 06:15 AM, Sean Paul wrote: This patch adds a new optional connector property to allow userspace to enable protection over the content it is displaying. This will typically be implemented by the driver using HDCP. The

Re: [PATCH v3 02/40] drm: HDMI and DP specific HDCP2.2 defines

2018-05-14 Thread Ramalingam C
On Wednesday 09 May 2018 03:36 PM, Shankar, Uma wrote: -Original Message- From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:27 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

Re: [Intel-gfx] [PATCH v3 01/40] drm: hdcp2.2 authentication msg definitions

2018-05-14 Thread Ramalingam C
Thank you for the review comments Uma Shankar! On Wednesday 09 May 2018 03:31 PM, Shankar, Uma wrote: -Original Message- From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:27 PM To: intel-...@lists.freedesktop.org

Re: [Intel-gfx] [PATCH v3 21/40] drm/i915: Define Intel HDCP2.2 registers

2018-05-17 Thread Ramalingam C
On Wednesday 09 May 2018 08:29 PM, Shankar, Uma wrote: -Original Message- From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:28 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

Re: [Intel-gfx] [PATCH v3 22/40] drm/i915: Wrappers for mei HDCP2.2 services

2018-05-17 Thread Ramalingam C
On Wednesday 09 May 2018 08:40 PM, Shankar, Uma wrote: -Original Message- From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:28 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

Re: [PATCH v3 25/40] drm/i915: Enable and Disable HDCP2.2 port encryption

2018-05-17 Thread Ramalingam C
On Thursday 17 May 2018 06:31 PM, Ramalingam C wrote: On Monday 14 May 2018 02:53 PM, Shankar, Uma wrote: -Original Message- From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:28 PM To: intel

Re: [Intel-gfx] [PATCH v3 24/40] drm/i915: Implement HDCP2.2 repeater authentication

2018-05-17 Thread Ramalingam C
On Monday 14 May 2018 02:38 PM, Shankar, Uma wrote: -Original Message- From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:28 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

Re: [PATCH v3 26/40] drm/i915: Implement HDCP2.2 En/Dis-able

2018-05-17 Thread Ramalingam C
On Monday 14 May 2018 03:00 PM, Shankar, Uma wrote: -Original Message- From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:28 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

Re: [PATCH v3 25/40] drm/i915: Enable and Disable HDCP2.2 port encryption

2018-05-17 Thread Ramalingam C
On Monday 14 May 2018 02:53 PM, Shankar, Uma wrote: -Original Message- From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:28 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

Re: [PATCH v3 27/40] drm/i915: Implement HDCP2.2 link integrity check

2018-05-17 Thread Ramalingam C
On Monday 14 May 2018 03:15 PM, Shankar, Uma wrote: -Original Message- From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:28 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

Re: [PATCH v3 07/40] linux/mei: Header for mei_hdcp driver interface

2018-05-16 Thread Ramalingam C
On Wednesday 09 May 2018 03:38 PM, Shankar, Uma wrote: -Original Message- From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:27 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

Re: [Intel-gfx] [PATCH v3 14/40] misc/mei/hdcp: Prepare Session Key

2018-05-16 Thread Ramalingam C
On Wednesday 09 May 2018 04:29 PM, Shankar, Uma wrote: -Original Message- From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:27 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

Re: [PATCH v3 12/40] misc/mei/hdcp: Initiate Locality check

2018-05-16 Thread Ramalingam C
On Wednesday 09 May 2018 04:01 PM, Shankar, Uma wrote: -Original Message- From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:27 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

Re: [Intel-gfx] [PATCH v3 10/40] misc/mei/hdcp: Verify H_prime

2018-05-16 Thread Ramalingam C
On Wednesday 09 May 2018 03:46 PM, Shankar, Uma wrote: -Original Message- From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:27 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

Re: [Intel-gfx] [PATCH v3 11/40] misc/mei/hdcp: Store the HDCP Pairing info

2018-05-16 Thread Ramalingam C
On Wednesday 09 May 2018 03:58 PM, Shankar, Uma wrote: -Original Message- From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:27 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

Re: [Intel-gfx] [PATCH v3 13/40] misc/mei/hdcp: Verify L_prime

2018-05-16 Thread Ramalingam C
On Wednesday 09 May 2018 04:06 PM, Shankar, Uma wrote: -Original Message- From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:27 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

Re: [PATCH v3 08/40] misc/mei/hdcp: Initiate Wired HDCP2.2 Tx Session

2018-05-16 Thread Ramalingam C
eparate parameter [Tomas] Redundant comment and typecast are removed [Tomas] Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/misc/mei/hdcp/mei_hdcp.c | 68 include/linux/mei_hdcp.h | 11 +++ 2 files changed, 79 insertions(+)

Re: [PATCH v3 05/40] misc/mei/hdcp: Notifier chain for mei cldev state change

2018-05-16 Thread Ramalingam C
On Tuesday 03 April 2018 09:00 PM, Daniel Vetter wrote: On Tue, Apr 03, 2018 at 07:27:18PM +0530, Ramalingam C wrote: Notifier Chain is defined to inform all its clients about the mei client device state change. Routine is defined for the clients to register and unregister

Re: [Intel-gfx] [PATCH v3 08/40] misc/mei/hdcp: Initiate Wired HDCP2.2 Tx Session

2018-05-16 Thread Ramalingam C
On Wednesday 09 May 2018 03:43 PM, Shankar, Uma wrote: -Original Message- From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:27 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

Re: [PATCH v3 05/40] misc/mei/hdcp: Notifier chain for mei cldev state change

2018-05-16 Thread Ramalingam C
d. v3: Notifier chain is adopted for cldev state update [Tomas] Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- May be I miss something, but bus subsystem already has notifier chain. (BUS_NOTIFY_ADD_DEVICE etc.) We only ought to make mei_cl_bus_type available in header. We need re

Re: [PATCH v3 17/40] misc/mei/hdcp: Enabling the HDCP authentication

2018-05-16 Thread Ramalingam C
On Wednesday 09 May 2018 07:25 PM, Shankar, Uma wrote: -Original Message- From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:28 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

Re: [PATCH v3 16/40] misc/mei/hdcp: Verify M_prime

2018-05-16 Thread Ramalingam C
On Wednesday 09 May 2018 07:20 PM, Shankar, Uma wrote: -Original Message- From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:27 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

Re: [PATCH v3 15/40] misc/mei/hdcp: Repeater topology verifcation and ack

2018-05-16 Thread Ramalingam C
On Wednesday 09 May 2018 04:34 PM, Shankar, Uma wrote: -Original Message- From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:27 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

Re: [Intel-gfx] [PATCH v3 18/40] misc/mei/hdcp: Closing wired HDCP2.2 Tx Session

2018-05-16 Thread Ramalingam C
On Wednesday 09 May 2018 07:32 PM, Shankar, Uma wrote: -Original Message- From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:28 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

[PATCH v4 17/41] misc/mei/hdcp: Enabling the HDCP authentication

2018-05-21 Thread Ramalingam C
[Uma] Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/misc/mei/hdcp/mei_hdcp.c | 55 include/linux/mei_hdcp.h | 7 + 2 files changed, 62 insertions(+) diff --git a/drivers/misc/mei/hdcp/mei_hdcp.c b/drivers/misc/me

[PATCH v4 23/41] drm/i915: Implement HDCP2.2 receiver authentication

2018-05-21 Thread Ramalingam C
defined. v2: Rebased. v3: No Changes. v4: %s/PARING/PAIRING Coding style fixing [Uma] Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/i915/intel_hdcp.c | 187 ++ 1 file changed, 187 insertions(+) diff --git a/drivers/g

[PATCH v4 22/41] drm/i915: Wrappers for mei HDCP2.2 services

2018-05-21 Thread Ramalingam C
Adds the wrapper for all mei hdcp2.2 service functions. v2: Rebased. v3: cldev is moved from mei_hdcp_data to hdcp. v4: %s/hdcp2_store_paring_info/hdcp2_store_pairing_info Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/i915/intel_hdcp.c

[PATCH v4 16/41] misc/mei/hdcp: Verify M_prime

2018-05-21 Thread Ramalingam C
is completed. v2: Rebased. v3: cldev is passed as first parameter [Tomas] Redundant comments and cast are removed [Tomas] v4: %zd for ssize_t [Alexander] %s/return -1/return -EIO [Alexander] endianness conversion func is moved to drm_hdcp.h [Uma] Signed-off-by: Ramalingam C <ramali

[PATCH v4 12/41] misc/mei/hdcp: Initiate Locality check

2018-05-21 Thread Ramalingam C
for ssize_t [Alexander] %s/return -1/return -EIO [Alexander] Style fixed [Uma] Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/misc/mei/hdcp/mei_hdcp.c | 57 include/linux/mei_hdcp.h | 10 +++ 2 files changed, 67 insertions(+)

[PATCH v4 36/41] drm/i915/gmbus: Increase the Bytes per Rd/Wr Op

2018-05-21 Thread Ramalingam C
of the macro.[Jani] v4: Extra brackets removed [ville] Commit msg is modified. v5: Adding the Reviewed-By received. Cc: Jani Nikula <jani.nik...@intel.com> Cc: Chris Wilson <ch...@chris-wilson.co.uk> Signed-off-by: Ramalingam C <ramalinga...@intel.com> Reviewed-by: Jan

[PATCH v4 35/41] drm/i915: Check HDCP 1.4 and 2.2 link on CP_IRQ

2018-05-21 Thread Ramalingam C
On DP HDCP1.4 and 2.2, when CP_IRQ is received, start the link integrity check for the HDCP version that is enabled. v2: Rebased. Function name is changed. v3: No Changes. v4: No Changes. Signed-off-by: Ramalingam C <ramalinga...@intel.com> cc: Sean Paul <seanp...@chr

[PATCH v4 40/41] drm/i915: Add HDCP2.2 support for DP connectors

2018-05-21 Thread Ramalingam C
On DP connector init, intel_hdcp_init is passed with a flag for hdcp2.2 support based on the platform capability. v2: Rebased. v3: No Changes. v4: Collected the reviewed-by received. Signed-off-by: Ramalingam C <ramalinga...@intel.com> Reviewed-by: Uma Shankar <uma.shan...@

[PATCH v4 39/41] drm/i915: Implement the HDCP2.2 support for HDMI

2018-05-21 Thread Ramalingam C
/PAIRING Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/i915/intel_hdmi.c | 186 ++ 1 file changed, 186 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c index a5cc73101acb..042205

[PATCH v4 38/41] drm/i915: Implement the HDCP2.2 support for DP

2018-05-21 Thread Ramalingam C
-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/i915/intel_dp.c | 358 ++ drivers/gpu/drm/i915/intel_drv.h | 7 + drivers/gpu/drm/i915/intel_hdcp.c | 5 + 3 files changed, 370 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/g

[PATCH v4 37/41] drm/i915/gmbus: Enable burst read

2018-05-21 Thread Ramalingam C
-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/i915/i915_drv.h | 3 ++ drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_i2c.c | 62 +--- 3 files changed, 56 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/i915/i915

[PATCH v4 32/41] drm/i915: Enable superior HDCP ver that is capable

2018-05-21 Thread Ramalingam C
fixed [Uma] Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/gpu/drm/i915/intel_hdcp.c | 77 +++ 1 file changed, 70 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_hdcp.c b/drivers/gpu/drm/i915/intel_hdcp.c

[PATCH v4 34/41] drm/i915: hdcp_check_link only on CP_IRQ

2018-05-21 Thread Ramalingam C
HDCP check link is invoked only on CP_IRQ detection, instead of all short pulses. v3: No Changes. v4: Added sean in cc and collected the reviewed-by received. Signed-off-by: Ramalingam C <ramalinga...@intel.com> cc: Sean Paul <seanp...@chromium.org> Reviewed-by: Uma Shank

Re: [Intel-gfx] [PATCH v3 39/40] drm/i915: Add HDCP2.2 support for DP connectors

2018-05-21 Thread Ramalingam C
On Friday 18 May 2018 10:07 PM, Shankar, Uma wrote: -Original Message- From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of Ramalingam C Sent: Tuesday, April 3, 2018 7:28 PM To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; seanp

Re: [Intel-gfx] [PATCH v3 11/40] misc/mei/hdcp: Store the HDCP Pairing info

2018-05-21 Thread Ramalingam C
Thanks Jani. I will use free form comments in v4, meanwhile i will explore the required stuff for kernel-doc and add kernel-doc entries where ever it makes sense, in upcoming versions. --Ram On Thursday 17 May 2018 01:47 PM, Jani Nikula wrote: On Thu, 17 May 2018, "C, Ramalingam"

[PATCH v4 05/41] misc/mei/hdcp: Notifier chain for mei cldev state change

2018-05-21 Thread Ramalingam C
functions as inline in mei_hdcp.h API for polling client device status IS_ENABLED used in header, for config status for mei_hdcp. Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/misc/mei/hdcp/mei_hdcp.c | 46 -- include/linux/mei_

[PATCH v4 03/41] mei: bus: whitelist hdcp client

2018-05-21 Thread Ramalingam C
From: Tomas Winkler Whitelist HDCP client for in kernel drm use v2: Rebased. v3: No changes. v4: No changes. Signed-off-by: Tomas Winkler --- drivers/misc/mei/bus-fixup.c | 16 1 file changed, 16 insertions(+) diff

[PATCH v4 06/41] misc/mei/hdcp: Define ME FW interface for HDCP2.2

2018-05-21 Thread Ramalingam C
-by: Ramalingam C <ramalinga...@intel.com> --- drivers/misc/mei/hdcp/mei_hdcp.h | 415 +++ 1 file changed, 415 insertions(+) create mode 100644 drivers/misc/mei/hdcp/mei_hdcp.h diff --git a/drivers/misc/mei/hdcp/mei_hdcp.h b/drivers/misc/mei/hdcp/mei_hdcp.h ne

[PATCH v4 00/41] drm/i915: Implement HDCP2.2

2018-05-21 Thread Ramalingam C
issues. GMBus changes are added here for completeness of the series. They are in review at https://patchwork.freedesktop.org/series/41632/ also. Ramalingam C (40): drm: hdcp2.2 authentication msg definitions drm: HDMI and DP specific HDCP2.2 defines misc/mei/hdcp: Client driver for HDCP

[PATCH v4 01/41] drm: hdcp2.2 authentication msg definitions

2018-05-21 Thread Ramalingam C
This patch defines the hdcp2.2 protocol messages for authentication. v2: bit_fields are removed. Instead bitmasking used. [Tomas and Jani] prefix HDCP_2_2_ is added to the macros. [Tomas] v3: No Changes. v4: Style and spellings are fixed [Uma] Signed-off-by: Ramalingam C <ramali

[PATCH v4 02/41] drm: HDMI and DP specific HDCP2.2 defines

2018-05-21 Thread Ramalingam C
] v3: No Changes. v4: Comments style and typos are fixed [Uma] Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- include/drm/drm_dp_helper.h | 51 + include/drm/drm_hdcp.h | 30 ++ 2 files changed, 81 inse

[PATCH v4 07/41] linux/mei: Header for mei_hdcp driver interface

2018-05-21 Thread Ramalingam C
Data structures and Enum for the I915-MEI_HDCP interface are defined at v2: Rebased. v3: mei_cl_device is removed from mei_hdcp_data [Tomas] v4: Comment style and typo fixed [Uma] Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- include/linux/mei_hdcp.

[PATCH v4 13/41] misc/mei/hdcp: Verify L_prime

2018-05-21 Thread Ramalingam C
are removed [Tomas] v4: %zd for ssize_t [Alexander] %s/return -1/return -EIO [Alexander] Style fixed [Uma] Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/misc/mei/hdcp/mei_hdcp.c | 60 include/linux/mei_hdcp.h | 8 +++

[PATCH v4 14/41] misc/mei/hdcp: Prepare Session Key

2018-05-21 Thread Ramalingam C
for ssize_t [Alexander] %s/return -1/return -EIO [Alexander] Style fixed [Uma] Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/misc/mei/hdcp/mei_hdcp.c | 59 include/linux/mei_hdcp.h | 8 ++ 2 files changed, 67 insertions(+)

[PATCH v4 15/41] misc/mei/hdcp: Repeater topology verification and ack

2018-05-21 Thread Ramalingam C
parameter [Tomas] Redundant comments and cast are removed [Tomas] v4: %zd for ssize_t [Alexander] %s/return -1/return -EIO [Alexander] Style and typos fixed [Uma] Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/misc/mei/hdcp/mei_hdcp.

[PATCH v4 04/41] misc/mei/hdcp: Client driver for HDCP application

2018-05-21 Thread Ramalingam C
: Squashed the Kbuild support [Tomas] UUID renamed and Module License is modified [Tomas] drv_data is set to null at remove [Tomas] v4: Module name is changed to "MEI HDCP" I915 Selects the MEI_HDCP Signed-off-by: Ramalingam C <ramalinga...@intel.com> Signed-off-by: Tomas Win

[PATCH v4 09/41] misc/mei/hdcp: Verify Receiver Cert and prepare km

2018-05-21 Thread Ramalingam C
] Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/misc/mei/hdcp/mei_hdcp.c | 83 include/linux/mei_hdcp.h | 17 2 files changed, 100 insertions(+) diff --git a/drivers/misc/mei/hdcp/mei_hdcp.c b/drivers/misc/mei/hdcp/mei_

[PATCH v4 10/41] misc/mei/hdcp: Verify H_prime

2018-05-21 Thread Ramalingam C
and cast are removed [Tomas] v4: %zd for ssize_t [Alexander] %s/return -1/return -EIO [Alexander] Styles and typos fixed [Uma] Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/misc/mei/hdcp/mei_hdcp.c | 59 include/linux/mei_

[PATCH v4 08/41] misc/mei/hdcp: Initiate Wired HDCP2.2 Tx Session

2018-05-21 Thread Ramalingam C
as a separate parameter [Tomas] Redundant comment and typecast are removed [Tomas] v4: %zd is used for size [Alexander] %s/return -1/return -EIO [Alexander] Spellings in commit msg is fixed [Uma] Signed-off-by: Ramalingam C <ramalinga...@intel.com> --- drivers/misc/mei/hdcp/mei_hdcp.

  1   2   3   4   >