mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-24 08:02:21 +00:00
backend/session: log when loading WLR_DRM_DEVICES
It may not be obvious in the logs when the user specifies an explicit fixed list of KMS devices to open.
This commit is contained in:
parent
213bd88b4c
commit
2504ca929f
@ -448,6 +448,7 @@ ssize_t wlr_session_find_gpus(struct wlr_session *session,
|
|||||||
size_t ret_len, struct wlr_device **ret) {
|
size_t ret_len, struct wlr_device **ret) {
|
||||||
const char *explicit = getenv("WLR_DRM_DEVICES");
|
const char *explicit = getenv("WLR_DRM_DEVICES");
|
||||||
if (explicit) {
|
if (explicit) {
|
||||||
|
wlr_log(WLR_INFO, "Opening fixed list of KMS devices from WLR_DRM_DEVICES: %s", explicit);
|
||||||
return explicit_find_gpus(session, ret_len, ret, explicit);
|
return explicit_find_gpus(session, ret_len, ret, explicit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user