<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Scott,</p>
<p>I am working on enabling the HDCP1.4 and 2.2 in kernel and Weston
from Intel. Would like to share some points here.<br>
</p>
<div class="moz-cite-prefix">On 11/21/2018 7:35 AM, Scott Anderson
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:48e7a313-15a5-a80f-61f7-ae1989baae92@collabora.com">Hi,
<br>
<br>
As far as I understand, the different types and versions of
protection a client would want is based on the resolution of the
content, rather than anything about what the content actually is.
Is there any particular reason a client would care if their
content is being used on a higher HDCP version than is necessary?
e.g. would a client with 720p content care about using HDCP 2.2?
<br>
<br>
If that's the case, I think it would make sense for the compositor
to always try to negotitate the strongest level of protection that
it can (or a lower level if set by some policy), and report to the
client the largest resolution that it can support securely. With
that, the client can then make the decision about what content it
can provide.
<br>
<br>
<interface name="...">
<br>
<event name="secure_resolution">
<br>
<arg name="width", type="int">
<br>
<arg name="height", type="int">
<br>
<arg name="refresh", type="int">
<br>
</event>
<br>
</interface>
<br>
<br>
This would remove a lot of the back-and-forth between the client
and the compositor, where the client says what content it has, and
the compositor saying if it can securely display it.
<br>
</blockquote>
<pre>But the problem is HDCP2.2 spec leave the content type classification(type 0 and Type 1) to the content provider (in our case client).</pre>
<pre>As you mentioned these type classifications just mandates the minimum HDCP spec that they need to be authenticated with.
Like Type 0 content can be transmitted to HDCP1.4 /2.2 authenticated digital sink but where as Type 1
has to be transmitted the HDCP2.2 authenticated digital sink.
Considering this we can see that type of content should come from content providers (clients). And as pekka mentioned in runtime
any surfaces can be dragged to any output, compositor/hdcp protocol server will make sure all the required sinks are
authenticated with minimum required HDCP spec. And clients trust the compositors on the status events generated.
These HDCP protection status prone to break incase of new hotplug. So compositor needs to give the status as
whether content protection status has met the type requirement from client or not.
In this way IMHO we need not tag the surface whether protected or not and filter them on outputs based on their content protection status.
Based on the compositor events let the surface provider (client) decide whether required HDCP status is met to render the protected surface or not.
This makes the design simple and to the requirement. Please point me out if something is missed in this approach.
Thanks,
--Ram
</pre>
<blockquote type="cite"
cite="mid:48e7a313-15a5-a80f-61f7-ae1989baae92@collabora.com">
<br>
This event could also be re-emitted when the protection status
changes. There could also be the special case of 0x0, where the
compositor failed to negotiate any secure connection, and no
resolution is secure.
<br>
<br>
A compositor may also choose to emit this signal based on what
output the client is set to display on, but that would probably be
left up to the compositor policy. It's possible that wl_output
could be integrated into this somehow, but I haven't thought too
much about how yet.
<br>
<br>
Scott
<br>
_______________________________________________
<br>
wayland-devel mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/wayland-devel">https://lists.freedesktop.org/mailman/listinfo/wayland-devel</a>
<br>
</blockquote>
</body>
</html>