backend/drm: rename wlr_drm_backend.outputs to connectors

This list contains wlr_drm_connector entries, and there is no
guarantee that the wlr_output fields are initialized.
This commit is contained in:
Simon Ser 2022-12-06 18:50:53 +01:00 committed by Simon Zeni
parent 2c042566eb
commit 99fb2fefc3
3 changed files with 23 additions and 23 deletions

View file

@ -75,7 +75,7 @@ struct wlr_drm_backend {
struct wl_listener dev_remove;
struct wl_list fbs; // wlr_drm_fb.link
struct wl_list outputs;
struct wl_list connectors; // wlr_drm_connector.link
/* Only initialized on multi-GPU setups */
struct wlr_drm_renderer mgpu_renderer;
@ -122,7 +122,7 @@ struct wlr_drm_connector {
/* Buffer to be submitted to the kernel on the next page-flip */
struct wlr_drm_fb *cursor_pending_fb;
struct wl_list link;
struct wl_list link; // wlr_drm_backend.connectors
/* CRTC ID if a page-flip is pending, zero otherwise.
*