From 993920dd817389b2eb3d8356faf96005241a831f Mon Sep 17 00:00:00 2001 From: Leandro Ribeiro Date: Mon, 14 Sep 2020 17:01:01 -0300 Subject: [PATCH] drm-backend: rename drm_backend_update_heads() to drm_backend_update_connectors() To deal with appearing/disappearing connectors we have the function drm_backend_update_heads(). Rename it to drm_backend_update_connectors(), as it is more in line with what it does. Signed-off-by: Leandro Ribeiro --- libweston/backend-drm/drm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libweston/backend-drm/drm.c b/libweston/backend-drm/drm.c index 93c61f84..e0feb9d2 100644 --- a/libweston/backend-drm/drm.c +++ b/libweston/backend-drm/drm.c @@ -2266,7 +2266,7 @@ drm_backend_create_heads(struct drm_backend *b, struct udev_device *drm_device) } static void -drm_backend_update_heads(struct drm_backend *b, struct udev_device *drm_device) +drm_backend_update_connectors(struct drm_backend *b, struct udev_device *drm_device) { drmModeRes *resources; drmModeConnector *conn; @@ -2430,7 +2430,7 @@ udev_drm_event(int fd, uint32_t mask, void *data) if (udev_event_is_conn_prop_change(b, event, &conn_id, &prop_id)) drm_backend_update_conn_props(b, conn_id, prop_id); else - drm_backend_update_heads(b, event); + drm_backend_update_connectors(b, event); } udev_device_unref(event);