[PATCH v3 3/4] drm/dp: Add DisplayPort link helpers

2014-01-21 Thread Thierry Reding
On Fri, Jan 17, 2014 at 03:22:08PM +0200, Jani Nikula wrote: > On Tue, 14 Jan 2014, Thierry Reding wrote: [...] > > +int drm_dp_link_probe(struct drm_dp_aux *aux, struct drm_dp_link *link) > > +{ > > + u8 values[3]; > > + int err; > > + > > + memset(link, 0, sizeof(*link)); > > + > > + err

[PATCH v3 3/4] drm/dp: Add DisplayPort link helpers

2014-01-17 Thread Jani Nikula
On Tue, 14 Jan 2014, Thierry Reding wrote: > Add a helper to probe a DP link (read out the supported DPCD revision, > maximum rate, link count and capabilities) as well as power up the DP > link and configure it accordingly. > > Signed-off-by: Thierry Reding > --- > Changes in v3: > - split into

[PATCH v3 3/4] drm/dp: Add DisplayPort link helpers

2014-01-15 Thread Thierry Reding
On Tue, Jan 14, 2014 at 10:52:55AM -0500, Alex Deucher wrote: > On Tue, Jan 14, 2014 at 9:55 AM, Thierry Reding > wrote: [...] > > +/** > > + * drm_dp_link_configure() - configure a DisplayPort link > > + * @aux: DisplayPort AUX cahnnel > > + * @link: pointer to a structure containing the link co

[PATCH v3 3/4] drm/dp: Add DisplayPort link helpers

2014-01-14 Thread Thierry Reding
Add a helper to probe a DP link (read out the supported DPCD revision, maximum rate, link count and capabilities) as well as power up the DP link and configure it accordingly. Signed-off-by: Thierry Reding --- Changes in v3: - split into drm_dp_link_power_up() and drm_dp_link_configure() - do not

[PATCH v3 3/4] drm/dp: Add DisplayPort link helpers

2014-01-14 Thread Alex Deucher
On Tue, Jan 14, 2014 at 9:55 AM, Thierry Reding wrote: > Add a helper to probe a DP link (read out the supported DPCD revision, > maximum rate, link count and capabilities) as well as power up the DP > link and configure it accordingly. > > Signed-off-by: Thierry Reding > --- > Changes in v3: > -