mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-21 06:46:46 -04:00
Enable parsing of TILE info for DRM backend
This commit is contained in:
parent
3a685b10b6
commit
21fecd6015
6 changed files with 59 additions and 1 deletions
|
|
@ -1326,6 +1326,12 @@ void scan_drm_connectors(struct wlr_drm_backend *drm,
|
|||
parse_edid(&wlr_conn->output, edid_len, edid);
|
||||
free(edid);
|
||||
|
||||
size_t tile_len = 0;
|
||||
uint8_t *tile = get_drm_prop_blob(drm->fd,
|
||||
wlr_conn->id, wlr_conn->props.tile, &tile_len);
|
||||
parse_tile(&wlr_conn->output, tile_len, tile);
|
||||
free(tile);
|
||||
|
||||
char *subconnector = NULL;
|
||||
if (wlr_conn->props.subconnector) {
|
||||
subconnector = get_drm_prop_enum(drm->fd,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue