XenevaOS
Loading...
Searching...
No Matches
XenevaOS
BaseHdr
drm
display
drm_dp.h
Go to the documentation of this file.
1
#ifndef __DRM_DISPLAY_DRM_DP_H__
2
#define __DRM_DISPLAY_DRM_DP_H__
3
4
/*
5
* The two definitions Vendored/drivers/video/hdmi.c needs from mainline's
6
* 2245-line <drm/display/drm_dp.h>: its hdmi_audio_infoframe_pack_for_dp()
7
* takes a struct dp_sdp and writes 0x1b into the SDP header's HB2 byte
8
* (hdmi.c:511-519). The rest of the header is the DP link-training/register
9
* surface, none of which anything in this tree names -- it was never ported,
10
* and this file exists so the one include resolves without it. Grow it when
11
* a consumer asks, the same rule the other BaseHdr stubs follow.
12
*
13
* mainline: include/drm/display/drm_dp.h:1718, :1727, :1759.
14
*/
15
16
#include <
linux/types.h
>
/* u8, __packed -- mainline's own first include */
17
18
#define DP_SDP_AUDIO_INFOFRAME_HB2 0x1b
19
20
struct
dp_sdp_header
{
21
u8
HB0
;
22
u8
HB1
;
23
u8
HB2
;
24
u8
HB3
;
25
}
__packed
;
26
27
struct
dp_sdp
{
28
struct
dp_sdp_header
sdp_header
;
29
u8
db
[32];
30
}
__packed
;
31
32
#endif
/* __DRM_DISPLAY_DRM_DP_H__ */
types.h
__packed
struct dp_sdp_header __packed
u8
uint8_t u8
Definition
kernel.h:14
dp_sdp_header
Definition
drm_dp.h:20
dp_sdp_header::HB3
u8 HB3
Definition
drm_dp.h:24
dp_sdp_header::HB1
u8 HB1
Definition
drm_dp.h:22
dp_sdp_header::HB2
u8 HB2
Definition
drm_dp.h:23
dp_sdp_header::HB0
u8 HB0
Definition
drm_dp.h:21
dp_sdp
Definition
drm_dp.h:27
dp_sdp::sdp_header
struct dp_sdp_header sdp_header
Definition
drm_dp.h:28
dp_sdp::db
u8 db[32]
Definition
drm_dp.h:29
Generated by
1.9.8