mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 11:55:59 +01:00
backend/drm: add DRM_MODE_CONNECTOR_USB to conn_get_name
See 757e26712337 ("drm/uapi: Add USB connector type") in the kernel tree.
This commit is contained in:
parent
cc8bc0db20
commit
66c42f4fcb
1 changed files with 3 additions and 0 deletions
|
@ -167,6 +167,9 @@ const char *conn_get_name(uint32_t type_id) {
|
||||||
case DRM_MODE_CONNECTOR_WRITEBACK: return "Writeback";
|
case DRM_MODE_CONNECTOR_WRITEBACK: return "Writeback";
|
||||||
#ifdef DRM_MODE_CONNECTOR_SPI
|
#ifdef DRM_MODE_CONNECTOR_SPI
|
||||||
case DRM_MODE_CONNECTOR_SPI: return "SPI";
|
case DRM_MODE_CONNECTOR_SPI: return "SPI";
|
||||||
|
#endif
|
||||||
|
#ifdef DRM_MODE_CONNECTOR_USB
|
||||||
|
case DRM_MODE_CONNECTOR_USB: return "USB";
|
||||||
#endif
|
#endif
|
||||||
default: return "Unknown";
|
default: return "Unknown";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue