diff mbox

[2/3] drm: Add DP port types from DP 1.3 specification

Message ID 1462275998-4864-3-git-send-email-mika.kahola@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Mika Kahola May 3, 2016, 11:46 a.m. UTC
DP specification 1.3 defines DP downstream ports for
DP++ and wireless devices. Let's add these to port
definitions.

Signed-off-by: Mika Kahola <mika.kahola@intel.com>
---
 include/drm/drm_dp_helper.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Ilia Mirkin May 3, 2016, 2:35 p.m. UTC | #1
On May 3, 2016 9:49 AM, "Mika Kahola" <mika.kahola@intel.com> wrote:
>
> DP specification 1.3 defines DP downstream ports for
> DP++ and wireless devices. Let's add these to port
> definitions.
>
> Signed-off-by: Mika Kahola <mika.kahola@intel.com>
> ---
>  include/drm/drm_dp_helper.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
> index 92d9a52..9a15099 100644
> --- a/include/drm/drm_dp_helper.h
> +++ b/include/drm/drm_dp_helper.h
> @@ -210,6 +210,8 @@
>  # define DP_DS_PORT_TYPE_DVI               2
>  # define DP_DS_PORT_TYPE_HDMI              3
>  # define DP_DS_PORT_TYPE_NON_EDID          4
> +# define DP_DP_PORT_TYPE_DP_DUALMODE        5

DP_DS right? (Like all the others)

> +# define DP_DS_PORT_TYPE_WIRELESS           6
>  # define DP_DS_PORT_HPD                            (1 << 3)
>  /* offset 1 for VGA is maximum megapixels per second / 8 */
>  /* offset 2 */
> --
> 1.9.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
Mika Kahola May 4, 2016, 10:22 a.m. UTC | #2
On Tue, 2016-05-03 at 10:35 -0400, Ilia Mirkin wrote:
> 
> On May 3, 2016 9:49 AM, "Mika Kahola" <mika.kahola@intel.com> wrote:
> >
> > DP specification 1.3 defines DP downstream ports for
> > DP++ and wireless devices. Let's add these to port
> > definitions.
> >
> > Signed-off-by: Mika Kahola <mika.kahola@intel.com>
> > ---
> >  include/drm/drm_dp_helper.h | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/include/drm/drm_dp_helper.h
> b/include/drm/drm_dp_helper.h
> > index 92d9a52..9a15099 100644
> > --- a/include/drm/drm_dp_helper.h
> > +++ b/include/drm/drm_dp_helper.h
> > @@ -210,6 +210,8 @@
> >  # define DP_DS_PORT_TYPE_DVI               2
> >  # define DP_DS_PORT_TYPE_HDMI              3
> >  # define DP_DS_PORT_TYPE_NON_EDID          4
> > +# define DP_DP_PORT_TYPE_DP_DUALMODE        5
> 
> DP_DS right? (Like all the others)
Indeed, that's a typo. I'll throw another round to fix this. Good catch!

Cheers,
Mika
> 
> > +# define DP_DS_PORT_TYPE_WIRELESS           6
> >  # define DP_DS_PORT_HPD                            (1 << 3)
> >  /* offset 1 for VGA is maximum megapixels per second / 8 */
> >  /* offset 2 */
> > --
> > 1.9.1
> >
> > _______________________________________________
> > dri-devel mailing list
> > dri-devel@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/dri-devel
> 
>
diff mbox

Patch

diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
index 92d9a52..9a15099 100644
--- a/include/drm/drm_dp_helper.h
+++ b/include/drm/drm_dp_helper.h
@@ -210,6 +210,8 @@ 
 # define DP_DS_PORT_TYPE_DVI		    2
 # define DP_DS_PORT_TYPE_HDMI		    3
 # define DP_DS_PORT_TYPE_NON_EDID	    4
+# define DP_DP_PORT_TYPE_DP_DUALMODE        5
+# define DP_DS_PORT_TYPE_WIRELESS           6
 # define DP_DS_PORT_HPD			    (1 << 3)
 /* offset 1 for VGA is maximum megapixels per second / 8 */
 /* offset 2 */