Em Qua, 2016-08-17 às 12:02 -0700, Dhinakaran Pandiyan escreveu:
> Since a DRM function that reads link DP link status is available,
> let's
> use that instead of the i915 clone.
One could describe the i915 function as a convenient wrapper instead of
a clone, since it allows passing just intel_dp
Since a DRM function that reads link DP link status is available, let's
use that instead of the i915 clone.
drm_dp_dpcd_read_link_status() returns a negative error code if the number
of bytes read is not DP_LINK_STATUS_SIZE, drm_dp_dpcd_access() does the
length check.
Signed-off-by: Dhinakaran
Please ignore this, I am resubmitting this as an independent patch.
-DK
On Thu, 2016-08-11 at 13:49 -0700, Dhinakaran Pandiyan wrote:
> Since a DRM function that reads link DP link status is available, let's
> use that instead of the i915 clone.
>
> drm_dp_dpcd_read_link_status() returns a
Since a DRM function that reads link DP link status is available, let's
use that instead of the i915 clone.
drm_dp_dpcd_read_link_status() returns a negative error code if the number
of bytes read is not DP_LINK_STATUS_SIZE, drm_dp_dpcd_access() does the
length check.
Signed-off-by: Dhinakaran