From 9cd3f03f652fc7ee905001e09dafa40b72e1317d Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 17 Dec 2020 20:48:47 +0100 Subject: backend/drm: add wlr_drm_backend.name Save the DRM device name in a wlr_drm_backend field, so that we can easily use it for logging purposes. --- include/backend/drm/drm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/backend') diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index e8b1198f..ea3cdbd4 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -75,6 +75,7 @@ struct wlr_drm_backend { bool addfb2_modifiers; int fd; + char *name; struct wlr_device *dev; size_t num_crtcs; -- cgit v1.2.3