Skip to contentSkip to conversation

HDCP Content Type Interface

DISCUSSION Lakha, Bhawanpreet 5 participants 9 messages Sep 9, 2019 – Sep 13, 2019

lore
Share & tools
lore
#0 lore raw

Hi all,

This is regarding the recent hdcp content type patch that was merged into drm-misc. (https://patchwork.freedesktop.org/patch/320958/?series=57233&rev=11)

There are displays on the market that advertise HDCP 2.2 support and will pass authentication and encryption but will then show a corrupted/blue/black screen (the driver cannot detect this). These displays work with HDCP 1.4 without any issues. Due to the large number of HDCP-supporting devices on the market we might not be able to catch them with a blacklist.

From the user modes perspective, HDCP1.4 and HDCP2.2 Type0 are the same thing. Meaning that this interface doesn't allow us to force the hdcp version. Due to the problems mentioned above we might want to expose the ability for a user to force an HDCP downgrade to a certain level (e.g. 1.4) in case they experience problems.

What are your thoughts? and what would be a good way to deal with it?

Thanks,

Bhawan

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw
Quoted 6 lines · Bhawanpreet

Hi all,

This is regarding the recent hdcp content type patch that was merged into
drm-misc. (https://patchwork.freedesktop.org/patch/320958/?series=57233&rev=11)

Quoted 6 lines

There are displays on the market that advertise HDCP 2.2 support and will pass authentication and encryption but will then show a corrupted/blue/black screen (the driver cannot detect this). These displays work with HDCP 1.4 without any issues. Due to the large number of HDCP-supporting devices on the market we might not be able to catch them with a blacklist.

Has this been confirmed with some other HDCP source than the recently merged HDCP 2.2 support? I.e. has it been confirmed the issue is really in the sinks rather than in the source support?

BR,
Jani.

Quoted 17 lines

From the user modes perspective, HDCP1.4 and HDCP2.2 Type0 are the same thing. Meaning that this interface doesn't allow us to force the hdcp version. Due to the problems mentioned above we might want to expose the ability for a user to force an HDCP downgrade to a certain level (e.g. 1.4) in case they experience problems.

What are your thoughts? and what would be a good way to deal with it?

Thanks,

Bhawan
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw
In reply to Lakha, Bhawanpreet
Quoted 9 lines · Bhawanpreet

Hi all,

This is regarding the recent hdcp content type patch that was merged into drm-misc. (https://patchwork.freedesktop.org/patch/320958/?series=57233&rev=11)

There are displays on the market that advertise HDCP 2.2 support and will pass authentication and encryption but will then show a corrupted/blue/black screen (the driver cannot detect this). These displays work with HDCP 1.4 without any issues. Due to the large number of HDCP-supporting devices on the market we might not be able to catch them with a blacklist.

From the user modes perspective, HDCP1.4 and HDCP2.2 Type0 are the same thing. Meaning that this interface doesn't allow us to force the hdcp version. Due to the problems mentioned above we might want to expose the ability for a user to force an HDCP downgrade to a certain level (e.g. 1.4) in case they experience problems.

What are your thoughts? and what would be a good way to deal with it?

Hi,

As you mentioned, uAPI is designed to be HDCP version agnostic. Kernel supposed to exercise the highest version of HDCP supported on panel and platform.

As we implement the HDCP spec support, if a device is non-compliant with HDCP spec after completing the HDCP authentication, I dont think we need to worry about it.

In case if you want to track and implement a quirk for it, like not to project the HDCP2.2 capability, you can use the receiver id of that panel to track it.

Thanks,
-Ram

Quoted 5 lines

Thanks,

Bhawan

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
Quoted 12 lines · Ramalingam C
Quoted 9 lines · Bhawanpreet

Hi all,

This is regarding the recent hdcp content type patch that was merged into drm-misc. (https://patchwork.freedesktop.org/patch/320958/?series=57233&rev=11)

There are displays on the market that advertise HDCP 2.2 support and will pass authentication and encryption but will then show a corrupted/blue/black screen (the driver cannot detect this). These displays work with HDCP 1.4 without any issues. Due to the large number of HDCP-supporting devices on the market we might not be able to catch them with a blacklist.

From the user modes perspective, HDCP1.4 and HDCP2.2 Type0 are the same thing. Meaning that this interface doesn't allow us to force the hdcp version. Due to the problems mentioned above we might want to expose the ability for a user to force an HDCP downgrade to a certain level (e.g. 1.4) in case they experience problems.

What are your thoughts? and what would be a good way to deal with it?

Hi,

Quoted 8 lines

As you mentioned, uAPI is designed to be HDCP version agnostic. Kernel supposed to exercise the highest version of HDCP supported on panel and platform.

As we implement the HDCP spec support, if a device is non-compliant with HDCP spec after completing the HDCP authentication, I dont think we need to worry about it.

Tell that to our (or your) customers.

In this case an enduser might plug in a bad monitor or TV and be unable to play protected content.

What if we add a new enum value to the content_type property that says "DRM_MODE_HDCP_CONTENT_TYPE_FORCE_14"?

Harry

Quoted 11 lines

In case if you want to track and implement a quirk for it, like not to project the HDCP2.2 capability, you can use the receiver id of that panel to track it.

Thanks,
-Ram

Quoted 5 lines

Thanks,

Bhawan

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
Quoted 22 lines · Harry Wentland
Quoted 12 lines · Ramalingam C
Quoted 9 lines · Bhawanpreet

Hi all,

This is regarding the recent hdcp content type patch that was merged into drm-misc. (https://patchwork.freedesktop.org/patch/320958/?series=57233&rev=11)

There are displays on the market that advertise HDCP 2.2 support and will pass authentication and encryption but will then show a corrupted/blue/black screen (the driver cannot detect this). These displays work with HDCP 1.4 without any issues. Due to the large number of HDCP-supporting devices on the market we might not be able to catch them with a blacklist.

From the user modes perspective, HDCP1.4 and HDCP2.2 Type0 are the same thing. Meaning that this interface doesn't allow us to force the hdcp version. Due to the problems mentioned above we might want to expose the ability for a user to force an HDCP downgrade to a certain level (e.g. 1.4) in case they experience problems.

What are your thoughts? and what would be a good way to deal with it?

Hi,

Quoted 8 lines

As you mentioned, uAPI is designed to be HDCP version agnostic. Kernel supposed to exercise the highest version of HDCP supported on panel and platform.

As we implement the HDCP spec support, if a device is non-compliant with HDCP spec after completing the HDCP authentication, I dont think we need to worry about it.

Quoted 7 lines

Tell that to our (or your) customers.

In this case an enduser might plug in a bad monitor or TV and be unable to play protected content.

What if we add a new enum value to the content_type property that says "DRM_MODE_HDCP_CONTENT_TYPE_FORCE_14"?

"content type" is for defining the stream type. Adding an entry into it sounds like polluting it.

Separate uAPI for forcing a HDCP version might be need. Or wondering on using the sysfs of connector for this dirty job!?

-Ram

Quoted 14 lines

Harry

Quoted 11 lines

In case if you want to track and implement a quirk for it, like not to project the HDCP2.2 capability, you can use the receiver id of that panel to track it.

Thanks,
-Ram

Quoted 5 lines

Thanks,

Bhawan

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
Quoted 25 lines · Ramalingam C
Quoted 24 lines · Harry Wentland
Quoted 12 lines · Ramalingam C
Quoted 9 lines · Bhawanpreet

Hi all,

This is regarding the recent hdcp content type patch that was merged into drm-misc. (https://patchwork.freedesktop.org/patch/320958/?series=57233&rev=11)

There are displays on the market that advertise HDCP 2.2 support and will pass authentication and encryption but will then show a corrupted/blue/black screen (the driver cannot detect this). These displays work with HDCP 1.4 without any issues. Due to the large number of HDCP-supporting devices on the market we might not be able to catch them with a blacklist.

From the user modes perspective, HDCP1.4 and HDCP2.2 Type0 are the same thing. Meaning that this interface doesn't allow us to force the hdcp version. Due to the problems mentioned above we might want to expose the ability for a user to force an HDCP downgrade to a certain level (e.g. 1.4) in case they experience problems.

What are your thoughts? and what would be a good way to deal with it?

Hi,

Quoted 8 lines

As you mentioned, uAPI is designed to be HDCP version agnostic. Kernel supposed to exercise the highest version of HDCP supported on panel and platform.

As we implement the HDCP spec support, if a device is non-compliant with HDCP spec after completing the HDCP authentication, I dont think we need to worry about it.

Tell that to our (or your) customers.

Quoted 8 lines
Quoted 5 lines

In this case an enduser might plug in a bad monitor or TV and be unable to play protected content.

What if we add a new enum value to the content_type property that says "DRM_MODE_HDCP_CONTENT_TYPE_FORCE_14"?

"content type" is for defining the stream type. Adding an entry into it sounds like polluting it.

For sure

Quoted 3 lines

Separate uAPI for forcing a HDCP version might be need. Or wondering on using the sysfs of connector for this dirty job!?

Did a bit more digging...

On other OS we got a monitor quirk for a few displays and also something similar to a module parameter to force disable HDCP 2.x support.

It looks like there aren't too many quirky receivers so that might be an acceptable solution. I'm still thinking a connector property might be useful to force a certain HDCP version but maybe I'm overthinking it.

Harry

Quoted 15 lines

-Ram

Quoted 14 lines

Harry

Quoted 11 lines

In case if you want to track and implement a quirk for it, like not to project the HDCP2.2 capability, you can use the receiver id of that panel to track it.

Thanks,
-Ram

Quoted 5 lines

Thanks,

Bhawan

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to Harry Wentland
Quoted 17 lines · Harry Wentland
Quoted 16 lines · Ramalingam C
Quoted 9 lines · Bhawanpreet

Hi all,

This is regarding the recent hdcp content type patch that was merged into drm-misc. (https://patchwork.freedesktop.org/patch/320958/?series=57233&rev=11)

There are displays on the market that advertise HDCP 2.2 support and will pass authentication and encryption but will then show a corrupted/blue/black screen (the driver cannot detect this). These displays work with HDCP 1.4 without any issues. Due to the large number of HDCP-supporting devices on the market we might not be able to catch them with a blacklist.

From the user modes perspective, HDCP1.4 and HDCP2.2 Type0 are the same thing. Meaning that this interface doesn't allow us to force the hdcp version. Due to the problems mentioned above we might want to expose the ability for a user to force an HDCP downgrade to a certain level (e.g. 1.4) in case they experience problems.

What are your thoughts? and what would be a good way to deal with it?

Hi,

As you mentioned, uAPI is designed to be HDCP version agnostic. Kernel supposed to exercise the highest version of HDCP supported on panel and platform.

Quoted 6 lines
Quoted 4 lines

As we implement the HDCP spec support, if a device is non-compliant with HDCP spec after completing the HDCP authentication, I dont think we need to worry about it.

Tell that to our (or your) customers.

Agreed, let's rather not.

Quoted 5 lines

In this case an enduser might plug in a bad monitor or TV and be unable to play protected content.

What if we add a new enum value to the content_type property that says "DRM_MODE_HDCP_CONTENT_TYPE_FORCE_14"?

In general, I think if the fix is to teach the user to jump through hoops in case the output is not working, it is really not a fix.

Would, say, a set top box or a Blu-ray player have a setting to force HDCP 1.4, and a troubleshooting item in the manual to select that if the display does not work? Or would OS X have that?

If broken HDCP 2.2 sink support is a widespread problem (is it?), what do other HDCP sources do? If it's a Linux issue, what are we doing wrong or different?

BR,
Jani.

Quoted 18 lines

Harry

Quoted 11 lines

In case if you want to track and implement a quirk for it, like not to project the HDCP2.2 capability, you can use the receiver id of that panel to track it.

Thanks,
-Ram

Quoted 5 lines

Thanks,

Bhawan

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw
Quoted 33 lines · Jani Nikula
Quoted 17 lines · Harry Wentland
Quoted 16 lines · Ramalingam C
Quoted 9 lines · Bhawanpreet

Hi all,

This is regarding the recent hdcp content type patch that was merged into drm-misc. (https://patchwork.freedesktop.org/patch/320958/?series=57233&rev=11)

There are displays on the market that advertise HDCP 2.2 support and will pass authentication and encryption but will then show a corrupted/blue/black screen (the driver cannot detect this). These displays work with HDCP 1.4 without any issues. Due to the large number of HDCP-supporting devices on the market we might not be able to catch them with a blacklist.

From the user modes perspective, HDCP1.4 and HDCP2.2 Type0 are the same thing. Meaning that this interface doesn't allow us to force the hdcp version. Due to the problems mentioned above we might want to expose the ability for a user to force an HDCP downgrade to a certain level (e.g. 1.4) in case they experience problems.

What are your thoughts? and what would be a good way to deal with it?

Hi,

As you mentioned, uAPI is designed to be HDCP version agnostic. Kernel supposed to exercise the highest version of HDCP supported on panel and platform.

Quoted 6 lines
Quoted 4 lines

As we implement the HDCP spec support, if a device is non-compliant with HDCP spec after completing the HDCP authentication, I dont think we need to worry about it.

Tell that to our (or your) customers.

Agreed, let's rather not.

Quoted 5 lines

In this case an enduser might plug in a bad monitor or TV and be unable to play protected content.

What if we add a new enum value to the content_type property that says "DRM_MODE_HDCP_CONTENT_TYPE_FORCE_14"?

Quoted 7 lines

In general, I think if the fix is to teach the user to jump through hoops in case the output is not working, it is really not a fix.

Would, say, a set top box or a Blu-ray player have a setting to force HDCP 1.4, and a troubleshooting item in the manual to select that if the display does not work? Or would OS X have that?

Not sure. AFAIU on other OS we're currently dealing with this through monitor quirks. We can probably pull the same quirks to DRM.

Quoted 3 lines

If broken HDCP 2.2 sink support is a widespread problem (is it?), what do other HDCP sources do? If it's a Linux issue, what are we doing wrong or different?

Not a Linux issue and not overly widespread. Looks like a handful of receivers are problematic.

Harry

Quoted 26 lines

BR,
Jani.

Quoted 18 lines

Harry

Quoted 11 lines

In case if you want to track and implement a quirk for it, like not to project the HDCP2.2 capability, you can use the receiver id of that panel to track it.

Thanks,
-Ram

Quoted 5 lines

Thanks,

Bhawan

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
Quoted 48 lines · Harry Wentland
Quoted 33 lines · Jani Nikula
Quoted 17 lines · Harry Wentland
Quoted 16 lines · Ramalingam C
Quoted 9 lines · Bhawanpreet

Hi all,

This is regarding the recent hdcp content type patch that was merged into drm-misc. (https://patchwork.freedesktop.org/patch/320958/?series=57233&rev=11)

There are displays on the market that advertise HDCP 2.2 support and will pass authentication and encryption but will then show a corrupted/blue/black screen (the driver cannot detect this). These displays work with HDCP 1.4 without any issues. Due to the large number of HDCP-supporting devices on the market we might not be able to catch them with a blacklist.

From the user modes perspective, HDCP1.4 and HDCP2.2 Type0 are the same thing. Meaning that this interface doesn't allow us to force the hdcp version. Due to the problems mentioned above we might want to expose the ability for a user to force an HDCP downgrade to a certain level (e.g. 1.4) in case they experience problems.

What are your thoughts? and what would be a good way to deal with it?

Hi,

As you mentioned, uAPI is designed to be HDCP version agnostic. Kernel supposed to exercise the highest version of HDCP supported on panel and platform.

Quoted 6 lines
Quoted 4 lines

As we implement the HDCP spec support, if a device is non-compliant with HDCP spec after completing the HDCP authentication, I dont think we need to worry about it.

Tell that to our (or your) customers.

Agreed, let's rather not.

Quoted 5 lines

In this case an enduser might plug in a bad monitor or TV and be unable to play protected content.

What if we add a new enum value to the content_type property that says "DRM_MODE_HDCP_CONTENT_TYPE_FORCE_14"?

Quoted 7 lines

In general, I think if the fix is to teach the user to jump through hoops in case the output is not working, it is really not a fix.

Would, say, a set top box or a Blu-ray player have a setting to force HDCP 1.4, and a troubleshooting item in the manual to select that if the display does not work? Or would OS X have that?

Not sure. AFAIU on other OS we're currently dealing with this through monitor quirks. We can probably pull the same quirks to DRM.

Quoted 6 lines
Quoted 3 lines

If broken HDCP 2.2 sink support is a widespread problem (is it?), what do other HDCP sources do? If it's a Linux issue, what are we doing wrong or different?

Not a Linux issue and not overly widespread. Looks like a handful of receivers are problematic.

Could we just mass-import that quirk list (since it seems it's not unreasonable big) and be done with this?
-Daniel

Quoted 28 lines

Harry

Quoted 26 lines

BR,
Jani.

Quoted 18 lines

Harry

Quoted 11 lines

In case if you want to track and implement a quirk for it, like not to project the HDCP2.2 capability, you can use the receiver id of that panel to track it.

Thanks,
-Ram

Quoted 5 lines

Thanks,

Bhawan

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel