[PATCH v3 9/9] drm/i915: Implement HDCP for DisplayPort
Ramalingam C
ramalingam.c at intel.com
Tue Dec 5 14:30:57 UTC 2017
On Tuesday 05 December 2017 10:45 AM, Sean Paul wrote:
> +static
> +bool intel_dp_hdcp_check_link(struct intel_digital_port *intel_dig_port)
> +{
> + ssize_t ret;
> + u8 bstatus;
> + ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, DP_AUX_HDCP_BSTATUS,
> + &bstatus, 1);
> + if (ret != 1) {
> + DRM_ERROR("Read bstatus from DP/AUX failed (%ld)\n", ret);
> + return ret >= 0 ? -EIO : ret;
> + }
> + return !(bstatus & DP_BSTATUS_LINK_FAILURE);
> +}
as per link integrity check should cover other indication from the
repeater like
REAUTHENTICATION_REQUEST - request for reauth due to unauthenticated
state at downstream for some unknown reason
-Ram
More information about the dri-devel
mailing list