[PATCH 2/2] drm: Add Content Protection Desired property to drm

Rob Clark robdclark at gmail.com
Thu Dec 4 07:47:25 PST 2014


On Thu, Dec 4, 2014 at 5:03 AM, Daniel Vetter <daniel at ffwll.ch> wrote:
> On Wed, Dec 03, 2014 at 11:31:47PM +0200, Ville Syrjälä wrote:
>> On Wed, Dec 03, 2014 at 11:57:41AM -0800, Sean Paul wrote:
>> > Add a new standard connector property to track whether content protection
>> > (ex: hdcp) is desired by userspace. While there are 3 possible states for the
>> > property, userspace should only change the value to desired or undesired.
>> > Upon setting the value to desired, the driver is responsible for protecting
>> > the link and setting the value to enabled. Disabling protection should happen
>> > immediately.
>>
>> Having a magic part r/w part r/o property doesn't sound very appealing
>> to me. I'm thinking it would be cleaner to just have two properties for
>> such things.
>
> Yeah I think we should have a separate property which displays the current
> sink key/id to indicate to userspace whether hdcp is established and to
> what sink it's locked.
>
> And we should have an upstream implementation to review, not just the doc
> update, too.

Since we are starting to get patches for driver support for HDCP, I'd
asked Sean to send this patch to get the process going on what we want
the interface to look like.  It is fine to defer merging until we have
driver bits to go along with it, but either way I think now is a good
time to sort out what we want it to look like from userspace

BR,
-R


> -Daniel
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list