1*b1dda779Sriastradh /* $NetBSD: drm_hdcp.c,v 1.1 2021/12/19 11:49:35 riastradh Exp $ */
2*b1dda779Sriastradh
3*b1dda779Sriastradh /*-
4*b1dda779Sriastradh * Copyright (c) 2021 The NetBSD Foundation, Inc.
5*b1dda779Sriastradh * All rights reserved.
6*b1dda779Sriastradh *
7*b1dda779Sriastradh * Redistribution and use in source and binary forms, with or without
8*b1dda779Sriastradh * modification, are permitted provided that the following conditions
9*b1dda779Sriastradh * are met:
10*b1dda779Sriastradh * 1. Redistributions of source code must retain the above copyright
11*b1dda779Sriastradh * notice, this list of conditions and the following disclaimer.
12*b1dda779Sriastradh * 2. Redistributions in binary form must reproduce the above copyright
13*b1dda779Sriastradh * notice, this list of conditions and the following disclaimer in the
14*b1dda779Sriastradh * documentation and/or other materials provided with the distribution.
15*b1dda779Sriastradh *
16*b1dda779Sriastradh * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
17*b1dda779Sriastradh * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
18*b1dda779Sriastradh * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19*b1dda779Sriastradh * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
20*b1dda779Sriastradh * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21*b1dda779Sriastradh * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22*b1dda779Sriastradh * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23*b1dda779Sriastradh * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24*b1dda779Sriastradh * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25*b1dda779Sriastradh * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26*b1dda779Sriastradh * POSSIBILITY OF SUCH DAMAGE.
27*b1dda779Sriastradh */
28*b1dda779Sriastradh
29*b1dda779Sriastradh #include <sys/cdefs.h>
30*b1dda779Sriastradh __KERNEL_RCSID(0, "$NetBSD: drm_hdcp.c,v 1.1 2021/12/19 11:49:35 riastradh Exp $");
31*b1dda779Sriastradh
32*b1dda779Sriastradh #include <sys/errno.h>
33*b1dda779Sriastradh
34*b1dda779Sriastradh #include <drm/drm_hdcp.h>
35*b1dda779Sriastradh
36*b1dda779Sriastradh bool
drm_hdcp_check_ksvs_revoked(struct drm_device * dev,u8 * ksvs,u32 ksv_count)37*b1dda779Sriastradh drm_hdcp_check_ksvs_revoked(struct drm_device *dev, u8 *ksvs, u32 ksv_count)
38*b1dda779Sriastradh {
39*b1dda779Sriastradh
40*b1dda779Sriastradh return false;
41*b1dda779Sriastradh }
42*b1dda779Sriastradh
43*b1dda779Sriastradh int
drm_connector_attach_content_protection_property(struct drm_connector * connector,bool hdcp_content_type)44*b1dda779Sriastradh drm_connector_attach_content_protection_property(
45*b1dda779Sriastradh struct drm_connector *connector, bool hdcp_content_type)
46*b1dda779Sriastradh {
47*b1dda779Sriastradh
48*b1dda779Sriastradh return -ENOSYS;
49*b1dda779Sriastradh }
50*b1dda779Sriastradh
51*b1dda779Sriastradh void
drm_hdcp_update_content_protection(struct drm_connector * connector,u64 val)52*b1dda779Sriastradh drm_hdcp_update_content_protection(struct drm_connector *connector, u64 val)
53*b1dda779Sriastradh {
54*b1dda779Sriastradh }
55