diff options
author | Simon Ser <contact@emersion.fr> | 2021-07-21 08:47:35 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-07-21 08:47:35 +0200 |
commit | 66c42f4fcb77724d9b19829eeb0c66fe4771f2db (patch) | |
tree | 1c1b026d61aa1c7a96cdf919ebfcc1fc79d88c92 /backend/drm | |
parent | cc8bc0db20659fde7ce94684bf6abcf172218ab6 (diff) |
backend/drm: add DRM_MODE_CONNECTOR_USB to conn_get_name
See 757e26712337 ("drm/uapi: Add USB connector type") in the kernel
tree.
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/drm/util.c b/backend/drm/util.c index 86dc1517..69748fcf 100644 --- a/backend/drm/util.c +++ b/backend/drm/util.c @@ -168,6 +168,9 @@ const char *conn_get_name(uint32_t type_id) { #ifdef DRM_MODE_CONNECTOR_SPI case DRM_MODE_CONNECTOR_SPI: return "SPI"; #endif +#ifdef DRM_MODE_CONNECTOR_USB + case DRM_MODE_CONNECTOR_USB: return "USB"; +#endif default: return "Unknown"; } } |