---
name: "drm_dp_dpcd_read_link_status"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_dp_dpcd_read_link_status"
---

# drm\_dp\_dpcd\_read\_link\_status(9)

read DPCD link status (bytes 0x202-0x207)

## NAME

drm\_dp\_dpcd\_read\_link\_status - read DPCD link status (bytes 0x202-0x207)

## SYNOPSIS

**int drm\_dp\_dpcd\_read\_link\_status(struct drm\_dp\_aux \*** *aux***, u8** *status\[DP\_LINK\_STATUS\_SIZE\]***);**

## ARGUMENTS

*aux*

DisplayPort AUX channel

*status\[DP\_LINK\_STATUS\_SIZE\]*

buffer to store the link status in (must be at least 6 bytes)

## DESCRIPTION

Returns the number of bytes transferred on success or a negative error code on failure.

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
