[PATCH v4 1/3] drm/uapi: Add USB connector type
Daniel Vetter
daniel at ffwll.ch
Wed Jan 20 17:42:45 UTC 2021
On Wed, Jan 20, 2021 at 6:10 PM Noralf Trønnes <noralf at tronnes.org> wrote:
>
> Add a connector type for USB connected display panels.
>
> Signed-off-by: Noralf Trønnes <noralf at tronnes.org>
> ---
> include/uapi/drm/drm_mode.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
> index fed66a03c7ae..33024cc5d26e 100644
> --- a/include/uapi/drm/drm_mode.h
> +++ b/include/uapi/drm/drm_mode.h
> @@ -367,6 +367,7 @@ enum drm_mode_subconnector {
> #define DRM_MODE_CONNECTOR_DPI 17
> #define DRM_MODE_CONNECTOR_WRITEBACK 18
> #define DRM_MODE_CONNECTOR_SPI 19
> +#define DRM_MODE_CONNECTOR_USB 20
Beware, new connector types have in the past resulted in userspace
burning&crashing. Maybe it's become better ...
Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
>
> /**
> * struct drm_mode_get_connector - Get connector metadata.
> --
> 2.23.0
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the dri-devel
mailing list