[PATCH v4 1/3] drm/uapi: Add USB connector type
Thomas Zimmermann
tzimmermann at suse.de
Thu Jan 21 07:45:21 UTC 2021
Hi Noralf,
glad to hear from you! Welcome back!
Am 20.01.21 um 18:42 schrieb Daniel Vetter:
> 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
I would not call it USB. I could imagine that at some point a generic
USB protocol could serve simple displays (i.e. in the sense of USB HID
or data or imaging). (Maybe Thunderbold already counts.) Anyway, USB
should be reserved for this case.
Best regards
Thomas
>
> 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
>
>
>
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20210121/d718f9fc/attachment.sig>
More information about the dri-devel
mailing list