drm/dp: Add drm_dp_dpcd_read_link_status()
authorThierry Reding <treding@nvidia.com>
Fri, 22 Nov 2013 15:37:57 +0000 (16:37 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 26 Feb 2014 16:21:33 +0000 (17:21 +0100)
commit8d4adc6a5807ca51999421b4d6d4f193c95775ba
treeca44fc42336d1a5d786f89fada9f9a9cb6d25a2e
parentc197db75ff5c1d4f015c7668a3715e230a5d7e27
drm/dp: Add drm_dp_dpcd_read_link_status()

The function reads the link status (6 bytes starting at offset 0x202)
from the DPCD so that it can be conveniently passed to other DPCD
helpers.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/drm_dp_helper.c
include/drm/drm_dp_helper.h