Sun Dec 19 00:56:58 2021 UTC ()
Add some necessry header files.


(riastradh)
diff -r1.4 -r1.5 src/sys/external/bsd/drm2/dist/include/drm/drm_dp_helper.h

cvs diff -r1.4 -r1.5 src/sys/external/bsd/drm2/dist/include/drm/drm_dp_helper.h (expand / switch to unified diff)

--- src/sys/external/bsd/drm2/dist/include/drm/drm_dp_helper.h 2021/12/18 23:45:45 1.4
+++ src/sys/external/bsd/drm2/dist/include/drm/drm_dp_helper.h 2021/12/19 00:56:58 1.5
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: drm_dp_helper.h,v 1.4 2021/12/18 23:45:45 riastradh Exp $ */ 1/* $NetBSD: drm_dp_helper.h,v 1.5 2021/12/19 00:56:58 riastradh Exp $ */
2 2
3/* 3/*
4 * Copyright © 2008 Keith Packard 4 * Copyright © 2008 Keith Packard
5 * 5 *
6 * Permission to use, copy, modify, distribute, and sell this software and its 6 * Permission to use, copy, modify, distribute, and sell this software and its
7 * documentation for any purpose is hereby granted without fee, provided that 7 * documentation for any purpose is hereby granted without fee, provided that
8 * the above copyright notice appear in all copies and that both that copyright 8 * the above copyright notice appear in all copies and that both that copyright
9 * notice and this permission notice appear in supporting documentation, and 9 * notice and this permission notice appear in supporting documentation, and
10 * that the name of the copyright holders not be used in advertising or 10 * that the name of the copyright holders not be used in advertising or
11 * publicity pertaining to distribution of the software without specific, 11 * publicity pertaining to distribution of the software without specific,
12 * written prior permission. The copyright holders make no representations 12 * written prior permission. The copyright holders make no representations
13 * about the suitability of this software for any purpose. It is provided "as 13 * about the suitability of this software for any purpose. It is provided "as
14 * is" without express or implied warranty. 14 * is" without express or implied warranty.
@@ -18,26 +18,27 @@ @@ -18,26 +18,27 @@
18 * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR 18 * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
19 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 19 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
20 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 20 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
21 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 21 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
22 * OF THIS SOFTWARE. 22 * OF THIS SOFTWARE.
23 */ 23 */
24 24
25#ifndef _DRM_DP_HELPER_H_ 25#ifndef _DRM_DP_HELPER_H_
26#define _DRM_DP_HELPER_H_ 26#define _DRM_DP_HELPER_H_
27 27
28#include <linux/delay.h> 28#include <linux/delay.h>
29#include <linux/i2c.h> 29#include <linux/i2c.h>
30#include <linux/types.h> 30#include <linux/types.h>
 31#include <linux/workqueue.h>
31 32
32/* 33/*
33 * Unless otherwise noted, all values are from the DP 1.1a spec. Note that 34 * Unless otherwise noted, all values are from the DP 1.1a spec. Note that
34 * DP and DPCD versions are independent. Differences from 1.0 are not noted, 35 * DP and DPCD versions are independent. Differences from 1.0 are not noted,
35 * 1.0 devices basically don't exist in the wild. 36 * 1.0 devices basically don't exist in the wild.
36 * 37 *
37 * Abbreviations, in chronological order: 38 * Abbreviations, in chronological order:
38 * 39 *
39 * eDP: Embedded DisplayPort version 1 40 * eDP: Embedded DisplayPort version 1
40 * DPI: DisplayPort Interoperability Guideline v1.1a 41 * DPI: DisplayPort Interoperability Guideline v1.1a
41 * 1.2: DisplayPort 1.2 42 * 1.2: DisplayPort 1.2
42 * MST: Multistream Transport - part of DP 1.2a 43 * MST: Multistream Transport - part of DP 1.2a
43 * 44 *