mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-04 20:55:58 +01:00
backend/drm: add new writeback and SPI connector types
We already depend on libdrm 2.4.95, which is the first to have the writeback connector type.
This commit is contained in:
parent
e6f6e1ad0a
commit
a02da8e6f6
1 changed files with 3 additions and 1 deletions
|
@ -163,8 +163,10 @@ const char *conn_get_name(uint32_t type_id) {
|
|||
case DRM_MODE_CONNECTOR_eDP: return "eDP";
|
||||
case DRM_MODE_CONNECTOR_VIRTUAL: return "Virtual";
|
||||
case DRM_MODE_CONNECTOR_DSI: return "DSI";
|
||||
#ifdef DRM_MODE_CONNECTOR_DPI
|
||||
case DRM_MODE_CONNECTOR_DPI: return "DPI";
|
||||
case DRM_MODE_CONNECTOR_WRITEBACK: return "Writeback";
|
||||
#ifdef DRM_MODE_CONNECTOR_SPI
|
||||
case DRM_MODE_CONNECTOR_SPI: return "SPI";
|
||||
#endif
|
||||
default: return "Unknown";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue